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.005217/0.005217, allocations: 104.4 kB / 15.74 MB, free: 6.047 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.001274/0.001274, allocations: 193.6 kB / 16.67 MB, free: 5.961 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.263/1.263, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7399/0.7399, allocations: 132.2 MB / 422.7 MB, free: 6.574 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001399/0.0014, allocations: 68.83 kB / 0.5808 GB, free: 24.13 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1449/0.1464, allocations: 80.21 MB / 0.6592 GB, free: 10.88 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.NaturalVentilation): time 0.4952/0.6416, allocations: 201.9 MB / 0.8564 GB, free: 10.12 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01291/0.6545, allocations: 7.377 MB / 0.8636 GB, free: 4.121 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001721/0.6563, allocations: 34.06 kB / 0.8636 GB, free: 4.109 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.002062/0.6584, allocations: 0.6931 MB / 0.8643 GB, free: 3.543 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.006063/0.6645, allocations: 2.398 MB / 0.8666 GB, free: 1.691 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.00313/0.6676, allocations: 1.241 MB / 0.8679 GB, free: 0.5469 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.003867/0.6715, allocations: 2.91 MB / 0.8707 GB, free: 13.62 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001295/0.6728, allocations: 0.9539 MB / 0.8716 GB, free: 12.66 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00187/0.6747, allocations: 1.043 MB / 0.8727 GB, free: 11.61 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00161/0.6763, allocations: 0.9624 MB / 0.8736 GB, free: 10.65 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0002535/0.6766, allocations: 108 kB / 0.8737 GB, free: 10.55 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003871/0.6805, allocations: 2.128 MB / 0.8758 GB, free: 8.414 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0005501/0.681, allocations: 450.7 kB / 0.8762 GB, free: 7.973 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0009475/0.682, allocations: 0.6728 MB / 0.8769 GB, free: 7.297 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.004074/0.6861, allocations: 2.4 MB / 0.8792 GB, free: 4.891 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.708e-06/0.6861, allocations: 0 / 0.8792 GB, free: 4.891 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.363e-06/0.6861, allocations: 4 kB / 0.8792 GB, free: 4.887 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 4.987e-05/0.6862, allocations: 0 / 0.8792 GB, free: 4.887 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.003821/0.69, allocations: 1.624 MB / 0.8808 GB, free: 3.207 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.307e-05/0.69, allocations: 12.03 kB / 0.8808 GB, free: 3.195 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002378/0.6903, allocations: 135.3 kB / 0.8809 GB, free: 3.055 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002525/0.6928, allocations: 383 kB / 0.8813 GB, free: 2.68 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00177/0.6946, allocations: 0.8512 MB / 0.8821 GB, free: 1.785 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.123e-05/0.6947, allocations: 69.94 kB / 0.8822 GB, free: 1.719 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001728/0.6948, allocations: 87.98 kB / 0.8823 GB, free: 1.633 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001776/0.6966, allocations: 1.038 MB / 0.8833 GB, free: 0.5586 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.272e-05/0.6967, allocations: 7.906 kB / 0.8833 GB, free: 0.5508 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.557e-05/0.6968, allocations: 36 kB / 0.8833 GB, free: 0.5156 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.127e-05/0.6968, allocations: 41.98 kB / 0.8834 GB, free: 488 kB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001637/0.6985, allocations: 0.8783 MB / 0.8842 GB, free: 15.59 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.005087/0.7036, allocations: 4.276 MB / 0.8884 GB, free: 10.96 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001016/0.7046, allocations: 0.6878 MB / 0.8891 GB, free: 10.27 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007738/0.7054, allocations: 463 kB / 0.8895 GB, free: 9.816 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005808/0.706, allocations: 0.6693 MB / 0.8902 GB, free: 9 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.351e-05/0.706, allocations: 43.12 kB / 0.8902 GB, free: 8.949 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=70): time 2.144e-06/0.706, allocations: 0 / 0.8902 GB, free: 8.949 MB / 0.6544 GB Notification: Performance of matching and sorting (n=70): time 0.00191/0.7079, allocations: 0.9899 MB / 0.8912 GB, free: 7.953 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.709e-05/0.708, allocations: 67.91 kB / 0.8912 GB, free: 7.875 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008459/0.7088, allocations: 0.6334 MB / 0.8919 GB, free: 7.234 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 6.961e-05/0.7089, allocations: 45.64 kB / 0.8919 GB, free: 7.184 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003198/0.7092, allocations: 432.1 kB / 0.8923 GB, free: 6.754 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002453/0.7095, allocations: 252.3 kB / 0.8926 GB, free: 6.504 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002025/0.7097, allocations: 122.2 kB / 0.8927 GB, free: 6.379 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001582/0.7099, allocations: 382.8 kB / 0.893 GB, free: 5.996 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004602/0.7103, allocations: 277.2 kB / 0.8933 GB, free: 5.727 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005054/0.7109, allocations: 366.7 kB / 0.8937 GB, free: 5.34 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000985/0.7118, allocations: 0.6587 MB / 0.8943 GB, free: 4.66 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.337e-06/0.7119, allocations: 0 / 0.8943 GB, free: 4.66 MB / 0.6544 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001312/0.7132, allocations: 0.7932 MB / 0.8951 GB, free: 3.859 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.173e-05/0.7132, allocations: 8 kB / 0.8951 GB, free: 3.852 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.347e-06/0.7132, allocations: 0 / 0.8951 GB, free: 3.852 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.078e-05/0.7132, allocations: 4 kB / 0.8951 GB, free: 3.848 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006484/0.7139, allocations: 155.7 kB / 0.8952 GB, free: 3.695 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.568e-05/0.7139, allocations: 4 kB / 0.8952 GB, free: 3.691 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000791/0.7147, allocations: 47.44 kB / 0.8953 GB, free: 3.645 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.664e-05/0.7148, allocations: 27.98 kB / 0.8953 GB, free: 3.617 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.0004049/0.7152, allocations: 293.6 kB / 0.8956 GB, free: 3.32 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002108/0.7154, allocations: 90.95 kB / 0.8957 GB, free: 3.23 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00136/0.7168, allocations: 0.7934 MB / 0.8965 GB, free: 2.43 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.464e-06/0.7168, allocations: 4 kB / 0.8965 GB, free: 2.426 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/0.7168, allocations: 8 kB / 0.8965 GB, free: 2.418 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001037/0.7179, allocations: 0.8152 MB / 0.8973 GB, free: 1.551 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002737/0.7206, allocations: 1.845 MB / 0.8991 GB, free: 15.64 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/0.7206, allocations: 0 / 0.8991 GB, free: 15.64 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008373/0.7215, allocations: 171.8 kB / 0.8992 GB, free: 15.48 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.035e-06/0.7215, allocations: 0 / 0.8992 GB, free: 15.48 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.405e-05/0.7216, allocations: 20 kB / 0.8992 GB, free: 15.46 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.609e-06/0.7216, allocations: 0 / 0.8992 GB, free: 15.46 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.7216, allocations: 3.938 kB / 0.8993 GB, free: 15.45 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001795/0.7234, allocations: 1.273 MB / 0.9005 GB, free: 14.16 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004639/0.7238, allocations: 247.9 kB / 0.9007 GB, free: 13.9 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001246/0.724, allocations: 12 kB / 0.9007 GB, free: 13.89 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006426/0.7246, allocations: 24.73 kB / 0.9008 GB, free: 13.86 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001045/0.7247, allocations: 44.5 kB / 0.9008 GB, free: 13.82 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.946e-05/0.7248, allocations: 24 kB / 0.9008 GB, free: 13.8 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0005461/0.7253, allocations: 451 kB / 0.9013 GB, free: 13.36 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.51e-07/0.7254, allocations: 0 / 0.9013 GB, free: 13.36 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.000846/0.7262, allocations: 343.1 kB / 0.9016 GB, free: 13.03 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.002174/0.7284, allocations: 1.92 MB / 0.9035 GB, free: 11.08 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001127/0.7295, allocations: 0.6757 MB / 0.9041 GB, free: 10.41 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 2.644e-06/0.7295, allocations: 384 / 0.9041 GB, free: 10.41 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.000509/0.7301, allocations: 375 kB / 0.9045 GB, free: 10.04 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002387/0.7325, allocations: 0.5578 MB / 0.905 GB, free: 9.504 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009573/0.742, allocations: 6.896 MB / 0.9118 GB, free: 2.449 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006851/0.7428, allocations: 1.085 MB / 0.9128 GB, free: 1.332 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0008038/0.7436, allocations: 223.2 kB / 0.913 GB, free: 1.109 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000489/0.7441, allocations: 363.3 kB / 0.9134 GB, free: 0.7539 MB / 0.67 GB Notification: Performance of SimCode: time 1.893e-06/0.7441, allocations: 0 / 0.9134 GB, free: 0.7539 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05014/0.7942, allocations: 25.77 MB / 0.9385 GB, free: 7.281 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.328/9.122, allocations: 13.81 kB / 0.9386 GB, free: 7.27 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)