Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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.NaturalVentilation,fileNamePrefix="IDEAS_dev_IDEAS_Airflow_Multizone_Examples_NaturalVentilation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Airflow.Multizone.Examples.NaturalVentilation,fileNamePrefix="IDEAS_dev_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.001566/0.001566, 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.001651/0.001651, allocations: 193.7 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 1.419/1.419, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9941/0.9941, allocations: 135.1 MB / 425.5 MB, free: 11.97 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001319/0.001319, allocations: 71.42 kB / 0.5054 GB, free: 5.215 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1873/0.1886, allocations: 80.92 MB / 0.5845 GB, free: 4.457 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.NaturalVentilation): time 0.6183/0.8069, allocations: 201.9 MB / 0.7817 GB, free: 2.852 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.009812/0.8168, allocations: 7.388 MB / 0.7889 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00129/0.8181, allocations: 35.81 kB / 0.7889 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.00154/0.8197, allocations: 0.6914 MB / 0.7896 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.005025/0.8247, allocations: 2.4 MB / 0.7919 GB, free: 8.309 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002633/0.8274, allocations: 1.234 MB / 0.7931 GB, free: 7.078 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.002968/0.8303, allocations: 2.907 MB / 0.796 GB, free: 4.164 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001005/0.8314, allocations: 0.9454 MB / 0.7969 GB, free: 3.199 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00117/0.8325, allocations: 1.016 MB / 0.7979 GB, free: 2.18 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001519/0.8341, allocations: 0.9638 MB / 0.7988 GB, free: 1.219 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001779/0.8342, allocations: 112 kB / 0.7989 GB, free: 1.109 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00481/0.8391, allocations: 2.128 MB / 0.801 GB, free: 14.98 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0004888/0.8396, allocations: 446.8 kB / 0.8014 GB, free: 14.54 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.000785/0.8404, allocations: 0.6728 MB / 0.8021 GB, free: 13.86 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.003319/0.8437, allocations: 2.384 MB / 0.8044 GB, free: 11.47 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.8437, allocations: 0 / 0.8044 GB, free: 11.47 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.333e-06/0.8437, allocations: 0 / 0.8044 GB, free: 11.47 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.684e-05/0.8437, allocations: 0 / 0.8044 GB, free: 11.47 MB / 0.6231 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.002733/0.8465, allocations: 1.632 MB / 0.806 GB, free: 9.789 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.396e-05/0.8465, allocations: 8.031 kB / 0.806 GB, free: 9.781 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001455/0.8467, allocations: 135.3 kB / 0.8062 GB, free: 9.641 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002219/0.8489, allocations: 377.6 kB / 0.8065 GB, free: 9.273 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001034/0.8499, allocations: 0.8161 MB / 0.8073 GB, free: 8.414 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.477e-05/0.85, allocations: 66 kB / 0.8074 GB, free: 8.352 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001201/0.8501, allocations: 91.89 kB / 0.8075 GB, free: 8.262 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001417/0.8515, allocations: 1.034 MB / 0.8085 GB, free: 7.191 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.46e-05/0.8516, allocations: 7.938 kB / 0.8085 GB, free: 7.184 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.268e-05/0.8517, allocations: 39.97 kB / 0.8085 GB, free: 7.145 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.804e-05/0.8517, allocations: 45.98 kB / 0.8086 GB, free: 7.102 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001337/0.8531, allocations: 0.8821 MB / 0.8094 GB, free: 6.215 MB / 0.6231 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.004009/0.8571, allocations: 4.311 MB / 0.8136 GB, free: 1.551 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000956/0.858, allocations: 0.6798 MB / 0.8143 GB, free: 0.8633 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006927/0.8587, allocations: 459 kB / 0.8147 GB, free: 424 kB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000574/0.8593, allocations: 0.6654 MB / 0.8154 GB, free: 15.6 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.463e-05/0.8594, allocations: 51.05 kB / 0.8154 GB, free: 15.54 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=70): time 2.184e-06/0.8594, allocations: 0 / 0.8154 GB, free: 15.54 MB / 0.6387 GB Notification: Performance of matching and sorting (n=70): time 0.001702/0.8611, allocations: 0.9861 MB / 0.8164 GB, free: 14.55 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.88e-05/0.8611, allocations: 63.91 kB / 0.8165 GB, free: 14.48 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006613/0.8618, allocations: 0.6334 MB / 0.8171 GB, free: 13.84 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 5.265e-05/0.8619, allocations: 41.7 kB / 0.8171 GB, free: 13.79 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.000265/0.8621, allocations: 436 kB / 0.8175 GB, free: 13.36 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001784/0.8623, allocations: 248.3 kB / 0.8178 GB, free: 13.11 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001685/0.8625, allocations: 114.3 kB / 0.8179 GB, free: 12.99 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001527/0.8627, allocations: 390.7 kB / 0.8183 GB, free: 12.6 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004148/0.8631, allocations: 277.1 kB / 0.8185 GB, free: 12.33 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000462/0.8635, allocations: 370.7 kB / 0.8189 GB, free: 11.94 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008961/0.8645, allocations: 0.6548 MB / 0.8195 GB, free: 11.27 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.8645, allocations: 0 / 0.8195 GB, free: 11.27 MB / 0.6387 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001187/0.8657, allocations: 0.7968 MB / 0.8203 GB, free: 10.46 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.825e-05/0.8657, allocations: 8 kB / 0.8203 GB, free: 10.46 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.8657, allocations: 0 / 0.8203 GB, free: 10.46 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.63e-05/0.8657, allocations: 4 kB / 0.8203 GB, free: 10.45 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005996/0.8663, allocations: 139.8 kB / 0.8204 GB, free: 10.32 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.417e-05/0.8663, allocations: 13.58 kB / 0.8205 GB, free: 10.3 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006796/0.867, allocations: 58.05 kB / 0.8205 GB, free: 10.25 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.044e-05/0.8671, allocations: 20 kB / 0.8205 GB, free: 10.23 MB / 0.6387 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.0003296/0.8674, allocations: 289.6 kB / 0.8208 GB, free: 9.938 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001328/0.8676, allocations: 86.97 kB / 0.8209 GB, free: 9.852 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001234/0.8688, allocations: 0.7945 MB / 0.8217 GB, free: 9.055 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.363e-06/0.8688, allocations: 7.938 kB / 0.8217 GB, free: 9.047 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.193e-06/0.8688, allocations: 2.812 kB / 0.8217 GB, free: 9.047 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001012/0.8698, allocations: 0.8114 MB / 0.8225 GB, free: 8.184 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002277/0.8721, allocations: 1.848 MB / 0.8243 GB, free: 6.281 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.8721, allocations: 0 / 0.8243 GB, free: 6.281 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007623/0.8729, allocations: 175.8 kB / 0.8244 GB, free: 6.109 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.189e-06/0.8729, allocations: 4 kB / 0.8244 GB, free: 6.105 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.387e-05/0.873, allocations: 23.92 kB / 0.8245 GB, free: 6.082 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.873, allocations: 0 / 0.8245 GB, free: 6.082 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.873, allocations: 0 / 0.8245 GB, free: 6.082 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001596/0.8746, allocations: 1.275 MB / 0.8257 GB, free: 4.789 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000297/0.8749, allocations: 247.9 kB / 0.8259 GB, free: 4.527 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001054/0.875, allocations: 16 kB / 0.826 GB, free: 4.512 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005876/0.8756, allocations: 23.17 kB / 0.826 GB, free: 4.492 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001032/0.8757, allocations: 40.5 kB / 0.826 GB, free: 4.453 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.736e-05/0.8758, allocations: 27.98 kB / 0.826 GB, free: 4.426 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0004602/0.8762, allocations: 455 kB / 0.8265 GB, free: 3.988 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.094e-06/0.8762, allocations: 0 / 0.8265 GB, free: 3.988 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0007032/0.8769, allocations: 335.2 kB / 0.8268 GB, free: 3.66 MB / 0.6387 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.002022/0.879, allocations: 1.92 MB / 0.8287 GB, free: 1.711 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.00136/0.8804, allocations: 0.8162 MB / 0.8295 GB, free: 0.8945 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.574e-06/0.8804, allocations: 0 / 0.8295 GB, free: 0.8945 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0004755/0.8808, allocations: 379 kB / 0.8298 GB, free: 0.5234 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002109/0.883, allocations: 0.5439 MB / 0.8304 GB, free: 16 kB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008052/0.891, allocations: 7.158 MB / 0.8374 GB, free: 8.691 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005572/0.8916, allocations: 1.089 MB / 0.8384 GB, free: 7.578 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0007649/0.8924, allocations: 227.2 kB / 0.8386 GB, free: 7.352 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004275/0.8928, allocations: 363.3 kB / 0.839 GB, free: 7 MB / 0.6544 GB Notification: Performance of SimCode: time 2.21e-07/0.8928, allocations: 0 / 0.839 GB, free: 7 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6673/1.56, allocations: 25.15 MB / 0.8635 GB, free: 220.8 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.899/9.459, allocations: 13.84 kB / 0.8636 GB, free: 220.8 MB / 0.67 GB (rm -f IDEAS_dev_IDEAS.Airflow.Multizone.Examples.NaturalVentilation.pipe ; mkfifo IDEAS_dev_IDEAS.Airflow.Multizone.Examples.NaturalVentilation.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Airflow.Multizone.Examples.NaturalVentilation.pipe >> ../files/IDEAS_dev_IDEAS.Airflow.Multizone.Examples.NaturalVentilation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Airflow_Multizone_Examples_NaturalVentilation_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Airflow_Multizone_Examples_NaturalVentilation.fmu > IDEAS_dev_IDEAS.Airflow.Multizone.Examples.NaturalVentilation.pipe 2>&1)