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/ModelicaServices 4.0.0+maint.om/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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001151/0.001151, allocations: 104.7 kB / 16.27 MB, free: 6.059 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001135/0.001135, allocations: 194.8 kB / 17.2 MB, free: 5.688 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.182/1.182, allocations: 222.9 MB / 240.9 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6609/0.6609, allocations: 122.9 MB / 413.9 MB, free: 15.85 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001627/0.001627, allocations: 68.12 kB / 0.4912 GB, free: 7.359 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2793/0.281, allocations: 77.92 MB / 0.5673 GB, free: 32.67 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.02975/0.3108, allocations: 41.56 MB / 0.6079 GB, free: 1.078 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01241/0.3232, allocations: 10.4 MB / 0.618 GB, free: 6.785 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001106/0.3244, allocations: 55.69 kB / 0.6181 GB, free: 6.73 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001266/0.3256, allocations: 0.6365 MB / 0.6187 GB, free: 6.09 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003261/0.329, allocations: 1.885 MB / 0.6205 GB, free: 4.199 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002118/0.3311, allocations: 1.17 MB / 0.6217 GB, free: 3.039 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.002778/0.3339, allocations: 3.39 MB / 0.625 GB, free: 15.64 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001066/0.3349, allocations: 1.067 MB / 0.626 GB, free: 14.55 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001865/0.3368, allocations: 1.229 MB / 0.6272 GB, free: 13.33 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008621/0.3377, allocations: 0.8828 MB / 0.6281 GB, free: 12.44 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001394/0.3378, allocations: 100 kB / 0.6282 GB, free: 12.34 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001588/0.3394, allocations: 0.8578 MB / 0.629 GB, free: 11.48 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002558/0.3397, allocations: 275 kB / 0.6293 GB, free: 11.21 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005744/0.3403, allocations: 0.6376 MB / 0.6299 GB, free: 10.57 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002085/0.3424, allocations: 1.901 MB / 0.6318 GB, free: 8.668 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.878e-06/0.3424, allocations: 0 / 0.6318 GB, free: 8.668 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.3424, allocations: 0 / 0.6318 GB, free: 8.668 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.336e-05/0.3424, allocations: 0 / 0.6318 GB, free: 8.668 MB / 478.1 MB 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.001983/0.3444, allocations: 1.522 MB / 0.6332 GB, free: 7.094 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.112e-05/0.3444, allocations: 8.031 kB / 0.6333 GB, free: 7.086 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001192/0.3446, allocations: 114.7 kB / 0.6334 GB, free: 6.965 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003095/0.3449, allocations: 139.4 kB / 0.6335 GB, free: 6.828 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001431/0.3463, allocations: 1.037 MB / 0.6345 GB, free: 5.746 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.907e-05/0.3464, allocations: 54 kB / 0.6346 GB, free: 5.695 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.927e-05/0.3465, allocations: 72 kB / 0.6346 GB, free: 5.625 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001176/0.3477, allocations: 0.7905 MB / 0.6354 GB, free: 4.797 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.04e-05/0.3477, allocations: 3.938 kB / 0.6354 GB, free: 4.793 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.912e-05/0.3477, allocations: 35.92 kB / 0.6354 GB, free: 4.758 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.398e-05/0.3478, allocations: 27.94 kB / 0.6355 GB, free: 4.73 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001025/0.3488, allocations: 0.5672 MB / 0.636 GB, free: 4.164 MB / 478.1 MB 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.003376/0.3522, allocations: 3.572 MB / 0.6395 GB, free: 372 kB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005096/0.3527, allocations: 266.4 kB / 0.6398 GB, free: 96 kB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003265/0.3531, allocations: 168.8 kB / 0.6399 GB, free: 15.93 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004479/0.3535, allocations: 0.6648 MB / 0.6406 GB, free: 15.11 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.045e-05/0.3535, allocations: 42.5 kB / 0.6406 GB, free: 15.06 MB / 494.1 MB Notification: Performance of pre-optimization done (n=31): time 2.685e-06/0.3536, allocations: 3.984 kB / 0.6406 GB, free: 15.06 MB / 494.1 MB Notification: Performance of matching and sorting (n=31): time 0.001551/0.3551, allocations: 0.5125 MB / 0.6411 GB, free: 14.54 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.774e-05/0.3552, allocations: 51.41 kB / 0.6412 GB, free: 14.48 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001669/0.3569, allocations: 0.9495 MB / 0.6421 GB, free: 13.51 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 5.586e-05/0.3569, allocations: 33.7 kB / 0.6421 GB, free: 13.47 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005344/0.3575, allocations: 0.4917 MB / 0.6426 GB, free: 12.97 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001334/0.3576, allocations: 114.4 kB / 0.6427 GB, free: 12.86 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002169/0.3578, allocations: 110.1 kB / 0.6428 GB, free: 12.75 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001432/0.358, allocations: 333.9 kB / 0.6431 GB, free: 12.41 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005356/0.3585, allocations: 169 kB / 0.6433 GB, free: 12.25 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007024/0.3593, allocations: 346.9 kB / 0.6436 GB, free: 11.83 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007673/0.36, allocations: 0.5109 MB / 0.6441 GB, free: 11.25 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.36, allocations: 0 / 0.6441 GB, free: 11.25 MB / 494.1 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001023/0.3611, allocations: 0.6173 MB / 0.6447 GB, free: 10.62 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.621e-05/0.3611, allocations: 8 kB / 0.6447 GB, free: 10.62 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.446e-06/0.3611, allocations: 4 kB / 0.6447 GB, free: 10.61 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.604e-05/0.3611, allocations: 8 kB / 0.6448 GB, free: 10.61 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004013/0.3615, allocations: 131.8 kB / 0.6449 GB, free: 10.48 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.376e-05/0.3616, allocations: 11.94 kB / 0.6449 GB, free: 10.46 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005078/0.3621, allocations: 91.41 kB / 0.645 GB, free: 10.38 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.934e-05/0.3621, allocations: 27.94 kB / 0.645 GB, free: 10.35 MB / 494.1 MB 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (65): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002945/0.3624, allocations: 274.3 kB / 0.6453 GB, free: 10.07 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001418/0.3626, allocations: 98.78 kB / 0.6454 GB, free: 9.973 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008894/0.3635, allocations: 488.7 kB / 0.6458 GB, free: 9.496 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.616e-06/0.3635, allocations: 4 kB / 0.6458 GB, free: 9.492 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.83e-06/0.3635, allocations: 0 / 0.6458 GB, free: 9.492 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006708/0.3642, allocations: 461.1 kB / 0.6463 GB, free: 9.012 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001741/0.3659, allocations: 1.363 MB / 0.6476 GB, free: 7.578 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.3659, allocations: 0 / 0.6476 GB, free: 7.578 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003022/0.3662, allocations: 83.97 kB / 0.6477 GB, free: 7.496 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.519e-06/0.3663, allocations: 4 kB / 0.6477 GB, free: 7.492 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.194e-05/0.3663, allocations: 8 kB / 0.6477 GB, free: 7.484 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.456e-06/0.3663, allocations: 3.938 kB / 0.6477 GB, free: 7.48 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.3663, allocations: 7.938 kB / 0.6477 GB, free: 7.473 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001155/0.3675, allocations: 0.7583 MB / 0.6484 GB, free: 6.684 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002418/0.3677, allocations: 227.7 kB / 0.6487 GB, free: 6.441 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001069/0.3678, allocations: 16.05 kB / 0.6487 GB, free: 6.426 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004498/0.3683, allocations: 27.97 kB / 0.6487 GB, free: 6.398 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.248e-05/0.3684, allocations: 27.91 kB / 0.6487 GB, free: 6.371 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.174e-05/0.3684, allocations: 19.98 kB / 0.6487 GB, free: 6.352 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0007553/0.3692, allocations: 0.6627 MB / 0.6494 GB, free: 5.68 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3692, allocations: 0 / 0.6494 GB, free: 5.68 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000806/0.37, allocations: 339.5 kB / 0.6497 GB, free: 5.348 MB / 494.1 MB 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001977/0.372, allocations: 1.602 MB / 0.6513 GB, free: 3.715 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0008717/0.3728, allocations: 447.2 kB / 0.6517 GB, free: 3.277 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.3729, allocations: 1.375 kB / 0.6517 GB, free: 3.277 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003671/0.3732, allocations: 188.1 kB / 0.6519 GB, free: 3.094 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002438/0.3757, allocations: 0.6129 MB / 0.6525 GB, free: 2.527 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008468/0.3842, allocations: 7.228 MB / 0.6595 GB, free: 10.9 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005161/0.3847, allocations: 1.036 MB / 0.6606 GB, free: 9.832 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0006513/0.3854, allocations: 201.3 kB / 0.6608 GB, free: 9.641 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004005/0.3858, allocations: 375.2 kB / 0.6611 GB, free: 9.273 MB / 0.4981 GB Notification: Performance of SimCode: time 4e-07/0.3858, allocations: 0 / 0.6611 GB, free: 9.273 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.285/1.671, allocations: 29.53 MB / 0.69 GB, free: 12.11 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.422/11.09, allocations: 16.36 kB / 0.69 GB, free: 12.1 MB / 0.5294 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/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)