Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS_Airflow_Multizone_Examples_ClosedDoors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Airflow.Multizone.Examples.ClosedDoors,fileNamePrefix="IDEAS_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.005145/0.005145, allocations: 99.83 kB / 15.73 MB, free: 6.012 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001237/0.001237, allocations: 193.5 kB / 16.67 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.276/1.276, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.756/0.756, allocations: 132.2 MB / 422.7 MB, free: 6.539 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001154/0.001154, allocations: 62.94 kB / 0.5809 GB, free: 24.21 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1434/0.1446, allocations: 80.21 MB / 0.6592 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.ClosedDoors): time 0.5749/0.7196, allocations: 218.5 MB / 0.8725 GB, free: 11.66 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.0238/0.7434, allocations: 20.41 MB / 0.8925 GB, free: 7.195 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003021/0.7465, allocations: 55.75 kB / 0.8925 GB, free: 7.141 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.003241/0.7498, allocations: 1.306 MB / 0.8938 GB, free: 5.828 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.01096/0.7608, allocations: 4.192 MB / 0.8979 GB, free: 1.621 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.00366/0.7644, allocations: 1.556 MB / 0.8994 GB, free: 72 kB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.007146/0.7716, allocations: 6.96 MB / 0.9062 GB, free: 9.086 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002683/0.7743, allocations: 2.372 MB / 0.9085 GB, free: 6.668 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00358/0.7779, allocations: 2.438 MB / 0.9109 GB, free: 4.223 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003682/0.7816, allocations: 2.447 MB / 0.9133 GB, free: 1.777 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0004528/0.7821, allocations: 340 kB / 0.9136 GB, free: 1.445 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006539/0.7886, allocations: 3.489 MB / 0.917 GB, free: 13.95 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.001265/0.7899, allocations: 1.457 MB / 0.9185 GB, free: 12.49 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.00212/0.792, allocations: 1.863 MB / 0.9203 GB, free: 10.62 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.00706/0.7991, allocations: 5.788 MB / 0.9259 GB, free: 4.816 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.7991, allocations: 4 kB / 0.9259 GB, free: 4.812 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.904e-06/0.7991, allocations: 0 / 0.9259 GB, free: 4.812 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 5.51e-05/0.7992, allocations: 0 / 0.9259 GB, free: 4.812 MB / 0.6856 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.008451/0.8076, allocations: 4.037 MB / 0.9299 GB, free: 0.707 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.355e-05/0.8077, allocations: 20.02 kB / 0.9299 GB, free: 0.6875 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004166/0.8081, allocations: 383.8 kB / 0.9303 GB, free: 312 kB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004618/0.8127, allocations: 0.8448 MB / 0.9311 GB, free: 15.46 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003458/0.8162, allocations: 1.935 MB / 0.933 GB, free: 13.46 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001213/0.8163, allocations: 209.4 kB / 0.9332 GB, free: 13.26 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003773/0.8167, allocations: 272 kB / 0.9334 GB, free: 12.99 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004735/0.8215, allocations: 3.279 MB / 0.9366 GB, free: 9.672 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.673e-05/0.8215, allocations: 7.953 kB / 0.9366 GB, free: 9.664 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002499/0.8218, allocations: 115.9 kB / 0.9368 GB, free: 9.551 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001013/0.8219, allocations: 121.4 kB / 0.9369 GB, free: 9.43 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00621/0.8281, allocations: 4.612 MB / 0.9414 GB, free: 4.805 MB / 0.7012 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.01386/0.842, allocations: 10.92 MB / 0.952 GB, free: 9.207 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005418/0.8474, allocations: 4.87 MB / 0.9568 GB, free: 4.309 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003298/0.8507, allocations: 2.528 MB / 0.9593 GB, free: 1.773 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009902/0.8517, allocations: 0.8643 MB / 0.9601 GB, free: 0.7422 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.701e-05/0.8518, allocations: 77.7 kB / 0.9602 GB, free: 0.6562 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=399): time 6.382e-06/0.8518, allocations: 0 / 0.9602 GB, free: 0.6562 MB / 0.7169 GB Notification: Performance of matching and sorting (n=399): time 0.009065/0.8609, allocations: 6.024 MB / 0.9661 GB, free: 10.54 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.831e-05/0.861, allocations: 98.48 kB / 0.9662 GB, free: 10.43 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001602/0.8626, allocations: 1.232 MB / 0.9674 GB, free: 9.195 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0002133/0.8628, allocations: 97.7 kB / 0.9675 GB, free: 9.094 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005205/0.8633, allocations: 0.8191 MB / 0.9683 GB, free: 8.266 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.001015/0.8644, allocations: 1.402 MB / 0.9696 GB, free: 6.855 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007502/0.8651, allocations: 0.547 MB / 0.9702 GB, free: 6.301 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 8.127e-05/0.8652, allocations: 301.1 kB / 0.9704 GB, free: 6.004 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002289/0.8675, allocations: 1.603 MB / 0.972 GB, free: 4.398 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002685/0.8702, allocations: 1.919 MB / 0.9739 GB, free: 2.426 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005487/0.8757, allocations: 3.834 MB / 0.9776 GB, free: 14.53 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.128e-05/0.8757, allocations: 4 kB / 0.9776 GB, free: 14.52 MB / 0.7481 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.006457/0.8822, allocations: 4.2 MB / 0.9817 GB, free: 10.3 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.763e-05/0.8822, allocations: 11.94 kB / 0.9818 GB, free: 10.29 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.7e-05/0.8822, allocations: 4 kB / 0.9818 GB, free: 10.29 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.877e-05/0.8823, allocations: 16 kB / 0.9818 GB, free: 10.27 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002816/0.8851, allocations: 0.6869 MB / 0.9824 GB, free: 9.582 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.644e-05/0.8852, allocations: 16 kB / 0.9825 GB, free: 9.566 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002499/0.8877, allocations: 254 kB / 0.9827 GB, free: 9.316 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002477/0.8879, allocations: 116 kB / 0.9828 GB, free: 9.203 MB / 0.7481 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.001294/0.8892, allocations: 0.7312 MB / 0.9835 GB, free: 8.461 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006971/0.8899, allocations: 250.5 kB / 0.9838 GB, free: 8.215 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007668/0.8976, allocations: 4.617 MB / 0.9883 GB, free: 3.555 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.886e-05/0.8977, allocations: 36 kB / 0.9883 GB, free: 3.52 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.642e-05/0.8977, allocations: 4 kB / 0.9883 GB, free: 3.516 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005875/0.9036, allocations: 3.954 MB / 0.9922 GB, free: 15.5 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01368/0.9173, allocations: 8.27 MB / 1 GB, free: 7.148 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.033e-05/0.9173, allocations: 0 / 1 GB, free: 7.148 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002916/0.9202, allocations: 0.6709 MB / 1.001 GB, free: 6.477 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004994/0.9208, allocations: 134.5 kB / 1.001 GB, free: 6.336 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002815/0.9211, allocations: 83.98 kB / 1.001 GB, free: 6.254 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003904/0.925, allocations: 5.084 MB / 1.006 GB, free: 0.7539 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.925, allocations: 0 / 1.006 GB, free: 0.7539 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01018/0.9352, allocations: 7.039 MB / 1.013 GB, free: 9.66 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001828/0.937, allocations: 0.7758 MB / 1.014 GB, free: 8.863 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005216/0.9376, allocations: 64 kB / 1.014 GB, free: 8.801 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002115/0.9397, allocations: 93.52 kB / 1.014 GB, free: 8.715 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003928/0.9401, allocations: 226.8 kB / 1.014 GB, free: 8.492 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002469/0.9403, allocations: 112 kB / 1.014 GB, free: 8.383 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.001345/0.9417, allocations: 0.8645 MB / 1.015 GB, free: 7.516 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.91e-07/0.9417, allocations: 0 / 1.015 GB, free: 7.516 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.002516/0.9442, allocations: 1.073 MB / 1.016 GB, free: 6.441 MB / 0.7794 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.01047/0.9547, allocations: 7.838 MB / 1.024 GB, free: 14.54 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.005981/0.9607, allocations: 4.055 MB / 1.028 GB, free: 10.47 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 5.029e-06/0.9607, allocations: 8.062 kB / 1.028 GB, free: 10.46 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.00344/0.9642, allocations: 2.548 MB / 1.03 GB, free: 7.875 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005377/0.9696, allocations: 1.087 MB / 1.031 GB, free: 6.824 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3439/1.313, allocations: 23.04 MB / 1.054 GB, free: 312.4 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001762/1.315, allocations: 1.936 MB / 1.056 GB, free: 311.7 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.003535/1.319, allocations: 1.213 MB / 1.057 GB, free: 311.6 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001651/1.321, allocations: 1.083 MB / 1.058 GB, free: 311.6 MB / 0.8106 GB Notification: Performance of SimCode: time 8.71e-07/1.321, allocations: 2.938 kB / 1.058 GB, free: 311.6 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1044/1.425, allocations: 66.81 MB / 1.123 GB, free: 267.1 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.94/15.37, allocations: 11.98 kB / 1.123 GB, free: 267.1 MB / 0.8106 GB (rm -f IDEAS_IDEAS.Airflow.Multizone.Examples.ClosedDoors.pipe ; mkfifo IDEAS_IDEAS.Airflow.Multizone.Examples.ClosedDoors.pipe ; head -c 1048576 < IDEAS_IDEAS.Airflow.Multizone.Examples.ClosedDoors.pipe >> ../files/IDEAS_IDEAS.Airflow.Multizone.Examples.ClosedDoors.sim & python3 -m fmpy simulate --output-file IDEAS_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_IDEAS_Airflow_Multizone_Examples_ClosedDoors.fmu > IDEAS_IDEAS.Airflow.Multizone.Examples.ClosedDoors.pipe 2>&1)