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.005908/0.005908, allocations: 101.5 kB / 15.88 MB, free: 6.312 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.001355/0.001356, allocations: 194.8 kB / 16.79 MB, free: 6.242 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.271/1.271, allocations: 222.9 MB / 240.5 MB, free: 4.57 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.662/0.662, allocations: 115.3 MB / 406 MB, free: 2.77 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001425/0.001425, allocations: 59.91 kB / 493 MB, free: 6.73 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1803/0.1817, allocations: 76.19 MB / 0.5558 GB, free: 10.75 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.4042/0.586, allocations: 41.31 MB / 0.5962 GB, free: 10.5 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01749/0.6036, allocations: 10.46 MB / 0.6064 GB, free: 5.453 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002973/0.6067, allocations: 51.41 kB / 0.6065 GB, free: 5.434 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002031/0.6087, allocations: 0.5291 MB / 0.607 GB, free: 5.125 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00658/0.6153, allocations: 1.742 MB / 0.6087 GB, free: 4.098 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003808/0.6191, allocations: 1.075 MB / 0.6097 GB, free: 3.48 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.007089/0.6262, allocations: 4.512 MB / 0.6141 GB, free: 1.809 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001531/0.6278, allocations: 0.8809 MB / 0.615 GB, free: 1.441 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002677/0.6305, allocations: 1.045 MB / 0.616 GB, free: 0.9844 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001721/0.6322, allocations: 0.8941 MB / 0.6169 GB, free: 0.6016 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001776/0.6324, allocations: 47.97 kB / 0.6169 GB, free: 0.6016 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002526/0.6349, allocations: 0.7725 MB / 0.6177 GB, free: 312 kB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002571/0.6352, allocations: 239.3 kB / 0.6179 GB, free: 184 kB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008207/0.636, allocations: 0.5755 MB / 0.6185 GB, free: 15.85 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002832/0.6389, allocations: 1.872 MB / 0.6203 GB, free: 14.93 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.6389, allocations: 0 / 0.6203 GB, free: 14.93 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.6389, allocations: 0 / 0.6203 GB, free: 14.93 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.764e-05/0.6389, allocations: 1.156 kB / 0.6203 GB, free: 14.93 MB / 462.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.002823/0.6418, allocations: 1.524 MB / 0.6218 GB, free: 13.74 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.906e-05/0.6418, allocations: 10.16 kB / 0.6218 GB, free: 13.74 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001699/0.642, allocations: 114.6 kB / 0.6219 GB, free: 13.64 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003923/0.6424, allocations: 136.1 kB / 0.622 GB, free: 13.57 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001841/0.6442, allocations: 1.077 MB / 0.6231 GB, free: 12.72 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.328e-05/0.6443, allocations: 55.25 kB / 0.6231 GB, free: 12.69 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001168/0.6444, allocations: 71.31 kB / 0.6232 GB, free: 12.67 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001433/0.6459, allocations: 0.7923 MB / 0.624 GB, free: 12.16 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.015e-05/0.6459, allocations: 5.375 kB / 0.624 GB, free: 12.16 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.038e-05/0.646, allocations: 26.88 kB / 0.624 GB, free: 12.14 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.194e-05/0.646, allocations: 18.81 kB / 0.624 GB, free: 12.14 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001172/0.6472, allocations: 0.5723 MB / 0.6246 GB, free: 11.85 MB / 462.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.004775/0.652, allocations: 3.543 MB / 0.6281 GB, free: 8.738 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006169/0.6526, allocations: 263.4 kB / 0.6283 GB, free: 8.602 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003755/0.653, allocations: 180.8 kB / 0.6285 GB, free: 8.512 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006125/0.6536, allocations: 0.6588 MB / 0.6291 GB, free: 7.738 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.413e-05/0.6537, allocations: 36.72 kB / 0.6292 GB, free: 7.695 MB / 462.1 MB Notification: Performance of pre-optimization done (n=31): time 5.14e-06/0.6537, allocations: 4 kB / 0.6292 GB, free: 7.691 MB / 462.1 MB Notification: Performance of matching and sorting (n=31): time 0.001262/0.655, allocations: 0.5049 MB / 0.6296 GB, free: 7.438 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.812e-05/0.655, allocations: 54.94 kB / 0.6297 GB, free: 7.375 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001161/0.6562, allocations: 0.9326 MB / 0.6306 GB, free: 6.844 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.347e-05/0.6562, allocations: 36.39 kB / 0.6306 GB, free: 6.805 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004242/0.6567, allocations: 0.4954 MB / 0.6311 GB, free: 6.359 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001194/0.6568, allocations: 112.8 kB / 0.6312 GB, free: 6.262 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001839/0.657, allocations: 119.8 kB / 0.6314 GB, free: 6.184 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001624/0.6572, allocations: 331.8 kB / 0.6317 GB, free: 5.859 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003536/0.6575, allocations: 162 kB / 0.6318 GB, free: 5.781 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005311/0.6581, allocations: 352.7 kB / 0.6322 GB, free: 5.477 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008195/0.6589, allocations: 0.5152 MB / 0.6327 GB, free: 5.078 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.466e-06/0.6589, allocations: 3.031 kB / 0.6327 GB, free: 5.078 MB / 462.1 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001112/0.66, allocations: 0.614 MB / 0.6333 GB, free: 4.762 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.367e-05/0.6601, allocations: 8.219 kB / 0.6333 GB, free: 4.762 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.011e-05/0.6601, allocations: 4.828 kB / 0.6333 GB, free: 4.762 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.867e-05/0.6601, allocations: 12.16 kB / 0.6333 GB, free: 4.758 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004231/0.6605, allocations: 123.8 kB / 0.6334 GB, free: 4.73 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.617e-05/0.6606, allocations: 14.7 kB / 0.6334 GB, free: 4.723 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008225/0.6614, allocations: 106 kB / 0.6335 GB, free: 4.66 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.053e-05/0.6614, allocations: 29.33 kB / 0.6336 GB, free: 4.652 MB / 462.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.0004086/0.6619, allocations: 280.9 kB / 0.6338 GB, free: 4.434 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000203/0.6621, allocations: 98.94 kB / 0.6339 GB, free: 4.383 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001014/0.6631, allocations: 482 kB / 0.6344 GB, free: 4.117 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.255e-05/0.6631, allocations: 3.188 kB / 0.6344 GB, free: 4.117 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.975e-06/0.6631, allocations: 4.922 kB / 0.6344 GB, free: 4.113 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006974/0.6638, allocations: 455.1 kB / 0.6348 GB, free: 3.809 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00212/0.666, allocations: 1.359 MB / 0.6361 GB, free: 2.793 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/0.666, allocations: 2.906 kB / 0.6361 GB, free: 2.793 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003295/0.6663, allocations: 71.77 kB / 0.6362 GB, free: 2.777 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.254e-06/0.6663, allocations: 11.12 kB / 0.6362 GB, free: 2.77 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.524e-05/0.6664, allocations: 9.188 kB / 0.6362 GB, free: 2.766 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.225e-06/0.6664, allocations: 10.7 kB / 0.6362 GB, free: 2.758 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.6664, allocations: 0 / 0.6362 GB, free: 2.758 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001242/0.6676, allocations: 0.7662 MB / 0.637 GB, free: 2.27 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003613/0.668, allocations: 230.5 kB / 0.6372 GB, free: 2.062 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001194/0.6681, allocations: 6.969 kB / 0.6372 GB, free: 2.059 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005444/0.6687, allocations: 50.95 kB / 0.6373 GB, free: 2.035 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.185e-05/0.6688, allocations: 26.73 kB / 0.6373 GB, free: 2.02 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.087e-05/0.6688, allocations: 22.36 kB / 0.6373 GB, free: 2.012 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0007607/0.6696, allocations: 0.6506 MB / 0.6379 GB, free: 1.633 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.6696, allocations: 0 / 0.6379 GB, free: 1.633 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001012/0.6706, allocations: 332.4 kB / 0.6383 GB, free: 1.555 MB / 462.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.002184/0.6728, allocations: 1.593 MB / 0.6398 GB, free: 332 kB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0008907/0.6737, allocations: 420.6 kB / 0.6402 GB, free: 15.91 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.968e-06/0.6737, allocations: 4 kB / 0.6402 GB, free: 15.91 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003933/0.6741, allocations: 183.8 kB / 0.6404 GB, free: 15.73 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002677/0.6768, allocations: 0.5915 MB / 0.641 GB, free: 15.16 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01224/0.689, allocations: 7.48 MB / 0.6483 GB, free: 7.277 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006176/0.6897, allocations: 1.04 MB / 0.6493 GB, free: 6.207 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0009262/0.6906, allocations: 194.2 kB / 0.6495 GB, free: 6.02 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004875/0.6911, allocations: 375.3 kB / 0.6498 GB, free: 5.652 MB / 478.1 MB Notification: Performance of SimCode: time 1.102e-06/0.6911, allocations: 3.938 kB / 0.6498 GB, free: 5.648 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05746/0.7486, allocations: 28.32 MB / 0.6775 GB, free: 9.727 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002342/0.7489, allocations: 253.1 kB / 0.6777 GB, free: 9.473 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.636/3.385, allocations: 0 / 0.6777 GB, free: 9.473 MB / 0.4981 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)