Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Interfaces_Examples_FourPortHeatMassExchanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Interfaces_Examples_FourPortHeatMassExchanger",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7802/0.7802, allocations: 127.3 MB / 139.8 MB, free: 15.47 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001142/0.001142, allocations: 180.8 kB / 169.7 MB, free: 1.723 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.844/1.844, allocations: 205.1 MB / 404.5 MB, free: 1.578 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008532/0.0008527, allocations: 86.53 kB / 481.8 MB, free: 4.227 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.757e-05/3.759e-05, allocations: 4 kB / 0.5533 GB, free: 54.72 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1984/0.1985, allocations: 76.75 MB / 0.6282 GB, free: 9.91 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.382/1.58, allocations: 368.1 MB / 0.9877 GB, free: 144.2 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002807/1.581, allocations: 96.14 kB / 0.9878 GB, free: 144.2 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 1.32/2.901, allocations: 419.9 MB / 1.398 GB, free: 7.723 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.845e-06/2.901, allocations: 0 / 1.398 GB, free: 7.723 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0001912/2.901, allocations: 35.92 kB / 1.398 GB, free: 7.688 MB / 0.6511 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.003566/2.905, allocations: 1.24 MB / 1.399 GB, free: 6.402 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.05e-05/2.905, allocations: 11.97 kB / 1.399 GB, free: 6.391 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003224/2.905, allocations: 118.5 kB / 1.399 GB, free: 6.266 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006686/2.906, allocations: 134.5 kB / 1.399 GB, free: 6.133 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.549/3.455, allocations: 22.48 MB / 1.421 GB, free: 113.8 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.55e-05/3.455, allocations: 58.66 kB / 1.421 GB, free: 113.8 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000125/3.455, allocations: 73.53 kB / 1.421 GB, free: 113.8 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001369/3.457, allocations: 0.7123 MB / 1.422 GB, free: 113.6 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.715e-05/3.457, allocations: 1.891 kB / 1.422 GB, free: 113.6 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.429e-05/3.457, allocations: 28.25 kB / 1.422 GB, free: 113.6 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.766e-05/3.457, allocations: 20.75 kB / 1.422 GB, free: 113.6 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008892/3.458, allocations: 494.2 kB / 1.423 GB, free: 113.6 MB / 0.6511 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.004849/3.463, allocations: 3.63 MB / 1.426 GB, free: 111.7 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006889/3.463, allocations: 310.6 kB / 1.427 GB, free: 111.6 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000231/3.464, allocations: 126.6 kB / 1.427 GB, free: 111.6 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005319/3.464, allocations: 0.659 MB / 1.427 GB, free: 110.8 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.652e-05/3.464, allocations: 35.84 kB / 1.427 GB, free: 110.8 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=25): time 3.136e-06/3.464, allocations: 0 / 1.427 GB, free: 110.8 MB / 0.6511 GB Notification: Performance of matching and sorting (n=25): time 0.000768/3.465, allocations: 310.5 kB / 1.428 GB, free: 110.7 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.744e-05/3.465, allocations: 56.19 kB / 1.428 GB, free: 110.7 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001231/3.466, allocations: 0.7894 MB / 1.428 GB, free: 110.5 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 3.639e-05/3.466, allocations: 31.8 kB / 1.428 GB, free: 110.5 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004281/3.467, allocations: 0.5125 MB / 1.429 GB, free: 110.3 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 9.439e-05/3.467, allocations: 95.3 kB / 1.429 GB, free: 110.3 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.838e-05/3.467, allocations: 12.12 kB / 1.429 GB, free: 110.3 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 8.61e-05/3.467, allocations: 322.1 kB / 1.429 GB, free: 110 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001863/3.467, allocations: 104.7 kB / 1.429 GB, free: 110 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003418/3.467, allocations: 331.4 kB / 1.43 GB, free: 109.7 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003072/3.468, allocations: 170.1 kB / 1.43 GB, free: 109.7 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.969e-06/3.468, allocations: 1.031 kB / 1.43 GB, free: 109.7 MB / 0.6511 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0009432/3.469, allocations: 0.4956 MB / 1.43 GB, free: 109.6 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 3.303e-05/3.469, allocations: 7.969 kB / 1.43 GB, free: 109.6 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.696e-05/3.469, allocations: 10.06 kB / 1.43 GB, free: 109.6 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.495e-05/3.469, allocations: 8.344 kB / 1.43 GB, free: 109.6 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000481/3.469, allocations: 124.9 kB / 1.431 GB, free: 109.6 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.246e-05/3.469, allocations: 10.8 kB / 1.431 GB, free: 109.6 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008248/3.47, allocations: 122.8 kB / 1.431 GB, free: 109.6 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.99e-05/3.47, allocations: 22.53 kB / 1.431 GB, free: 109.6 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 54 * 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.0001188/3.47, allocations: 132.5 kB / 1.431 GB, free: 109.5 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001689/3.471, allocations: 105.7 kB / 1.431 GB, free: 109.4 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007543/3.471, allocations: 380.8 kB / 1.431 GB, free: 109.3 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.064e-05/3.471, allocations: 2.469 kB / 1.431 GB, free: 109.3 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/3.471, allocations: 0 / 1.431 GB, free: 109.3 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004035/3.472, allocations: 318.5 kB / 1.432 GB, free: 109.2 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001754/3.474, allocations: 1.123 MB / 1.433 GB, free: 108.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.007e-06/3.474, allocations: 4.266 kB / 1.433 GB, free: 108.8 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002785/3.474, allocations: 56.94 kB / 1.433 GB, free: 108.8 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.538e-06/3.474, allocations: 2.875 kB / 1.433 GB, free: 108.8 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.345e-05/3.474, allocations: 14.28 kB / 1.433 GB, free: 108.8 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.3e-06/3.474, allocations: 2.812 kB / 1.433 GB, free: 108.8 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/3.474, allocations: 1.5 kB / 1.433 GB, free: 108.8 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007817/3.475, allocations: 0.5996 MB / 1.433 GB, free: 108.5 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003232/3.475, allocations: 226.7 kB / 1.434 GB, free: 108.4 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001059/3.475, allocations: 7.156 kB / 1.434 GB, free: 108.4 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004781/3.476, allocations: 51.27 kB / 1.434 GB, free: 108.4 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.161e-05/3.476, allocations: 17.56 kB / 1.434 GB, free: 108.4 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.172e-05/3.476, allocations: 19.8 kB / 1.434 GB, free: 108.4 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0009544/3.477, allocations: 0.6483 MB / 1.434 GB, free: 108.3 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.8e-07/3.477, allocations: 2.875 kB / 1.434 GB, free: 108.3 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001437/3.478, allocations: 350 kB / 1.435 GB, free: 108.3 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (24): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.00226/3.48, allocations: 1.848 MB / 1.436 GB, free: 107.2 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0006802/3.481, allocations: 296 kB / 1.437 GB, free: 107.2 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/3.481, allocations: 3.875 kB / 1.437 GB, free: 107.2 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0002712/3.481, allocations: 117.7 kB / 1.437 GB, free: 107.2 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002896/3.484, allocations: 0.5925 MB / 1.437 GB, free: 107.2 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003511/3.488, allocations: 1.364 MB / 1.439 GB, free: 106.7 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006275/3.488, allocations: 1.047 MB / 1.44 GB, free: 106 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0008521/3.489, allocations: 185.8 kB / 1.44 GB, free: 106 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000472/3.49, allocations: 370.2 kB / 1.44 GB, free: 106 MB / 0.6511 GB Notification: Performance of SimCode: time 9.61e-07/3.49, allocations: 0 / 1.44 GB, free: 106 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06363/3.553, allocations: 31.78 MB / 1.471 GB, free: 104.9 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002149/3.554, allocations: 204 kB / 1.472 GB, free: 104.7 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.971/6.525, allocations: 2.156 kB / 1.472 GB, free: 104.7 MB / 0.6511 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Interfaces_Examples_FourPortHeatMassExchanger_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Interfaces_Examples_FourPortHeatMassExchanger.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe 2>&1)