Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,fileNamePrefix="IDEAS_IDEAS_Fluid_Interfaces_Examples_FourPortHeatMassExchanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,fileNamePrefix="IDEAS_IDEAS_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.001232/0.001232, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001306/0.001306, allocations: 193.4 kB / 16.25 MB, free: 6.617 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.298/1.298, allocations: 222.9 MB / 239.9 MB, free: 4.551 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7148/0.7148, allocations: 132.2 MB / 422.3 MB, free: 1.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001165/0.001165, allocations: 58.91 kB / 0.5013 GB, free: 9.051 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1501/0.1513, allocations: 80.21 MB / 0.5797 GB, free: 9.066 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.284/0.4353, allocations: 41.24 MB / 0.6199 GB, free: 35.09 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01032/0.4457, allocations: 10.32 MB / 0.63 GB, free: 28.81 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001513/0.4472, allocations: 50.19 kB / 0.6301 GB, free: 28.79 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001473/0.4487, allocations: 0.5566 MB / 0.6306 GB, free: 28.46 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.003784/0.4525, allocations: 1.75 MB / 0.6323 GB, free: 27.44 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002183/0.4547, allocations: 1.083 MB / 0.6334 GB, free: 26.83 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.002861/0.4576, allocations: 3.421 MB / 0.6367 GB, free: 25.18 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009612/0.4586, allocations: 1.04 MB / 0.6377 GB, free: 24.7 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002038/0.4606, allocations: 1.243 MB / 0.639 GB, free: 24.1 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007533/0.4614, allocations: 0.9245 MB / 0.6399 GB, free: 23.68 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001094/0.4615, allocations: 98.88 kB / 0.6399 GB, free: 23.68 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001335/0.4629, allocations: 0.8757 MB / 0.6408 GB, free: 23.32 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001816/0.4631, allocations: 283.1 kB / 0.6411 GB, free: 23.15 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004223/0.4635, allocations: 0.6287 MB / 0.6417 GB, free: 22.77 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001607/0.4651, allocations: 1.927 MB / 0.6436 GB, free: 22.05 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.4651, allocations: 0 / 0.6436 GB, free: 22.05 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.503e-06/0.4651, allocations: 0 / 0.6436 GB, free: 22.05 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.423e-05/0.4651, allocations: 0 / 0.6436 GB, free: 22.05 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.001787/0.4669, allocations: 1.518 MB / 0.6451 GB, free: 21.02 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.348e-05/0.467, allocations: 8.656 kB / 0.6451 GB, free: 21.02 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001019/0.4671, allocations: 117.7 kB / 0.6452 GB, free: 20.93 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002888/0.4674, allocations: 132.5 kB / 0.6453 GB, free: 20.87 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001168/0.4685, allocations: 1.074 MB / 0.6463 GB, free: 20.21 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.22e-05/0.4686, allocations: 60.78 kB / 0.6464 GB, free: 20.18 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.057e-05/0.4687, allocations: 70.91 kB / 0.6465 GB, free: 20.16 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001093/0.4698, allocations: 0.7889 MB / 0.6472 GB, free: 19.79 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.098e-05/0.4698, allocations: 2.625 kB / 0.6472 GB, free: 19.79 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.761e-05/0.4699, allocations: 33.23 kB / 0.6473 GB, free: 19.76 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.26e-05/0.4699, allocations: 18.38 kB / 0.6473 GB, free: 19.76 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000903/0.4708, allocations: 0.5673 MB / 0.6479 GB, free: 19.56 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.002808/0.4736, allocations: 3.546 MB / 0.6513 GB, free: 16.96 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005314/0.4742, allocations: 267.9 kB / 0.6516 GB, free: 16.86 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003163/0.4745, allocations: 173.9 kB / 0.6517 GB, free: 16.8 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003294/0.4748, allocations: 0.6524 MB / 0.6524 GB, free: 16.05 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.133e-05/0.4749, allocations: 40.66 kB / 0.6524 GB, free: 16 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=31): time 1.773e-06/0.4749, allocations: 0 / 0.6524 GB, free: 16 MB / 0.4981 GB Notification: Performance of matching and sorting (n=31): time 0.001059/0.4759, allocations: 0.5135 MB / 0.6529 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.316e-05/0.476, allocations: 53.66 kB / 0.653 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001036/0.477, allocations: 0.9342 MB / 0.6539 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.478e-05/0.4771, allocations: 37.08 kB / 0.6539 GB, free: 15.31 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002664/0.4773, allocations: 0.4975 MB / 0.6544 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 7.502e-05/0.4774, allocations: 113.4 kB / 0.6545 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001436/0.4776, allocations: 110.1 kB / 0.6546 GB, free: 14.76 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.81e-05/0.4776, allocations: 329.7 kB / 0.6549 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003323/0.478, allocations: 166.2 kB / 0.6551 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004101/0.4784, allocations: 353.4 kB / 0.6554 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007116/0.4791, allocations: 0.5101 MB / 0.6559 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.967e-06/0.4791, allocations: 1.562 kB / 0.6559 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001016/0.4801, allocations: 0.6216 MB / 0.6565 GB, free: 13.51 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.106e-05/0.4802, allocations: 9.031 kB / 0.6565 GB, free: 13.51 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.249e-05/0.4802, allocations: 12.3 kB / 0.6565 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.976e-05/0.4802, allocations: 11.75 kB / 0.6566 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004191/0.4806, allocations: 123.2 kB / 0.6567 GB, free: 13.49 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.364e-05/0.4806, allocations: 9.25 kB / 0.6567 GB, free: 13.49 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006387/0.4813, allocations: 118.3 kB / 0.6568 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.707e-05/0.4813, allocations: 23.84 kB / 0.6568 GB, free: 13.43 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002697/0.4816, allocations: 273.9 kB / 0.6571 GB, free: 13.22 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000143/0.4818, allocations: 104 kB / 0.6572 GB, free: 13.17 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008637/0.4826, allocations: 486.5 kB / 0.6576 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.186e-05/0.4827, allocations: 7.797 kB / 0.6577 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.4827, allocations: 0.5 kB / 0.6577 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006366/0.4833, allocations: 458.1 kB / 0.6581 GB, free: 12.72 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001805/0.4851, allocations: 1.352 MB / 0.6594 GB, free: 11.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.749e-06/0.4851, allocations: 5.812 kB / 0.6594 GB, free: 11.98 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003287/0.4855, allocations: 73.56 kB / 0.6595 GB, free: 11.98 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.039e-06/0.4855, allocations: 7.281 kB / 0.6595 GB, free: 11.97 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.544e-05/0.4855, allocations: 9.016 kB / 0.6595 GB, free: 11.97 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.877e-06/0.4855, allocations: 3.688 kB / 0.6595 GB, free: 11.97 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/0.4855, allocations: 2.031 kB / 0.6595 GB, free: 11.97 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001141/0.4867, allocations: 0.7728 MB / 0.6603 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002528/0.4869, allocations: 221.3 kB / 0.6605 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000117/0.4871, allocations: 7.594 kB / 0.6605 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005502/0.4876, allocations: 60.3 kB / 0.6605 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.578e-05/0.4877, allocations: 24.7 kB / 0.6606 GB, free: 11.35 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.809e-05/0.4877, allocations: 20.88 kB / 0.6606 GB, free: 11.35 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0007506/0.4885, allocations: 0.6481 MB / 0.6612 GB, free: 11.07 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4885, allocations: 3.938 kB / 0.6612 GB, free: 11.06 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0008731/0.4894, allocations: 334.4 kB / 0.6615 GB, free: 10.99 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 (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.001861/0.4913, allocations: 1.583 MB / 0.6631 GB, free: 9.957 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0008759/0.4921, allocations: 450 kB / 0.6635 GB, free: 9.82 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.4922, allocations: 0 / 0.6635 GB, free: 9.82 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000347/0.4925, allocations: 186.6 kB / 0.6637 GB, free: 9.77 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00249/0.495, allocations: 0.6161 MB / 0.6643 GB, free: 9.605 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01044/0.5055, allocations: 7.469 MB / 0.6716 GB, free: 5.031 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005316/0.506, allocations: 1.042 MB / 0.6726 GB, free: 4.293 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0009585/0.507, allocations: 197.2 kB / 0.6728 GB, free: 4.25 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004112/0.5074, allocations: 373 kB / 0.6731 GB, free: 3.98 MB / 0.4981 GB Notification: Performance of SimCode: time 8.01e-07/0.5074, allocations: 0 / 0.6731 GB, free: 3.98 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04854/0.556, allocations: 28.93 MB / 0.7014 GB, free: 6.148 MB / 0.5137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001686/0.5561, allocations: 247.4 kB / 0.7016 GB, free: 5.891 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.422/2.979, allocations: 1.5 kB / 0.7016 GB, free: 5.891 MB / 0.5137 GB (rm -f IDEAS_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; mkfifo IDEAS_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe >> ../files/IDEAS_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Interfaces_Examples_FourPortHeatMassExchanger_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Interfaces_Examples_FourPortHeatMassExchanger.fmu > IDEAS_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe 2>&1)