Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ChimneyShaftNoVolume.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Airflow.Multizone.Examples.ChimneyShaftNoVolume,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_ChimneyShaftNoVolume",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Airflow.Multizone.Examples.ChimneyShaftNoVolume,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_ChimneyShaftNoVolume",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8469/0.8469, allocations: 143.4 MB / 158.3 MB, free: 5.785 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001104/0.001104, allocations: 183.3 kB / 191.5 MB, free: 5.773 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.514/1.514, allocations: 223.1 MB / 447.7 MB, free: 4.844 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008436/0.0008437, allocations: 88.33 kB / 0.5187 GB, free: 1.191 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001733/0.001733, allocations: 279.1 kB / 0.6005 GB, free: 48.75 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004202/0.0004203, allocations: 10.88 kB / 0.6929 GB, free: 59.44 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1863/0.1867, allocations: 82.81 MB / 0.7738 GB, free: 13.76 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.314/1.5, allocations: 420.2 MB / 1.184 GB, free: 198.8 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002597/1.501, allocations: 95.45 kB / 1.184 GB, free: 198.8 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.143/2.644, allocations: 336.6 MB / 1.513 GB, free: 158.5 MB / 0.7136 GB Notification: Performance of FrontEnd: time 3.126e-06/2.644, allocations: 0 / 1.513 GB, free: 158.5 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.000144/2.644, allocations: 35.05 kB / 1.513 GB, free: 158.4 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 195 * Number of variables: 195 Notification: Performance of Generate backend data structure: time 0.004042/2.648, allocations: 1.525 MB / 1.515 GB, free: 157.7 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 6.067e-05/2.648, allocations: 15.17 kB / 1.515 GB, free: 157.7 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000189/2.648, allocations: 117.2 kB / 1.515 GB, free: 157.6 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003254/2.648, allocations: 140.7 kB / 1.515 GB, free: 157.6 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002085/2.65, allocations: 0.973 MB / 1.516 GB, free: 157.3 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.887e-05/2.651, allocations: 63.34 kB / 1.516 GB, free: 157.3 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001114/2.651, allocations: 81.03 kB / 1.516 GB, free: 157.3 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001367/2.652, allocations: 0.8547 MB / 1.517 GB, free: 157.1 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.661e-05/2.652, allocations: 0 / 1.517 GB, free: 157.1 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.618e-05/2.652, allocations: 37.5 kB / 1.517 GB, free: 157.1 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.757e-05/2.652, allocations: 19.11 kB / 1.517 GB, free: 157.1 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001054/2.653, allocations: 0.6253 MB / 1.517 GB, free: 157.1 MB / 0.7136 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.004212/2.657, allocations: 3.797 MB / 1.521 GB, free: 155.2 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00107/2.659, allocations: 0.5694 MB / 1.522 GB, free: 155.1 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008491/2.659, allocations: 1.247 MB / 1.523 GB, free: 153.7 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006041/2.66, allocations: 330.4 kB / 1.523 GB, free: 153.7 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=63): time 3.467e-06/2.66, allocations: 0 / 1.523 GB, free: 153.7 MB / 0.7136 GB Notification: Performance of matching and sorting (n=63): time 0.002398/2.662, allocations: 1.133 MB / 1.524 GB, free: 153.4 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.423e-05/2.663, allocations: 88.02 kB / 1.524 GB, free: 153.3 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009562/2.663, allocations: 0.7707 MB / 1.525 GB, free: 153.1 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 5.358e-05/2.664, allocations: 35.95 kB / 1.525 GB, free: 153.1 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003504/2.664, allocations: 468 kB / 1.526 GB, free: 152.9 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001669/2.664, allocations: 213.9 kB / 1.526 GB, free: 152.8 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.06e-05/2.664, allocations: 15.44 kB / 1.526 GB, free: 152.8 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.539e-05/2.664, allocations: 328.6 kB / 1.526 GB, free: 152.5 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003689/2.665, allocations: 210.4 kB / 1.526 GB, free: 152.5 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004546/2.665, allocations: 346.3 kB / 1.527 GB, free: 152.4 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004153/2.665, allocations: 245.8 kB / 1.527 GB, free: 152.4 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.429e-06/2.666, allocations: 3.375 kB / 1.527 GB, free: 152.4 MB / 0.7136 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001172/2.667, allocations: 0.7166 MB / 1.528 GB, free: 152.3 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002938/2.667, allocations: 0.8777 MB / 1.528 GB, free: 151.4 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.193e-05/2.667, allocations: 3.812 kB / 1.528 GB, free: 151.4 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006255/2.668, allocations: 104 kB / 1.529 GB, free: 151.3 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004564/2.668, allocations: 126 kB / 1.529 GB, free: 151.3 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004803/2.669, allocations: 0.6629 MB / 1.529 GB, free: 150.8 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007833/2.669, allocations: 100.8 kB / 1.529 GB, free: 150.8 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.158e-05/2.669, allocations: 29.08 kB / 1.529 GB, free: 150.8 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.559e-05/2.669, allocations: 5.219 kB / 1.529 GB, free: 150.8 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009875/2.67, allocations: 0.5724 MB / 1.53 GB, free: 150.8 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/2.671, allocations: 3.688 kB / 1.53 GB, free: 150.8 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004293/2.671, allocations: 108.1 kB / 1.53 GB, free: 150.8 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004061/2.671, allocations: 115.9 kB / 1.53 GB, free: 150.8 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004802/2.672, allocations: 0.6617 MB / 1.531 GB, free: 150.2 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006924/2.673, allocations: 94.75 kB / 1.531 GB, free: 150.2 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.483e-05/2.673, allocations: 28.23 kB / 1.531 GB, free: 150.2 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.mRoo_flow.nextTimeEvent,mRoo_flow.nextTimeEvent,$PRE.mRoo_flow.nextTimeEventScaled,mRoo_flow.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 7} Notification: Performance of prepare postOptimizeDAE: time 0.0005981/2.673, allocations: 328.5 kB / 1.531 GB, free: 150 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001383/2.673, allocations: 102.2 kB / 1.531 GB, free: 150 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001667/2.675, allocations: 0.9592 MB / 1.532 GB, free: 149.9 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.54e-05/2.675, allocations: 7.531 kB / 1.532 GB, free: 149.9 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.865e-06/2.675, allocations: 3.953 kB / 1.532 GB, free: 149.9 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001113/2.676, allocations: 0.8634 MB / 1.533 GB, free: 149.6 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002919/2.679, allocations: 1.896 MB / 1.535 GB, free: 149.2 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.449e-06/2.679, allocations: 0 / 1.535 GB, free: 149.2 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004399/2.68, allocations: 110.1 kB / 1.535 GB, free: 149.2 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000602/2.68, allocations: 161.1 kB / 1.535 GB, free: 149.2 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.038e-05/2.68, allocations: 17.45 kB / 1.535 GB, free: 149.2 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007773/2.681, allocations: 1.254 MB / 1.537 GB, free: 148.2 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/2.681, allocations: 3.75 kB / 1.537 GB, free: 148.2 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001941/2.683, allocations: 1.308 MB / 1.538 GB, free: 147.9 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006038/2.684, allocations: 275.5 kB / 1.538 GB, free: 147.7 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001322/2.684, allocations: 14.06 kB / 1.538 GB, free: 147.7 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006093/2.684, allocations: 72.92 kB / 1.538 GB, free: 147.7 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001122/2.685, allocations: 41.28 kB / 1.538 GB, free: 147.7 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.716e-05/2.685, allocations: 31.83 kB / 1.538 GB, free: 147.7 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0008764/2.686, allocations: 0.6141 MB / 1.539 GB, free: 147.6 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.3e-07/2.686, allocations: 0 / 1.539 GB, free: 147.6 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.002086/2.688, allocations: 0.6185 MB / 1.539 GB, free: 147.5 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 5 (roo.dynBal.U,roo.dynBal.m,oriChiTop.mExc,oriBot.mExc,oriChiBot.mExc) * Number of discrete variables: 3 ($whenCondition1,mRoo_flow.nextTimeEvent,mRoo_flow.nextTimeEventScaled) * Number of discrete states: 2 (mRoo_flow.nextTimeEvent,mRoo_flow.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (63): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 9,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.004594/2.692, allocations: 2.825 MB / 1.542 GB, free: 146.5 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.002088/2.694, allocations: 0.9342 MB / 1.543 GB, free: 146.5 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/2.694, allocations: 0 / 1.543 GB, free: 146.5 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0007231/2.695, allocations: 391.4 kB / 1.543 GB, free: 146.4 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002127/2.697, allocations: 426 kB / 1.544 GB, free: 146.4 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009958/2.707, allocations: 7.413 MB / 1.551 GB, free: 143 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006155/2.708, allocations: 1.089 MB / 1.552 GB, free: 142.3 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.001071/2.709, allocations: 226.5 kB / 1.552 GB, free: 142.3 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005293/2.709, allocations: 411.5 kB / 1.553 GB, free: 142.3 MB / 0.7136 GB Notification: Performance of SimCode: time 1.593e-06/2.709, allocations: 0 / 1.553 GB, free: 142.3 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05715/2.767, allocations: 32.65 MB / 1.585 GB, free: 129.6 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002019/2.767, allocations: 268.3 kB / 1.585 GB, free: 129.2 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.611/6.378, allocations: 4 kB / 1.585 GB, free: 129.2 MB / 0.7136 GB (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ChimneyShaftNoVolume.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ChimneyShaftNoVolume.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ChimneyShaftNoVolume.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ChimneyShaftNoVolume.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_ChimneyShaftNoVolume_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_ChimneyShaftNoVolume.fmu > BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ChimneyShaftNoVolume.pipe 2>&1)