Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.conf.json 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/IBPSA 4.0.0-master/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) 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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: "" <> buildModelFMU(IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_FourPortHeatMassExchanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_FourPortHeatMassExchanger",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001197/0.001196, allocations: 179 kB / 13.19 MB, free: 2.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4814/0.4814, allocations: 90.8 MB / 104.5 MB, free: 9.793 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.418/1.418, allocations: 221.3 MB / 348.3 MB, free: 0.5039 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009352/0.0009353, allocations: 99.92 kB / 421.2 MB, free: 5.5 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.623e-05/3.625e-05, allocations: 4 kB / 0.4897 GB, free: 5.285 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4364/0.4365, allocations: 72.3 MB / 0.5603 GB, free: 40.45 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.793/1.23, allocations: 371.9 MB / 0.9235 GB, free: 10.91 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002276/1.23, allocations: 90.08 kB / 0.9236 GB, free: 10.86 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 1.545/2.775, allocations: 444.3 MB / 1.357 GB, free: 53.41 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.953e-06/2.775, allocations: 4 kB / 1.358 GB, free: 53.4 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 9.778e-05/2.775, allocations: 27.98 kB / 1.358 GB, free: 53.38 MB / 0.6042 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.001907/2.777, allocations: 1.254 MB / 1.359 GB, free: 52.08 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.376e-05/2.777, allocations: 15.98 kB / 1.359 GB, free: 52.06 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000119/2.777, allocations: 114.5 kB / 1.359 GB, free: 51.94 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003024/2.777, allocations: 142.4 kB / 1.359 GB, free: 51.8 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02224/2.8, allocations: 12.96 MB / 1.372 GB, free: 38.66 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.956e-05/2.8, allocations: 54.86 kB / 1.372 GB, free: 38.61 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.379e-05/2.8, allocations: 68 kB / 1.372 GB, free: 38.54 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001133/2.801, allocations: 0.7321 MB / 1.373 GB, free: 37.78 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.129e-05/2.801, allocations: 0 / 1.373 GB, free: 37.78 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.953e-05/2.801, allocations: 32 kB / 1.373 GB, free: 37.75 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.852e-05/2.801, allocations: 27.97 kB / 1.373 GB, free: 37.72 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006796/2.802, allocations: 493 kB / 1.373 GB, free: 37.24 MB / 0.6042 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.003259/2.805, allocations: 3.552 MB / 1.377 GB, free: 33.46 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004712/2.806, allocations: 331.7 kB / 1.377 GB, free: 33.11 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001866/2.806, allocations: 156.8 kB / 1.377 GB, free: 32.95 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00044/2.806, allocations: 0.6609 MB / 1.378 GB, free: 32.14 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.808e-05/2.806, allocations: 38.56 kB / 1.378 GB, free: 32.1 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=31): time 1.793e-06/2.806, allocations: 0 / 1.378 GB, free: 32.1 MB / 0.6042 GB Notification: Performance of matching and sorting (n=31): time 0.0005896/2.807, allocations: 360.9 kB / 1.378 GB, free: 31.74 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.279e-05/2.807, allocations: 71.28 kB / 1.378 GB, free: 31.66 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000873/2.808, allocations: 0.8121 MB / 1.379 GB, free: 30.82 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.602e-05/2.808, allocations: 33.7 kB / 1.379 GB, free: 30.79 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003066/2.808, allocations: 0.4958 MB / 1.379 GB, free: 30.28 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 8.338e-05/2.808, allocations: 114.4 kB / 1.379 GB, free: 30.17 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.833e-05/2.808, allocations: 8 kB / 1.379 GB, free: 30.16 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.098e-05/2.808, allocations: 329.9 kB / 1.38 GB, free: 29.83 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001753/2.809, allocations: 125.1 kB / 1.38 GB, free: 29.71 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002854/2.809, allocations: 339.3 kB / 1.38 GB, free: 29.29 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002485/2.809, allocations: 184.1 kB / 1.38 GB, free: 29.11 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/2.809, allocations: 7.938 kB / 1.38 GB, free: 29.1 MB / 0.6042 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0006686/2.81, allocations: 0.5308 MB / 1.381 GB, free: 28.56 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.745e-05/2.81, allocations: 8 kB / 1.381 GB, free: 28.55 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.1e-05/2.81, allocations: 4 kB / 1.381 GB, free: 28.55 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.815e-05/2.81, allocations: 8.688 kB / 1.381 GB, free: 28.54 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004051/2.81, allocations: 119.8 kB / 1.381 GB, free: 28.42 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.406e-05/2.81, allocations: 8 kB / 1.381 GB, free: 28.41 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007218/2.811, allocations: 115.2 kB / 1.381 GB, free: 28.3 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.136e-05/2.811, allocations: 24 kB / 1.381 GB, free: 28.28 MB / 0.6042 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.0001199/2.811, allocations: 140.8 kB / 1.381 GB, free: 28.13 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000123/2.811, allocations: 98.78 kB / 1.381 GB, free: 28.04 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006736/2.812, allocations: 459 kB / 1.382 GB, free: 27.58 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.164e-05/2.812, allocations: 4 kB / 1.382 GB, free: 27.57 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/2.812, allocations: 0 / 1.382 GB, free: 27.57 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003974/2.813, allocations: 409.5 kB / 1.382 GB, free: 27.14 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001687/2.814, allocations: 1.389 MB / 1.384 GB, free: 25.67 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.27e-06/2.814, allocations: 4 kB / 1.384 GB, free: 25.66 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003069/2.815, allocations: 83.88 kB / 1.384 GB, free: 25.58 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.084e-06/2.815, allocations: 4 kB / 1.384 GB, free: 25.58 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.514e-05/2.815, allocations: 8 kB / 1.384 GB, free: 25.57 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/2.815, allocations: 8.156 kB / 1.384 GB, free: 25.56 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/2.815, allocations: 3.953 kB / 1.384 GB, free: 25.56 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007933/2.815, allocations: 0.7903 MB / 1.385 GB, free: 24.71 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002708/2.816, allocations: 251.6 kB / 1.385 GB, free: 24.45 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.681e-05/2.816, allocations: 4 kB / 1.385 GB, free: 24.45 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000508/2.816, allocations: 55.92 kB / 1.385 GB, free: 24.39 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.451e-05/2.816, allocations: 39.83 kB / 1.385 GB, free: 24.35 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.26e-05/2.816, allocations: 23.98 kB / 1.385 GB, free: 24.33 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.000674/2.817, allocations: 0.644 MB / 1.386 GB, free: 23.67 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.6e-07/2.817, allocations: 0 / 1.386 GB, free: 23.67 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001023/2.818, allocations: 363.5 kB / 1.386 GB, free: 23.32 MB / 0.6042 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.001732/2.82, allocations: 2.118 MB / 1.388 GB, free: 21.15 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0004761/2.82, allocations: 352.8 kB / 1.388 GB, free: 20.8 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.93e-06/2.82, allocations: 8.062 kB / 1.388 GB, free: 20.8 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002006/2.821, allocations: 163.8 kB / 1.388 GB, free: 20.64 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002454/2.823, allocations: 0.5956 MB / 1.389 GB, free: 20.05 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002164/2.825, allocations: 1.443 MB / 1.39 GB, free: 18.54 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003829/2.826, allocations: 1.06 MB / 1.391 GB, free: 17.45 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0006759/2.826, allocations: 212.4 kB / 1.392 GB, free: 17.24 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003854/2.827, allocations: 379.3 kB / 1.392 GB, free: 16.87 MB / 0.6042 GB Notification: Performance of SimCode: time 4.11e-07/2.827, allocations: 3.938 kB / 1.392 GB, free: 16.87 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4202/3.247, allocations: 32.74 MB / 1.424 GB, free: 99.4 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001452/3.247, allocations: 203.7 kB / 1.424 GB, free: 99.18 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.153/6.401, allocations: 0 / 1.424 GB, free: 99.18 MB / 0.6042 GB (rm -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_FourPortHeatMassExchanger_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_FourPortHeatMassExchanger.fmu > IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe 2>&1)