Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.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: translateModel(BuildingSystems.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.FourPortHeatMassExchanger") translateModel(BuildingSystems.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.FourPortHeatMassExchanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9325/0.9325, allocations: 141.8 MB / 149.3 MB, free: 9.203 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.001087/0.001087, allocations: 176.8 kB / 182.2 MB, free: 9.426 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.509/1.509, allocations: 221.5 MB / 436.4 MB, free: 13.27 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.0009679/0.0009679, allocations: 84.11 kB / 0.5074 GB, free: 10.11 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001722/0.001722, allocations: 269.8 kB / 0.5889 GB, free: 54.64 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.739e-05/1.742e-05, allocations: 4 kB / 0.6765 GB, free: 12.8 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4793/0.4793, allocations: 82.77 MB / 0.7574 GB, free: 31.99 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8439/1.323, allocations: 378.5 MB / 1.127 GB, free: 3.277 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003544/1.324, allocations: 94.2 kB / 1.127 GB, free: 3.234 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 1.827/3.151, allocations: 440.2 MB / 1.557 GB, free: 150.9 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.417e-06/3.151, allocations: 1.969 kB / 1.557 GB, free: 150.9 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001727/3.151, allocations: 35.89 kB / 1.557 GB, free: 150.9 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: 174 * Number of variables: 174 Notification: Performance of Generate backend data structure: time 0.003549/3.155, allocations: 1.249 MB / 1.558 GB, free: 150.1 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.78e-05/3.155, allocations: 7.844 kB / 1.558 GB, free: 150.1 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007929/3.156, allocations: 134.9 kB / 1.558 GB, free: 150 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02603/3.182, allocations: 12.91 MB / 1.571 GB, free: 142.6 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.425e-05/3.182, allocations: 21.06 kB / 1.571 GB, free: 142.6 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002305/3.182, allocations: 48.97 kB / 1.571 GB, free: 142.6 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001101/3.183, allocations: 452.8 kB / 1.571 GB, free: 142.4 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001167/3.184, allocations: 0.6265 MB / 1.572 GB, free: 142 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.41e-05/3.184, allocations: 0 / 1.572 GB, free: 142 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.485e-05/3.185, allocations: 3.562 kB / 1.572 GB, free: 142 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.133e-05/3.185, allocations: 24.95 kB / 1.572 GB, free: 142 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.004367/3.189, allocations: 3.375 MB / 1.575 GB, free: 139.1 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004536/3.189, allocations: 322.7 kB / 1.576 GB, free: 138.9 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001787/3.19, allocations: 147.9 kB / 1.576 GB, free: 138.8 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004282/3.19, allocations: 0.6572 MB / 1.576 GB, free: 138 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.928e-05/3.19, allocations: 42.27 kB / 1.576 GB, free: 138 MB / 0.698 GB Notification: Performance of pre-optimization done (n=31): time 2.144e-06/3.19, allocations: 0 / 1.576 GB, free: 138 MB / 0.698 GB Notification: Performance of matching and sorting (n=31): time 0.0007691/3.191, allocations: 348.7 kB / 1.577 GB, free: 137.8 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.514e-05/3.191, allocations: 58.22 kB / 1.577 GB, free: 137.7 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007227/3.192, allocations: 0.6391 MB / 1.577 GB, free: 137.4 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.52e-05/3.192, allocations: 25.7 kB / 1.578 GB, free: 137.3 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002777/3.192, allocations: 0.4961 MB / 1.578 GB, free: 136.9 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 7.241e-05/3.192, allocations: 108.8 kB / 1.578 GB, free: 136.8 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.628e-05/3.192, allocations: 0 / 1.578 GB, free: 136.8 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.913e-05/3.192, allocations: 328 kB / 1.578 GB, free: 136.5 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001551/3.192, allocations: 116.8 kB / 1.579 GB, free: 136.4 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002471/3.193, allocations: 332.3 kB / 1.579 GB, free: 136.1 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003897/3.193, allocations: 190.6 kB / 1.579 GB, free: 136 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.5e-06/3.193, allocations: 3.781 kB / 1.579 GB, free: 136 MB / 0.698 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0007167/3.194, allocations: 486.8 kB / 1.579 GB, free: 135.8 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.096e-05/3.194, allocations: 6.625 kB / 1.58 GB, free: 135.8 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.906e-06/3.194, allocations: 10.19 kB / 1.58 GB, free: 135.8 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.538e-05/3.194, allocations: 10 kB / 1.58 GB, free: 135.8 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003766/3.194, allocations: 119.9 kB / 1.58 GB, free: 135.7 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.542e-05/3.194, allocations: 11.62 kB / 1.58 GB, free: 135.7 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006442/3.195, allocations: 75.95 kB / 1.58 GB, free: 135.7 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.473e-05/3.195, allocations: 26.98 kB / 1.58 GB, free: 135.7 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (57): * Single equations (assignments): 57 * 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 prepare postOptimizeDAE: time 0.0001017/3.195, allocations: 131.7 kB / 1.58 GB, free: 135.6 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001074/3.195, allocations: 84.41 kB / 1.58 GB, free: 135.5 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007058/3.196, allocations: 423.6 kB / 1.58 GB, free: 135.3 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.784e-06/3.196, allocations: 4.969 kB / 1.58 GB, free: 135.3 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/3.196, allocations: 0 / 1.58 GB, free: 135.3 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004801/3.196, allocations: 401.1 kB / 1.581 GB, free: 135 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001664/3.198, allocations: 1.277 MB / 1.582 GB, free: 134 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.937e-06/3.198, allocations: 2.188 kB / 1.582 GB, free: 134 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000323/3.198, allocations: 85.38 kB / 1.582 GB, free: 134 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.739e-06/3.198, allocations: 0 / 1.582 GB, free: 134 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.478e-05/3.198, allocations: 5.156 kB / 1.582 GB, free: 134 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.07e-06/3.198, allocations: 2.906 kB / 1.582 GB, free: 134 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.668e-06/3.198, allocations: 7.578 kB / 1.582 GB, free: 134 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008838/3.199, allocations: 0.7361 MB / 1.583 GB, free: 133.5 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002426/3.2, allocations: 230.6 kB / 1.583 GB, free: 133.3 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.339e-05/3.2, allocations: 2.812 kB / 1.583 GB, free: 133.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004809/3.2, allocations: 49.83 kB / 1.583 GB, free: 133.3 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.552e-05/3.2, allocations: 31.53 kB / 1.583 GB, free: 133.3 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.443e-05/3.2, allocations: 22.86 kB / 1.583 GB, free: 133.2 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0005702/3.201, allocations: 496.9 kB / 1.584 GB, free: 133 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.363e-06/3.201, allocations: 0 / 1.584 GB, free: 133 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001304/3.202, allocations: 367.8 kB / 1.584 GB, free: 132.9 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (fouPor.vol1.dynBal.U,fouPor.vol2.dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.001168/3.203, allocations: 0.5698 MB / 1.585 GB, free: 132.5 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0004764/3.204, allocations: 326.6 kB / 1.585 GB, free: 132.1 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/3.204, allocations: 0 / 1.585 GB, free: 132.1 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002174/3.204, allocations: 163.1 kB / 1.585 GB, free: 132 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002137/3.206, allocations: 477.1 kB / 1.585 GB, free: 131.6 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002084/3.208, allocations: 1.167 MB / 1.587 GB, free: 130.4 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005095/3.209, allocations: 1.055 MB / 1.588 GB, free: 129.4 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0006954/3.21, allocations: 182.5 kB / 1.588 GB, free: 129.2 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001357/3.21, allocations: 77.16 kB / 1.588 GB, free: 129.1 MB / 0.698 GB Notification: Performance of SimCode: time 4.41e-07/3.21, allocations: 0 / 1.588 GB, free: 129.1 MB / 0.698 GB Notification: Performance of Templates: time 0.02681/3.237, allocations: 17.05 MB / 1.604 GB, free: 112.9 MB / 0.698 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.sim & ./BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.FourPortHeatMassExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe 2>&1)