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/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/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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(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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009685/0.0009685, allocations: 99.7 kB / 15.05 MB, free: 1.105 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.0009508/0.0009508, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.381/1.381, allocations: 223.2 MB / 239.9 MB, free: 5.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.028/1.028, allocations: 143.3 MB / 434.3 MB, free: 13.71 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003211/0.0003211, allocations: 12 kB / 0.5159 GB, free: 11.32 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1779/0.1782, allocations: 83.41 MB / 0.5973 GB, free: 7.852 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.3372/0.5155, allocations: 34.8 MB / 0.6313 GB, free: 24.19 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01179/0.5273, allocations: 8.963 MB / 0.6401 GB, free: 17.84 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001884/0.5292, allocations: 46.5 kB / 0.6401 GB, free: 17.82 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002017/0.5313, allocations: 0.6068 MB / 0.6407 GB, free: 17.48 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.006123/0.5374, allocations: 1.83 MB / 0.6425 GB, free: 16.29 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00397/0.5414, allocations: 1.35 MB / 0.6438 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.003695/0.5451, allocations: 1.973 MB / 0.6458 GB, free: 14.6 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001386/0.5465, allocations: 0.7524 MB / 0.6465 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001978/0.5485, allocations: 0.8894 MB / 0.6474 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001061/0.5496, allocations: 0.5379 MB / 0.6479 GB, free: 13.65 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001044/0.5497, allocations: 38.75 kB / 0.6479 GB, free: 13.65 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00159/0.5513, allocations: 0.5442 MB / 0.6484 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001737/0.5515, allocations: 190.5 kB / 0.6486 GB, free: 13.4 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002588/0.5517, allocations: 261 kB / 0.6489 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001234/0.553, allocations: 1.447 MB / 0.6503 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.836e-06/0.553, allocations: 0 / 0.6503 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.094e-06/0.553, allocations: 3.938 kB / 0.6503 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.279e-05/0.553, allocations: 0 / 0.6503 GB, free: 12.91 MB / 0.4981 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.00187/0.5549, allocations: 1.315 MB / 0.6516 GB, free: 12.01 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.153e-05/0.5549, allocations: 8.5 kB / 0.6516 GB, free: 12.01 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001197/0.5551, allocations: 114.9 kB / 0.6517 GB, free: 11.93 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002846/0.5554, allocations: 139.1 kB / 0.6518 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001407/0.5568, allocations: 0.9845 MB / 0.6528 GB, free: 11.27 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.226e-05/0.5568, allocations: 60.11 kB / 0.6528 GB, free: 11.24 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001006/0.5569, allocations: 73.41 kB / 0.6529 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001198/0.5581, allocations: 0.7857 MB / 0.6537 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.206e-05/0.5582, allocations: 1.062 kB / 0.6537 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.148e-05/0.5582, allocations: 27.38 kB / 0.6537 GB, free: 10.82 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.281e-05/0.5583, allocations: 29.28 kB / 0.6537 GB, free: 10.81 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001119/0.5594, allocations: 0.5876 MB / 0.6543 GB, free: 10.61 MB / 0.4981 GB 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.003573/0.563, allocations: 3.583 MB / 0.6578 GB, free: 8.012 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006063/0.5636, allocations: 266.7 kB / 0.6581 GB, free: 7.914 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003587/0.564, allocations: 0.6572 MB / 0.6587 GB, free: 7.152 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.255e-05/0.564, allocations: 43.91 kB / 0.6588 GB, free: 7.105 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=31): time 2.965e-06/0.564, allocations: 0 / 0.6588 GB, free: 7.105 MB / 0.4981 GB Notification: Performance of matching and sorting (n=31): time 0.00154/0.5656, allocations: 0.548 MB / 0.6593 GB, free: 6.898 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.708e-05/0.5656, allocations: 54.41 kB / 0.6593 GB, free: 6.836 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001587/0.5672, allocations: 0.9674 MB / 0.6603 GB, free: 6.422 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.55e-05/0.5673, allocations: 36.27 kB / 0.6603 GB, free: 6.383 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004255/0.5677, allocations: 496.1 kB / 0.6608 GB, free: 5.992 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001158/0.5678, allocations: 116.2 kB / 0.6609 GB, free: 5.902 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.125e-05/0.5679, allocations: 14.5 kB / 0.6609 GB, free: 5.891 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.746e-05/0.568, allocations: 326.1 kB / 0.6612 GB, free: 5.578 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000402/0.5684, allocations: 172.1 kB / 0.6614 GB, free: 5.527 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005066/0.5689, allocations: 361 kB / 0.6617 GB, free: 5.254 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004598/0.5694, allocations: 224.1 kB / 0.6619 GB, free: 5.168 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.801e-06/0.5694, allocations: 1.031 kB / 0.6619 GB, free: 5.168 MB / 0.4981 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001164/0.5706, allocations: 0.6401 MB / 0.6626 GB, free: 4.902 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.383e-05/0.5706, allocations: 11.33 kB / 0.6626 GB, free: 4.898 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.234e-05/0.5706, allocations: 5.906 kB / 0.6626 GB, free: 4.898 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.188e-05/0.5706, allocations: 9.656 kB / 0.6626 GB, free: 4.898 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004552/0.5711, allocations: 135.7 kB / 0.6627 GB, free: 4.879 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.677e-05/0.5711, allocations: 10.59 kB / 0.6627 GB, free: 4.879 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007752/0.5719, allocations: 114.9 kB / 0.6628 GB, free: 4.828 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.259e-05/0.572, allocations: 29.3 kB / 0.6629 GB, free: 4.82 MB / 0.4981 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004195/0.5724, allocations: 276.6 kB / 0.6631 GB, free: 4.613 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000128/0.5725, allocations: 106.8 kB / 0.6632 GB, free: 4.555 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001006/0.5735, allocations: 0.5019 MB / 0.6637 GB, free: 4.363 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.037e-05/0.5736, allocations: 3.656 kB / 0.6637 GB, free: 4.363 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.5736, allocations: 0.7969 kB / 0.6637 GB, free: 4.363 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000699/0.5743, allocations: 471.8 kB / 0.6642 GB, free: 4.109 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002408/0.5767, allocations: 1.399 MB / 0.6656 GB, free: 3.355 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.621e-06/0.5767, allocations: 1.562 kB / 0.6656 GB, free: 3.355 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003638/0.5771, allocations: 82.25 kB / 0.6656 GB, free: 3.348 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.045e-06/0.5771, allocations: 3.969 kB / 0.6656 GB, free: 3.348 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.189e-05/0.5771, allocations: 9.984 kB / 0.6656 GB, free: 3.344 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.114e-06/0.5772, allocations: 7.219 kB / 0.6657 GB, free: 3.34 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/0.5772, allocations: 2.906 kB / 0.6657 GB, free: 3.34 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001429/0.5786, allocations: 0.8531 MB / 0.6665 GB, free: 2.848 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004973/0.5791, allocations: 259.4 kB / 0.6667 GB, free: 2.648 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001234/0.5792, allocations: 11.64 kB / 0.6667 GB, free: 2.641 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006273/0.5799, allocations: 71.52 kB / 0.6668 GB, free: 2.617 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.034e-05/0.58, allocations: 29.52 kB / 0.6668 GB, free: 2.609 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.324e-05/0.58, allocations: 17 kB / 0.6669 GB, free: 2.609 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001176/0.5812, allocations: 0.6766 MB / 0.6675 GB, free: 2.309 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.91e-07/0.5812, allocations: 0 / 0.6675 GB, free: 2.309 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001966/0.5832, allocations: 340.3 kB / 0.6678 GB, free: 2.234 MB / 0.4981 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 () * 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 (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.003063/0.5863, allocations: 2.02 MB / 0.6698 GB, free: 0.7812 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001015/0.5873, allocations: 437 kB / 0.6702 GB, free: 0.6562 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.5873, allocations: 1.375 kB / 0.6702 GB, free: 0.6562 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003988/0.5877, allocations: 195.1 kB / 0.6704 GB, free: 0.6016 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003028/0.5907, allocations: 0.59 MB / 0.671 GB, free: 468 kB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005291/0.5961, allocations: 5.968 MB / 0.6768 GB, free: 11.34 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000754/0.5968, allocations: 1.059 MB / 0.6779 GB, free: 10.61 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001028/0.5979, allocations: 198.3 kB / 0.6781 GB, free: 10.56 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004822/0.5984, allocations: 367.8 kB / 0.6784 GB, free: 10.3 MB / 0.5137 GB Notification: Performance of SimCode: time 1.343e-06/0.5984, allocations: 0 / 0.6784 GB, free: 10.3 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06096/0.6593, allocations: 29.31 MB / 0.707 GB, free: 11.43 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002029/0.6596, allocations: 250.9 kB / 0.7073 GB, free: 11.18 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.308/2.968, allocations: 0 / 0.7073 GB, free: 11.18 MB / 0.5294 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) Environment - environmentSimulation: