Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneRoom.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.OneRoom,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_OneRoom",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Airflow.Multizone.Examples.OneRoom,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_OneRoom",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.854/0.854, allocations: 141.8 MB / 149.3 MB, free: 9.191 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.001031/0.001031, allocations: 184.9 kB / 182.2 MB, free: 9.418 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.471/1.471, allocations: 221.5 MB / 436.4 MB, free: 13.33 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.0009014/0.0009015, allocations: 99.06 kB / 0.5074 GB, free: 10.16 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001741/0.001741, allocations: 286.4 kB / 0.5889 GB, free: 54.65 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.847e-05/1.85e-05, allocations: 4 kB / 0.6766 GB, free: 12.73 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4184/0.4184, allocations: 82.78 MB / 0.7575 GB, free: 31.91 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.18/4.599, allocations: 1.882 GB / 2.639 GB, free: 136.7 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002304/4.599, allocations: 86.67 kB / 2.639 GB, free: 136.6 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 2.709/7.308, allocations: 0.8016 GB / 3.441 GB, free: 107 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.573e-06/7.308, allocations: 0 / 3.441 GB, free: 107 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.323e-05/7.308, allocations: 29.98 kB / 3.441 GB, free: 107 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 244 * Number of variables: 244 Notification: Performance of Generate backend data structure: time 0.003869/7.312, allocations: 1.59 MB / 3.443 GB, free: 106.3 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.902e-05/7.312, allocations: 10.38 kB / 3.443 GB, free: 106.3 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002703/7.314, allocations: 417.9 kB / 3.443 GB, free: 106.2 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001274/7.316, allocations: 0.8657 MB / 3.444 GB, free: 105.9 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.934e-05/7.316, allocations: 33.33 kB / 3.444 GB, free: 105.9 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000124/7.316, allocations: 58 kB / 3.444 GB, free: 105.9 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001335/7.317, allocations: 0.8867 MB / 3.445 GB, free: 105.9 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001465/7.319, allocations: 1.032 MB / 3.446 GB, free: 105.8 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.658e-05/7.319, allocations: 0 / 3.446 GB, free: 105.8 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.709e-05/7.319, allocations: 3.406 kB / 3.446 GB, free: 105.8 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.467e-05/7.319, allocations: 46.52 kB / 3.446 GB, free: 105.8 MB / 0.698 GB Warning: The model contains alias variables with conflicting start and/or 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.004316/7.323, allocations: 4.821 MB / 3.451 GB, free: 103 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009669/7.324, allocations: 0.9056 MB / 3.452 GB, free: 102.7 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008061/7.325, allocations: 0.5466 MB / 3.452 GB, free: 102.7 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004986/7.326, allocations: 0.681 MB / 3.453 GB, free: 102 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.2e-05/7.326, allocations: 42.19 kB / 3.453 GB, free: 101.9 MB / 0.698 GB Notification: Performance of pre-optimization done (n=82): time 3.206e-06/7.326, allocations: 5.656 kB / 3.453 GB, free: 101.9 MB / 0.698 GB Notification: Performance of matching and sorting (n=83): time 0.00352/7.329, allocations: 2.013 MB / 3.455 GB, free: 101.4 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.603e-05/7.329, allocations: 60.09 kB / 3.455 GB, free: 101.4 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000512/7.33, allocations: 487.8 kB / 3.455 GB, free: 101.3 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 5.732e-05/7.33, allocations: 25.7 kB / 3.455 GB, free: 101.2 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002049/7.33, allocations: 458.2 kB / 3.456 GB, free: 101 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001703/7.33, allocations: 282.5 kB / 3.456 GB, free: 100.8 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.136e-05/7.33, allocations: 0 / 3.456 GB, free: 100.8 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001002/7.33, allocations: 387.9 kB / 3.456 GB, free: 100.5 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003958/7.331, allocations: 336.1 kB / 3.457 GB, free: 100.5 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004476/7.331, allocations: 462.1 kB / 3.457 GB, free: 100.4 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005906/7.332, allocations: 408.7 kB / 3.458 GB, free: 100.4 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.175e-06/7.332, allocations: 0 / 3.458 GB, free: 100.4 MB / 0.698 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001328/7.333, allocations: 0.9479 MB / 3.458 GB, free: 100.3 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.673e-05/7.333, allocations: 10.22 kB / 3.458 GB, free: 100.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.528e-06/7.333, allocations: 3.844 kB / 3.458 GB, free: 100.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001673/7.333, allocations: 51.31 kB / 3.459 GB, free: 100.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007142/7.334, allocations: 169.9 kB / 3.459 GB, free: 100.2 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003625/7.334, allocations: 0.6106 MB / 3.459 GB, free: 99.71 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009336/7.335, allocations: 76.64 kB / 3.459 GB, free: 99.7 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.634e-05/7.335, allocations: 32.75 kB / 3.459 GB, free: 99.69 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (92): * Single equations (assignments): 91 * 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 {1 5} Notification: Performance of prepare postOptimizeDAE: time 0.000137/7.336, allocations: 113.9 kB / 3.459 GB, free: 99.57 MB / 0.698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001169/7.337, allocations: 0.8539 MB / 3.46 GB, free: 99.23 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001274/7.337, allocations: 86.22 kB / 3.46 GB, free: 99.19 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001408/7.338, allocations: 0.9338 MB / 3.461 GB, free: 98.8 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.883e-06/7.338, allocations: 9.031 kB / 3.461 GB, free: 98.8 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.052e-06/7.338, allocations: 5.422 kB / 3.461 GB, free: 98.8 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001069/7.339, allocations: 0.9476 MB / 3.462 GB, free: 98.29 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002692/7.342, allocations: 2.081 MB / 3.464 GB, free: 97.33 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.466e-06/7.342, allocations: 3.062 kB / 3.464 GB, free: 97.33 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009597/7.343, allocations: 207 kB / 3.464 GB, free: 97.32 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.76e-06/7.343, allocations: 3.344 kB / 3.464 GB, free: 97.32 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.322e-05/7.343, allocations: 17.33 kB / 3.465 GB, free: 97.31 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.258e-06/7.343, allocations: 3.344 kB / 3.465 GB, free: 97.31 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.714e-06/7.343, allocations: 1.844 kB / 3.465 GB, free: 97.31 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001725/7.345, allocations: 1.529 MB / 3.466 GB, free: 96.6 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003387/7.345, allocations: 254.8 kB / 3.466 GB, free: 96.42 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001195/7.345, allocations: 11.39 kB / 3.466 GB, free: 96.41 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008126/7.346, allocations: 75.39 kB / 3.466 GB, free: 96.4 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.774e-05/7.346, allocations: 40.69 kB / 3.466 GB, free: 96.4 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.744e-05/7.346, allocations: 39.33 kB / 3.466 GB, free: 96.39 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0003473/7.347, allocations: 373.3 kB / 3.467 GB, free: 96.2 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.5e-07/7.347, allocations: 1.969 kB / 3.467 GB, free: 96.2 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001134/7.348, allocations: 432.8 kB / 3.467 GB, free: 96.1 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (volEas.dynBal.U,volEas.dynBal.m,volEas.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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (83): * Single equations (assignments): 83 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004179/7.352, allocations: 4.215 MB / 3.471 GB, free: 94.26 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001177/7.353, allocations: 0.8333 MB / 3.472 GB, free: 93.95 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/7.353, allocations: 5.469 kB / 3.472 GB, free: 93.95 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004756/7.354, allocations: 446.9 kB / 3.473 GB, free: 93.71 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0022/7.356, allocations: 0.5067 MB / 3.473 GB, free: 93.38 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003128/7.359, allocations: 2.107 MB / 3.475 GB, free: 91.79 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004686/7.36, allocations: 1.145 MB / 3.476 GB, free: 90.8 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0009714/7.361, allocations: 260.7 kB / 3.476 GB, free: 90.61 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005205/7.361, allocations: 392.9 kB / 3.477 GB, free: 90.26 MB / 0.698 GB Notification: Performance of SimCode: time 2.81e-07/7.361, allocations: 0 / 3.477 GB, free: 90.26 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05928/7.42, allocations: 40.67 MB / 3.517 GB, free: 50.97 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001323/7.421, allocations: 135.2 kB / 3.517 GB, free: 50.79 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.253/10.67, allocations: 4.031 kB / 3.517 GB, free: 50.78 MB / 0.698 GB (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneRoom.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneRoom.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneRoom.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneRoom.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_OneRoom_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_OneRoom.fmu > BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneRoom.pipe 2>&1)