Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Airflow.Multizone.Examples.ChimneyShaftNoVolume.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Airflow.Multizone.Examples.ChimneyShaftNoVolume,fileNamePrefix="IDEAS_IDEAS_Airflow_Multizone_Examples_ChimneyShaftNoVolume",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Airflow.Multizone.Examples.ChimneyShaftNoVolume,fileNamePrefix="IDEAS_IDEAS_Airflow_Multizone_Examples_ChimneyShaftNoVolume",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001414/0.001414, allocations: 174.5 kB / 7.647 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.808/0.808, allocations: 133.6 MB / 141.6 MB, free: 2.875 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.428/1.428, allocations: 221.5 MB / 395.4 MB, free: 10.79 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000923/0.0009233, allocations: 96.05 kB / 478.2 MB, free: 1.328 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.933e-05/2.96e-05, allocations: 0 / 0.5535 GB, free: 8.984 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.449/0.4491, allocations: 82.31 MB / 0.6339 GB, free: 40.74 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9335/1.383, allocations: 422.7 MB / 1.047 GB, free: 10.89 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004113/1.383, allocations: 90.52 kB / 1.047 GB, free: 10.85 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 1.599/2.983, allocations: 334.1 MB / 1.373 GB, free: 145.8 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.803e-06/2.983, allocations: 2.938 kB / 1.373 GB, free: 145.8 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001667/2.983, allocations: 31.02 kB / 1.373 GB, free: 145.8 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 195 * Number of variables: 195 Notification: Performance of Generate backend data structure: time 0.003294/2.986, allocations: 1.321 MB / 1.374 GB, free: 145.3 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.478e-05/2.986, allocations: 10.31 kB / 1.374 GB, free: 145.3 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006479/2.987, allocations: 142.5 kB / 1.374 GB, free: 145.2 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002412/2.989, allocations: 0.9675 MB / 1.375 GB, free: 144.9 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.02e-05/2.989, allocations: 27.31 kB / 1.375 GB, free: 144.9 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001745/2.99, allocations: 48.47 kB / 1.375 GB, free: 144.9 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009351/2.99, allocations: 0.5229 MB / 1.376 GB, free: 144.9 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001017/2.992, allocations: 0.7104 MB / 1.377 GB, free: 144.8 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.978e-05/2.992, allocations: 12.75 kB / 1.377 GB, free: 144.8 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.07e-05/2.992, allocations: 3.906 kB / 1.377 GB, free: 144.8 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.509e-05/2.992, allocations: 18.44 kB / 1.377 GB, free: 144.8 MB / 0.6823 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003983/2.996, allocations: 3.621 MB / 1.38 GB, free: 142.9 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007414/2.996, allocations: 0.4952 MB / 1.381 GB, free: 142.9 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003118/2.997, allocations: 254.5 kB / 1.381 GB, free: 142.9 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007506/2.997, allocations: 1.245 MB / 1.382 GB, free: 141.5 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004203/2.998, allocations: 292.8 kB / 1.382 GB, free: 141.4 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=63): time 2.786e-06/2.998, allocations: 0 / 1.382 GB, free: 141.4 MB / 0.6823 GB Notification: Performance of matching and sorting (n=63): time 0.001522/2.999, allocations: 0.6286 MB / 1.383 GB, free: 141.3 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.563e-05/3, allocations: 84.27 kB / 1.383 GB, free: 141.2 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006912/3, allocations: 0.6401 MB / 1.384 GB, free: 141.1 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 4.589e-05/3, allocations: 32.86 kB / 1.384 GB, free: 141.1 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002905/3.001, allocations: 470 kB / 1.384 GB, free: 140.9 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001548/3.001, allocations: 212.2 kB / 1.384 GB, free: 140.8 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.702e-05/3.001, allocations: 6.906 kB / 1.385 GB, free: 140.8 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 7.021e-05/3.001, allocations: 332.5 kB / 1.385 GB, free: 140.5 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000236/3.001, allocations: 178.7 kB / 1.385 GB, free: 140.5 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003017/3.001, allocations: 305.2 kB / 1.385 GB, free: 140.4 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007105/3.002, allocations: 259.5 kB / 1.386 GB, free: 140.4 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/3.002, allocations: 0 / 1.386 GB, free: 140.4 MB / 0.6823 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001234/3.003, allocations: 0.6517 MB / 1.386 GB, free: 140.3 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001903/3.004, allocations: 0.8826 MB / 1.387 GB, free: 139.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.426e-06/3.004, allocations: 3.781 kB / 1.387 GB, free: 139.4 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002968/3.004, allocations: 78.19 kB / 1.387 GB, free: 139.4 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004438/3.004, allocations: 129.1 kB / 1.387 GB, free: 139.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005635/3.005, allocations: 0.6712 MB / 1.388 GB, free: 138.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006652/3.006, allocations: 85.31 kB / 1.388 GB, free: 138.8 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.997e-05/3.006, allocations: 25.22 kB / 1.388 GB, free: 138.8 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.024e-05/3.006, allocations: 4.969 kB / 1.388 GB, free: 138.8 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001128/3.007, allocations: 0.5355 MB / 1.389 GB, free: 138.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-06/3.007, allocations: 3.719 kB / 1.389 GB, free: 138.8 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001972/3.007, allocations: 81.48 kB / 1.389 GB, free: 138.8 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003904/3.007, allocations: 119.9 kB / 1.389 GB, free: 138.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004893/3.008, allocations: 0.6786 MB / 1.389 GB, free: 138.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005875/3.009, allocations: 67.09 kB / 1.389 GB, free: 138.2 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.319e-05/3.009, allocations: 28.61 kB / 1.389 GB, free: 138.2 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.mRoo_flow.nextTimeEvent,mRoo_flow.nextTimeEvent,$PRE.mRoo_flow.nextTimeEventScaled,mRoo_flow.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 7} Notification: Performance of prepare postOptimizeDAE: time 0.000158/3.009, allocations: 122 kB / 1.39 GB, free: 138.1 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001213/3.01, allocations: 0.6289 MB / 1.39 GB, free: 138 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001043/3.01, allocations: 88.12 kB / 1.39 GB, free: 138 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001744/3.012, allocations: 0.8819 MB / 1.391 GB, free: 137.9 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.441e-05/3.012, allocations: 10.34 kB / 1.391 GB, free: 137.9 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/3.012, allocations: 0 / 1.391 GB, free: 137.9 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001142/3.013, allocations: 0.8165 MB / 1.392 GB, free: 137.6 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002698/3.016, allocations: 1.711 MB / 1.394 GB, free: 137.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.322e-06/3.016, allocations: 0 / 1.394 GB, free: 137.2 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004997/3.016, allocations: 104.4 kB / 1.394 GB, free: 137.2 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004/3.017, allocations: 138.8 kB / 1.394 GB, free: 137.2 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.18e-05/3.017, allocations: 11 kB / 1.394 GB, free: 137.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007515/3.018, allocations: 1.264 MB / 1.395 GB, free: 136.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.428e-06/3.018, allocations: 5.625 kB / 1.395 GB, free: 136.2 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001761/3.019, allocations: 1.215 MB / 1.396 GB, free: 135.9 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004245/3.02, allocations: 265.3 kB / 1.397 GB, free: 135.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001151/3.02, allocations: 6.312 kB / 1.397 GB, free: 135.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005273/3.02, allocations: 51.94 kB / 1.397 GB, free: 135.8 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.575e-05/3.02, allocations: 53.16 kB / 1.397 GB, free: 135.8 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.02e-05/3.021, allocations: 26.09 kB / 1.397 GB, free: 135.8 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0005442/3.021, allocations: 0.5044 MB / 1.397 GB, free: 135.7 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.71e-07/3.021, allocations: 3.656 kB / 1.397 GB, free: 135.7 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001515/3.023, allocations: 0.599 MB / 1.398 GB, free: 135.5 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 5 (roo.dynBal.U,roo.dynBal.m,oriChiTop.mExc,oriBot.mExc,oriChiBot.mExc) * Number of discrete variables: 3 ($whenCondition1,mRoo_flow.nextTimeEvent,mRoo_flow.nextTimeEventScaled) * Number of discrete states: 2 (mRoo_flow.nextTimeEvent,mRoo_flow.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (63): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 9,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.003425/3.026, allocations: 2.678 MB / 1.4 GB, free: 134.5 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.00143/3.028, allocations: 0.86 MB / 1.401 GB, free: 134.5 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/3.028, allocations: 0 / 1.401 GB, free: 134.5 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0005257/3.028, allocations: 353.2 kB / 1.402 GB, free: 134.5 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0017/3.03, allocations: 367 kB / 1.402 GB, free: 134.5 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003262/3.033, allocations: 1.84 MB / 1.404 GB, free: 134 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004528/3.034, allocations: 1.09 MB / 1.405 GB, free: 133.2 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.00105/3.035, allocations: 277.1 kB / 1.405 GB, free: 133.2 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003918/3.035, allocations: 391.3 kB / 1.405 GB, free: 133.2 MB / 0.6823 GB Notification: Performance of SimCode: time 1.072e-06/3.035, allocations: 0 / 1.405 GB, free: 133.2 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05804/3.093, allocations: 28.78 MB / 1.433 GB, free: 132 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001531/3.093, allocations: 159.1 kB / 1.434 GB, free: 131.8 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.112/6.205, allocations: 0 / 1.434 GB, free: 131.8 MB / 0.6823 GB (rm -f IDEAS_IDEAS.Airflow.Multizone.Examples.ChimneyShaftNoVolume.pipe ; mkfifo IDEAS_IDEAS.Airflow.Multizone.Examples.ChimneyShaftNoVolume.pipe ; head -c 1048576 < IDEAS_IDEAS.Airflow.Multizone.Examples.ChimneyShaftNoVolume.pipe >> ../files/IDEAS_IDEAS.Airflow.Multizone.Examples.ChimneyShaftNoVolume.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Airflow_Multizone_Examples_ChimneyShaftNoVolume_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Airflow_Multizone_Examples_ChimneyShaftNoVolume.fmu > IDEAS_IDEAS.Airflow.Multizone.Examples.ChimneyShaftNoVolume.pipe 2>&1)