Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Airflow.Multizone.Examples.NaturalVentilation.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.NaturalVentilation,fileNamePrefix="IDEAS_IDEAS_Airflow_Multizone_Examples_NaturalVentilation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Airflow.Multizone.Examples.NaturalVentilation,fileNamePrefix="IDEAS_IDEAS_Airflow_Multizone_Examples_NaturalVentilation",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.00545/0.00545, allocations: 102.8 kB / 15.73 MB, free: 6.035 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.001206/0.001206, allocations: 196.4 kB / 16.68 MB, free: 5.957 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.267/1.267, 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.7441/0.7441, allocations: 132.2 MB / 422.7 MB, free: 6.562 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001147/0.001147, allocations: 56.56 kB / 0.5808 GB, free: 24.01 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1362/0.1373, allocations: 80.21 MB / 0.6592 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.NaturalVentilation): time 0.5463/0.6837, allocations: 202 MB / 0.8564 GB, free: 10.09 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.0101/0.6938, allocations: 7.374 MB / 0.8636 GB, free: 4.082 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001147/0.695, allocations: 37.09 kB / 0.8636 GB, free: 4.07 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001605/0.6966, allocations: 0.6968 MB / 0.8643 GB, free: 3.5 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.005707/0.7024, allocations: 2.394 MB / 0.8666 GB, free: 1.652 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002736/0.7051, allocations: 1.241 MB / 0.8679 GB, free: 0.5 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.003414/0.7086, allocations: 2.911 MB / 0.8707 GB, free: 13.58 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001101/0.7097, allocations: 0.9577 MB / 0.8716 GB, free: 12.61 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001398/0.7111, allocations: 1.039 MB / 0.8727 GB, free: 11.56 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001515/0.7126, allocations: 0.9593 MB / 0.8736 GB, free: 10.61 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001473/0.7128, allocations: 112 kB / 0.8737 GB, free: 10.5 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004043/0.7168, allocations: 2.128 MB / 0.8758 GB, free: 8.367 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0004623/0.7173, allocations: 454.8 kB / 0.8762 GB, free: 7.922 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0007618/0.7181, allocations: 0.665 MB / 0.8769 GB, free: 7.254 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.003441/0.7215, allocations: 2.404 MB / 0.8792 GB, free: 4.844 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 6.062e-06/0.7215, allocations: 0 / 0.8792 GB, free: 4.844 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.312e-06/0.7215, allocations: 3.938 kB / 0.8792 GB, free: 4.84 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.348e-05/0.7216, allocations: 0 / 0.8792 GB, free: 4.84 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 214 * Number of variables: 214 Notification: Performance of Generate backend data structure: time 0.00295/0.7245, allocations: 1.628 MB / 0.8808 GB, free: 3.156 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.116e-05/0.7246, allocations: 8.031 kB / 0.8808 GB, free: 3.148 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001454/0.7247, allocations: 135.3 kB / 0.8809 GB, free: 3.008 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002352/0.7271, allocations: 378.2 kB / 0.8813 GB, free: 2.637 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001277/0.7284, allocations: 0.8512 MB / 0.8821 GB, free: 1.742 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.401e-05/0.7284, allocations: 66 kB / 0.8822 GB, free: 1.68 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001351/0.7286, allocations: 84 kB / 0.8823 GB, free: 1.598 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001552/0.7301, allocations: 1.046 MB / 0.8833 GB, free: 0.5156 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.826e-05/0.7302, allocations: 11.84 kB / 0.8833 GB, free: 0.5039 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.085e-05/0.7302, allocations: 32 kB / 0.8833 GB, free: 484 kB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.449e-05/0.7303, allocations: 45.98 kB / 0.8834 GB, free: 440 kB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001387/0.7317, allocations: 0.8744 MB / 0.8842 GB, free: 15.55 MB / 0.6544 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.004334/0.736, allocations: 4.28 MB / 0.8884 GB, free: 10.92 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009714/0.737, allocations: 0.6827 MB / 0.8891 GB, free: 10.23 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007185/0.7378, allocations: 466.9 kB / 0.8895 GB, free: 9.773 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005711/0.7383, allocations: 0.6693 MB / 0.8902 GB, free: 8.957 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.044e-05/0.7384, allocations: 51 kB / 0.8902 GB, free: 8.898 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=70): time 3.406e-06/0.7384, allocations: 0 / 0.8902 GB, free: 8.898 MB / 0.6544 GB Notification: Performance of matching and sorting (n=70): time 0.001711/0.7401, allocations: 0.9938 MB / 0.8912 GB, free: 7.898 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.066e-05/0.7402, allocations: 63.91 kB / 0.8913 GB, free: 7.824 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006707/0.7408, allocations: 0.6334 MB / 0.8919 GB, free: 7.184 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 5.592e-05/0.7409, allocations: 41.7 kB / 0.8919 GB, free: 7.137 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002666/0.7412, allocations: 432.1 kB / 0.8923 GB, free: 6.707 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.000193/0.7414, allocations: 248.3 kB / 0.8926 GB, free: 6.461 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001721/0.7416, allocations: 122.2 kB / 0.8927 GB, free: 6.336 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001501/0.7417, allocations: 390.8 kB / 0.8931 GB, free: 5.945 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004146/0.7421, allocations: 273.2 kB / 0.8933 GB, free: 5.68 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004705/0.7426, allocations: 366.7 kB / 0.8937 GB, free: 5.293 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009238/0.7435, allocations: 0.6587 MB / 0.8943 GB, free: 4.613 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.7435, allocations: 0 / 0.8943 GB, free: 4.613 MB / 0.6544 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001144/0.7447, allocations: 0.793 MB / 0.8951 GB, free: 3.812 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.591e-05/0.7447, allocations: 8 kB / 0.8951 GB, free: 3.805 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.612e-06/0.7447, allocations: 0 / 0.8951 GB, free: 3.805 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.031e-05/0.7448, allocations: 4 kB / 0.8951 GB, free: 3.801 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006156/0.7454, allocations: 147.7 kB / 0.8952 GB, free: 3.656 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.115e-05/0.7454, allocations: 8 kB / 0.8952 GB, free: 3.648 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006713/0.7461, allocations: 48 kB / 0.8953 GB, free: 3.602 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.371e-05/0.7461, allocations: 28.17 kB / 0.8953 GB, free: 3.574 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (82): * Single equations (assignments): 82 * 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.0003527/0.7465, allocations: 293.5 kB / 0.8956 GB, free: 3.277 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001331/0.7466, allocations: 82.97 kB / 0.8957 GB, free: 3.195 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001311/0.7479, allocations: 0.7958 MB / 0.8965 GB, free: 2.391 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.02e-05/0.748, allocations: 11.98 kB / 0.8965 GB, free: 2.379 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.748, allocations: 0 / 0.8965 GB, free: 2.379 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001076/0.7491, allocations: 0.8153 MB / 0.8973 GB, free: 1.512 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002561/0.7516, allocations: 1.845 MB / 0.8991 GB, free: 15.61 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/0.7516, allocations: 0 / 0.8991 GB, free: 15.61 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008027/0.7525, allocations: 171.8 kB / 0.8992 GB, free: 15.44 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.803e-06/0.7525, allocations: 8 kB / 0.8992 GB, free: 15.43 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.579e-05/0.7525, allocations: 12 kB / 0.8992 GB, free: 15.42 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.479e-06/0.7525, allocations: 4 kB / 0.8992 GB, free: 15.42 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.7525, allocations: 0 / 0.8992 GB, free: 15.42 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001697/0.7542, allocations: 1.275 MB / 0.9005 GB, free: 14.12 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003192/0.7546, allocations: 240 kB / 0.9007 GB, free: 13.87 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000112/0.7547, allocations: 25.11 kB / 0.9007 GB, free: 13.85 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005904/0.7553, allocations: 22.81 kB / 0.9008 GB, free: 13.83 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001558/0.7555, allocations: 40.5 kB / 0.9008 GB, free: 13.79 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.745e-05/0.7555, allocations: 27.98 kB / 0.9008 GB, free: 13.76 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0005152/0.756, allocations: 455 kB / 0.9013 GB, free: 13.32 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.863e-06/0.756, allocations: 0 / 0.9013 GB, free: 13.32 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0008017/0.7568, allocations: 347 kB / 0.9016 GB, free: 12.98 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (volA.dynBal.U,volA.dynBal.m,volA.dynBal.mXi[1],oriOutBot.mExc,oriOutTop.mExc,volOut.dynBal.U,volOut.dynBal.m,volOut.dynBal.mXi[1]) * 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 (70): * Single equations (assignments): 70 * 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 Backend phase and start with SimCode phase: time 0.002117/0.759, allocations: 1.919 MB / 0.9035 GB, free: 11.04 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001044/0.76, allocations: 0.6798 MB / 0.9041 GB, free: 10.36 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.76, allocations: 4.125 kB / 0.9041 GB, free: 10.36 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0004947/0.7605, allocations: 367 kB / 0.9045 GB, free: 9.996 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002003/0.7626, allocations: 0.5488 MB / 0.905 GB, free: 9.473 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009167/0.7717, allocations: 6.9 MB / 0.9118 GB, free: 2.414 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006861/0.7725, allocations: 1.085 MB / 0.9128 GB, free: 1.297 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0008857/0.7734, allocations: 227.2 kB / 0.913 GB, free: 1.07 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000516/0.7739, allocations: 363.3 kB / 0.9134 GB, free: 0.7148 MB / 0.67 GB Notification: Performance of SimCode: time 7.41e-07/0.7739, allocations: 7.938 kB / 0.9134 GB, free: 0.707 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05166/0.8256, allocations: 25.77 MB / 0.9386 GB, free: 7.242 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.241/9.067, allocations: 14.12 kB / 0.9386 GB, free: 7.23 MB / 0.7012 GB (rm -f IDEAS_IDEAS.Airflow.Multizone.Examples.NaturalVentilation.pipe ; mkfifo IDEAS_IDEAS.Airflow.Multizone.Examples.NaturalVentilation.pipe ; head -c 1048576 < IDEAS_IDEAS.Airflow.Multizone.Examples.NaturalVentilation.pipe >> ../files/IDEAS_IDEAS.Airflow.Multizone.Examples.NaturalVentilation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Airflow_Multizone_Examples_NaturalVentilation_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Airflow_Multizone_Examples_NaturalVentilation.fmu > IDEAS_IDEAS.Airflow.Multizone.Examples.NaturalVentilation.pipe 2>&1)