Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ClosedDoors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 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) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Airflow.Multizone.Examples.ClosedDoors,fileNamePrefix="IDEAS_dev_IDEAS_Airflow_Multizone_Examples_ClosedDoors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Airflow.Multizone.Examples.ClosedDoors,fileNamePrefix="IDEAS_dev_IDEAS_Airflow_Multizone_Examples_ClosedDoors",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001865/0.001865, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.003122/0.003122, allocations: 195.2 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.539/2.539, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.177/1.177, allocations: 135.1 MB / 425.5 MB, free: 11.95 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001451/0.001451, allocations: 60.94 kB / 0.5054 GB, free: 5.215 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1704/0.1719, allocations: 80.93 MB / 0.5845 GB, free: 4.445 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.ClosedDoors): time 0.6212/0.7932, allocations: 218.5 MB / 0.7978 GB, free: 2.238 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.05126/0.8446, allocations: 20.42 MB / 0.8178 GB, free: 13.77 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004682/0.8493, allocations: 59.75 kB / 0.8178 GB, free: 13.71 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.006341/0.8557, allocations: 1.239 MB / 0.819 GB, free: 12.46 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.02089/0.8767, allocations: 4.09 MB / 0.823 GB, free: 8.355 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.008041/0.8848, allocations: 1.531 MB / 0.8245 GB, free: 6.828 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.01413/0.8989, allocations: 6.961 MB / 0.8313 GB, free: 15.85 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005885/0.9048, allocations: 2.354 MB / 0.8336 GB, free: 13.45 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008321/0.9132, allocations: 2.36 MB / 0.8359 GB, free: 11.08 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008635/0.9219, allocations: 2.456 MB / 0.8383 GB, free: 8.629 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.002477/0.9244, allocations: 344 kB / 0.8386 GB, free: 8.293 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01605/0.9405, allocations: 3.461 MB / 0.842 GB, free: 4.824 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.004123/0.9447, allocations: 1.454 MB / 0.8434 GB, free: 3.367 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.006802/0.9515, allocations: 1.867 MB / 0.8453 GB, free: 1.492 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.02402/0.9756, allocations: 5.73 MB / 0.8509 GB, free: 11.75 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 9.167e-06/0.9757, allocations: 0 / 0.8509 GB, free: 11.75 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.294e-06/0.9757, allocations: 0 / 0.8509 GB, free: 11.75 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0002055/0.9759, allocations: 0 / 0.8509 GB, free: 11.75 MB / 0.67 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 697 * Number of variables: 697 Notification: Performance of Generate backend data structure: time 0.02286/0.9988, allocations: 3.949 MB / 0.8547 GB, free: 7.734 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 5.813e-05/0.9989, allocations: 8.031 kB / 0.8547 GB, free: 7.727 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001634/1.001, allocations: 387.8 kB / 0.8551 GB, free: 7.34 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01085/1.011, allocations: 0.8237 MB / 0.8559 GB, free: 6.512 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007908/1.019, allocations: 1.879 MB / 0.8577 GB, free: 4.574 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003467/1.02, allocations: 205.4 kB / 0.8579 GB, free: 4.371 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001455/1.021, allocations: 267.9 kB / 0.8582 GB, free: 4.109 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01455/1.036, allocations: 3.283 MB / 0.8614 GB, free: 0.7852 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001449/1.036, allocations: 0 / 0.8614 GB, free: 0.7852 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001681/1.038, allocations: 115.9 kB / 0.8615 GB, free: 0.6719 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002827/1.038, allocations: 129.4 kB / 0.8616 GB, free: 0.543 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2867/1.325, allocations: 4.606 MB / 0.8661 GB, free: 219.6 MB / 0.67 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.01615/1.341, allocations: 10.97 MB / 0.8768 GB, free: 213.5 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005601/1.347, allocations: 4.861 MB / 0.8816 GB, free: 211.2 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003292/1.35, allocations: 2.527 MB / 0.8841 GB, free: 210.3 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001174/1.351, allocations: 0.8639 MB / 0.8849 GB, free: 209.4 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.505e-05/1.351, allocations: 74.64 kB / 0.885 GB, free: 209.3 MB / 0.67 GB Notification: Performance of pre-optimization done (n=399): time 8.436e-06/1.351, allocations: 0 / 0.885 GB, free: 209.3 MB / 0.67 GB Notification: Performance of matching and sorting (n=399): time 0.01225/1.363, allocations: 6.019 MB / 0.8908 GB, free: 207 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.53e-05/1.364, allocations: 91.77 kB / 0.8909 GB, free: 206.9 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002269/1.366, allocations: 1.232 MB / 0.8921 GB, free: 206.4 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0004431/1.366, allocations: 93.3 kB / 0.8922 GB, free: 206.3 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006874/1.367, allocations: 0.8087 MB / 0.893 GB, free: 205.7 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.001417/1.368, allocations: 1.336 MB / 0.8943 GB, free: 204.7 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009171/1.369, allocations: 0.5474 MB / 0.8949 GB, free: 204.4 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 4.525e-05/1.369, allocations: 302.4 kB / 0.8951 GB, free: 204.1 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002938/1.372, allocations: 1.599 MB / 0.8967 GB, free: 203.6 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003217/1.376, allocations: 1.925 MB / 0.8986 GB, free: 202.8 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006022/1.382, allocations: 3.833 MB / 0.9023 GB, free: 201.1 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.788e-05/1.382, allocations: 1.125 kB / 0.9023 GB, free: 201.1 MB / 0.67 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.007186/1.389, allocations: 4.189 MB / 0.9064 GB, free: 199.6 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 3.028e-05/1.389, allocations: 6.875 kB / 0.9064 GB, free: 199.6 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.755e-05/1.389, allocations: 2.75 kB / 0.9064 GB, free: 199.6 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.711e-05/1.389, allocations: 17.88 kB / 0.9064 GB, free: 199.6 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003091/1.392, allocations: 0.6799 MB / 0.9071 GB, free: 199.5 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.711e-05/1.392, allocations: 21.72 kB / 0.9071 GB, free: 199.5 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002648/1.395, allocations: 246.2 kB / 0.9074 GB, free: 199.3 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002284/1.395, allocations: 115.8 kB / 0.9075 GB, free: 199.3 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (430): * Single equations (assignments): 430 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001249/1.396, allocations: 0.7311 MB / 0.9082 GB, free: 198.9 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005626/1.397, allocations: 238.4 kB / 0.9084 GB, free: 198.8 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007567/1.404, allocations: 4.626 MB / 0.9129 GB, free: 196.9 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.536e-05/1.404, allocations: 39.44 kB / 0.913 GB, free: 196.9 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.624e-05/1.405, allocations: 3.906 kB / 0.913 GB, free: 196.9 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006128/1.411, allocations: 3.951 MB / 0.9168 GB, free: 195.3 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0139/1.425, allocations: 8.267 MB / 0.9249 GB, free: 192.1 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.458e-05/1.425, allocations: 0 / 0.9249 GB, free: 192.1 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003229/1.428, allocations: 0.6638 MB / 0.9256 GB, free: 192 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005442/1.428, allocations: 150.8 kB / 0.9257 GB, free: 192 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003045/1.429, allocations: 82.36 kB / 0.9258 GB, free: 191.9 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003246/1.432, allocations: 5.077 MB / 0.9307 GB, free: 187 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/1.432, allocations: 0 / 0.9307 GB, free: 187 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01035/1.442, allocations: 7.015 MB / 0.9376 GB, free: 184.2 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001615/1.444, allocations: 0.763 MB / 0.9383 GB, free: 183.8 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000429/1.444, allocations: 68.17 kB / 0.9384 GB, free: 183.7 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002055/1.447, allocations: 92.06 kB / 0.9385 GB, free: 183.7 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005164/1.447, allocations: 226 kB / 0.9387 GB, free: 183.6 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002124/1.447, allocations: 107.3 kB / 0.9388 GB, free: 183.6 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001285/1.449, allocations: 0.8603 MB / 0.9396 GB, free: 183.3 MB / 0.67 GB Notification: Performance of sort global known variables: time 2e-07/1.449, allocations: 3.672 kB / 0.9396 GB, free: 183.3 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.002603/1.451, allocations: 1.07 MB / 0.9407 GB, free: 182.3 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 15 (dooAB.mExcAB,dooAB.mExcBA,volA.dynBal.U,volA.dynBal.m,volA.dynBal.mXi[1],volB.dynBal.U,volB.dynBal.m,volB.dynBal.mXi[1],volC.dynBal.U,volC.dynBal.m,volC.dynBal.mXi[1],dooAC.mExcAB,dooAC.mExcBA,dooBC.mExcAB,dooBC.mExcBA) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (393): * Single equations (assignments): 390 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0093/1.461, allocations: 7.811 MB / 0.9483 GB, free: 175.3 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0363/1.497, allocations: 11.49 MB / 0.9595 GB, free: 164.4 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 8.416e-06/1.497, allocations: 0 / 0.9595 GB, free: 164.4 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.006693/1.504, allocations: 2.548 MB / 0.962 GB, free: 161.8 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009724/1.513, allocations: 1.084 MB / 0.9631 GB, free: 160.8 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05571/1.569, allocations: 24.92 MB / 0.9874 GB, free: 134.7 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001261/1.57, allocations: 1.945 MB / 0.9893 GB, free: 132.7 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.00334/1.574, allocations: 1.212 MB / 0.9905 GB, free: 131.5 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001471/1.575, allocations: 1.085 MB / 0.9916 GB, free: 130.4 MB / 0.67 GB Notification: Performance of SimCode: time 1.333e-06/1.575, allocations: 4 kB / 0.9916 GB, free: 130.4 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1067/1.682, allocations: 66.24 MB / 1.056 GB, free: 64.73 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 24.15/25.83, allocations: 18.78 kB / 1.056 GB, free: 64.71 MB / 0.67 GB (rm -f IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ClosedDoors.pipe ; mkfifo IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ClosedDoors.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ClosedDoors.pipe >> ../files/IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ClosedDoors.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ClosedDoors_res.csv --start-time 0 --stop-time 7200 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 2.88 IDEAS_dev_IDEAS_Airflow_Multizone_Examples_ClosedDoors.fmu > IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ClosedDoors.pipe 2>&1)