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.001094/0.001094, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001388/0.001388, allocations: 194.8 kB / 16.14 MB, free: 6.66 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.159/1.159, allocations: 222.9 MB / 239.8 MB, free: 4.586 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 3.12/3.12, allocations: 135.1 MB / 425.1 MB, free: 11.91 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009963/0.0009963, allocations: 64.97 kB / 0.5048 GB, free: 5.672 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1528/0.1539, allocations: 80.93 MB / 0.5838 GB, free: 4.922 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.NaturalVentilation): time 0.556/0.7098, allocations: 199.7 MB / 0.7788 GB, free: 5.625 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01154/0.7214, allocations: 7.477 MB / 0.7861 GB, free: 14.13 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0021/0.7236, allocations: 31.81 kB / 0.7862 GB, free: 14.1 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.002251/0.7259, allocations: 0.6064 MB / 0.7868 GB, free: 13.49 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.006751/0.7327, allocations: 2.257 MB / 0.789 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.00349/0.7362, allocations: 1.126 MB / 0.7901 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.005075/0.7413, allocations: 4.162 MB / 0.7941 GB, free: 5.934 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001477/0.7428, allocations: 0.8091 MB / 0.7949 GB, free: 5.102 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002034/0.7448, allocations: 0.8869 MB / 0.7958 GB, free: 4.211 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002581/0.7474, allocations: 0.9958 MB / 0.7968 GB, free: 3.219 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.000337/0.7478, allocations: 60 kB / 0.7968 GB, free: 3.16 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004948/0.7527, allocations: 2.49 MB / 0.7993 GB, free: 0.6641 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0006072/0.7534, allocations: 398.8 kB / 0.7996 GB, free: 280 kB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.001177/0.7545, allocations: 0.6142 MB / 0.8002 GB, free: 15.66 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.004542/0.7591, allocations: 2.501 MB / 0.8027 GB, free: 13.15 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.7591, allocations: 0 / 0.8027 GB, free: 13.15 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.172e-06/0.7591, allocations: 0 / 0.8027 GB, free: 13.15 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 5.434e-05/0.7592, allocations: 3.938 kB / 0.8027 GB, free: 13.14 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.003867/0.7631, allocations: 1.632 MB / 0.8043 GB, free: 11.46 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.286e-05/0.7631, allocations: 8.031 kB / 0.8043 GB, free: 11.46 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002202/0.7633, allocations: 139.2 kB / 0.8044 GB, free: 11.31 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002595/0.7659, allocations: 374.3 kB / 0.8048 GB, free: 10.95 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001385/0.7673, allocations: 0.8084 MB / 0.8056 GB, free: 10.09 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.253e-05/0.7674, allocations: 61.98 kB / 0.8056 GB, free: 10.03 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001443/0.7675, allocations: 95.91 kB / 0.8057 GB, free: 9.938 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001731/0.7693, allocations: 1.03 MB / 0.8067 GB, free: 8.875 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.06e-05/0.7693, allocations: 7.938 kB / 0.8067 GB, free: 8.867 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.043e-05/0.7694, allocations: 43.98 kB / 0.8068 GB, free: 8.824 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-05/0.7695, allocations: 41.98 kB / 0.8068 GB, free: 8.781 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001562/0.7711, allocations: 0.8822 MB / 0.8077 GB, free: 7.898 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.00488/0.7759, allocations: 4.268 MB / 0.8118 GB, free: 3.273 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001024/0.777, allocations: 0.6806 MB / 0.8125 GB, free: 2.586 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007158/0.7777, allocations: 458.9 kB / 0.8129 GB, free: 2.137 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005911/0.7783, allocations: 0.6732 MB / 0.8136 GB, free: 1.312 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.595e-05/0.7784, allocations: 47.11 kB / 0.8136 GB, free: 1.258 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=70): time 2.405e-06/0.7784, allocations: 4 kB / 0.8136 GB, free: 1.254 MB / 0.6231 GB Notification: Performance of matching and sorting (n=70): time 0.001802/0.7802, allocations: 0.9783 MB / 0.8146 GB, free: 280 kB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.057e-05/0.7802, allocations: 63.89 kB / 0.8147 GB, free: 204 kB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007531/0.781, allocations: 0.6334 MB / 0.8153 GB, free: 15.56 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 5.81e-05/0.781, allocations: 41.7 kB / 0.8153 GB, free: 15.52 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002921/0.7813, allocations: 436 kB / 0.8157 GB, free: 15.08 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002086/0.7816, allocations: 248.3 kB / 0.816 GB, free: 14.84 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001832/0.7818, allocations: 118.3 kB / 0.8161 GB, free: 14.71 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001703/0.7819, allocations: 386.8 kB / 0.8165 GB, free: 14.33 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004371/0.7824, allocations: 273.1 kB / 0.8167 GB, free: 14.06 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004973/0.7829, allocations: 374.8 kB / 0.8171 GB, free: 13.67 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009592/0.7838, allocations: 0.6509 MB / 0.8177 GB, free: 13 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.098e-06/0.7839, allocations: 7.938 kB / 0.8177 GB, free: 12.99 MB / 0.6387 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001281/0.7852, allocations: 0.789 MB / 0.8185 GB, free: 12.2 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/0.7852, allocations: 4 kB / 0.8185 GB, free: 12.19 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.7852, allocations: 4 kB / 0.8185 GB, free: 12.19 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.602e-05/0.7852, allocations: 4 kB / 0.8185 GB, free: 12.18 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006272/0.7859, allocations: 152 kB / 0.8186 GB, free: 12.04 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.576e-05/0.7859, allocations: 11.94 kB / 0.8187 GB, free: 12.02 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009762/0.7869, allocations: 99.38 kB / 0.8187 GB, free: 11.93 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.184e-05/0.7869, allocations: 25.88 kB / 0.8188 GB, free: 11.9 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.0004578/0.7874, allocations: 281.6 kB / 0.819 GB, free: 11.62 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002031/0.7876, allocations: 87 kB / 0.8191 GB, free: 11.53 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001422/0.789, allocations: 0.792 MB / 0.8199 GB, free: 10.73 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.034e-05/0.7891, allocations: 11.94 kB / 0.8199 GB, free: 10.71 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.083e-06/0.7891, allocations: 0 / 0.8199 GB, free: 10.71 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001117/0.7902, allocations: 0.8114 MB / 0.8207 GB, free: 9.852 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003634/0.7939, allocations: 1.848 MB / 0.8225 GB, free: 7.949 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.931e-06/0.7939, allocations: 4 kB / 0.8225 GB, free: 7.945 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008765/0.7948, allocations: 167.8 kB / 0.8227 GB, free: 7.781 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.792e-05/0.7948, allocations: 4 kB / 0.8227 GB, free: 7.777 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.697e-05/0.7949, allocations: 16 kB / 0.8227 GB, free: 7.762 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.524e-06/0.7949, allocations: 8 kB / 0.8227 GB, free: 7.754 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-06/0.7949, allocations: 0 / 0.8227 GB, free: 7.754 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002344/0.7973, allocations: 1.281 MB / 0.8239 GB, free: 6.461 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005796/0.7979, allocations: 247.8 kB / 0.8242 GB, free: 6.199 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000182/0.7981, allocations: 12 kB / 0.8242 GB, free: 6.188 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009435/0.799, allocations: 79.78 kB / 0.8243 GB, free: 6.109 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001421/0.7992, allocations: 44.44 kB / 0.8243 GB, free: 6.066 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.023e-05/0.7992, allocations: 27.97 kB / 0.8243 GB, free: 6.039 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0007132/0.7999, allocations: 455 kB / 0.8248 GB, free: 5.598 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.91e-07/0.8, allocations: 0 / 0.8248 GB, free: 5.598 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001198/0.8012, allocations: 339.2 kB / 0.8251 GB, free: 5.266 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.002781/0.804, allocations: 1.909 MB / 0.827 GB, free: 3.328 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001142/0.8051, allocations: 0.6798 MB / 0.8276 GB, free: 2.648 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.8051, allocations: 4.125 kB / 0.8276 GB, free: 2.645 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0005351/0.8057, allocations: 363 kB / 0.828 GB, free: 2.289 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002289/0.808, allocations: 0.5182 MB / 0.8285 GB, free: 1.781 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01031/0.8183, allocations: 7.525 MB / 0.8358 GB, free: 10.09 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006747/0.819, allocations: 1.085 MB / 0.8369 GB, free: 8.977 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0009382/0.8199, allocations: 230.4 kB / 0.8371 GB, free: 8.75 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004938/0.8204, allocations: 363.3 kB / 0.8375 GB, free: 8.398 MB / 0.6544 GB Notification: Performance of SimCode: time 6.01e-07/0.8204, allocations: 0 / 0.8375 GB, free: 8.398 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05009/0.8705, allocations: 24.18 MB / 0.8611 GB, free: 0.5703 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001727/0.8707, allocations: 206.9 kB / 0.8613 GB, free: 320 kB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.206/3.077, allocations: 0 / 0.8613 GB, free: 320 kB / 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)