Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Interfaces_Examples_FourPortHeatMassExchanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,fileNamePrefix="IDEAS_dev_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.001152/0.001152, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001223/0.001223, allocations: 194.4 kB / 16.25 MB, free: 6.637 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.533/1.533, allocations: 222.9 MB / 239.9 MB, free: 4.484 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.139/1.139, allocations: 135.1 MB / 425.2 MB, free: 11.86 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00146/0.00146, allocations: 68.64 kB / 0.505 GB, free: 5.551 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1343/0.1358, allocations: 80.92 MB / 0.584 GB, free: 4.797 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.2393/0.3751, allocations: 41.24 MB / 0.6243 GB, free: 31.32 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.009269/0.3844, allocations: 10.31 MB / 0.6343 GB, free: 24.02 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001044/0.3855, allocations: 53.66 kB / 0.6344 GB, free: 24 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001088/0.3866, allocations: 0.5563 MB / 0.6349 GB, free: 23.68 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002782/0.3894, allocations: 1.751 MB / 0.6366 GB, free: 22.65 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001932/0.3913, allocations: 1.096 MB / 0.6377 GB, free: 22.03 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.002526/0.3938, allocations: 3.412 MB / 0.641 GB, free: 20.38 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001098/0.395, allocations: 1.041 MB / 0.642 GB, free: 19.9 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001909/0.3969, allocations: 1.253 MB / 0.6433 GB, free: 19.3 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006591/0.3975, allocations: 0.9148 MB / 0.6442 GB, free: 18.89 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001041/0.3977, allocations: 98.78 kB / 0.6443 GB, free: 18.89 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001246/0.3989, allocations: 0.8726 MB / 0.6451 GB, free: 18.53 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001682/0.3991, allocations: 279.1 kB / 0.6454 GB, free: 18.36 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003782/0.3995, allocations: 0.6343 MB / 0.646 GB, free: 17.98 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001374/0.4009, allocations: 1.928 MB / 0.6479 GB, free: 17.25 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.4009, allocations: 0 / 0.6479 GB, free: 17.25 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.272e-06/0.4009, allocations: 0 / 0.6479 GB, free: 17.25 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.083e-05/0.4009, allocations: 0 / 0.6479 GB, free: 17.25 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.001615/0.4025, allocations: 1.508 MB / 0.6494 GB, free: 16.23 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.23e-05/0.4025, allocations: 16.91 kB / 0.6494 GB, free: 16.23 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.976e-05/0.4027, allocations: 115.1 kB / 0.6495 GB, free: 16.14 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002783/0.4029, allocations: 134.5 kB / 0.6496 GB, free: 16.08 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00111/0.4041, allocations: 1.078 MB / 0.6507 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.873e-05/0.4041, allocations: 51.03 kB / 0.6507 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.062e-05/0.4042, allocations: 76.7 kB / 0.6508 GB, free: 15.37 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001049/0.4052, allocations: 0.7879 MB / 0.6516 GB, free: 15 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.973e-05/0.4053, allocations: 3.938 kB / 0.6516 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.656e-05/0.4053, allocations: 32.19 kB / 0.6516 GB, free: 14.97 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.287e-05/0.4054, allocations: 22.72 kB / 0.6516 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000956/0.4063, allocations: 0.5643 MB / 0.6522 GB, free: 14.77 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.002795/0.4091, allocations: 3.55 MB / 0.6556 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004807/0.4096, allocations: 259.3 kB / 0.6559 GB, free: 12.08 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002948/0.4099, allocations: 185.7 kB / 0.656 GB, free: 12.01 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002979/0.4102, allocations: 0.6526 MB / 0.6567 GB, free: 11.25 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.942e-05/0.4103, allocations: 36.88 kB / 0.6567 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=31): time 1.482e-06/0.4103, allocations: 0 / 0.6567 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of matching and sorting (n=31): time 0.000995/0.4113, allocations: 0.5111 MB / 0.6572 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.972e-05/0.4113, allocations: 61.8 kB / 0.6573 GB, free: 10.95 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009208/0.4122, allocations: 0.9317 MB / 0.6582 GB, free: 10.55 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.054e-05/0.4123, allocations: 32.23 kB / 0.6582 GB, free: 10.52 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002439/0.4125, allocations: 0.4948 MB / 0.6587 GB, free: 10.12 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 8.055e-05/0.4126, allocations: 118.6 kB / 0.6588 GB, free: 10.03 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000133/0.4127, allocations: 114.2 kB / 0.6589 GB, free: 9.969 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.852e-05/0.4128, allocations: 329.7 kB / 0.6592 GB, free: 9.652 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003107/0.4131, allocations: 168.1 kB / 0.6594 GB, free: 9.598 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003734/0.4135, allocations: 350.5 kB / 0.6597 GB, free: 9.328 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006651/0.4142, allocations: 0.5058 MB / 0.6602 GB, free: 8.98 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/0.4142, allocations: 1.344 kB / 0.6602 GB, free: 8.98 MB / 0.4981 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.0009958/0.4152, allocations: 0.6209 MB / 0.6608 GB, free: 8.719 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.718e-05/0.4152, allocations: 7.125 kB / 0.6608 GB, free: 8.719 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.009e-05/0.4152, allocations: 7.391 kB / 0.6609 GB, free: 8.719 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.905e-05/0.4152, allocations: 9.25 kB / 0.6609 GB, free: 8.719 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004097/0.4156, allocations: 130.8 kB / 0.661 GB, free: 8.699 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.431e-05/0.4157, allocations: 16.73 kB / 0.661 GB, free: 8.695 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005982/0.4163, allocations: 112.8 kB / 0.6611 GB, free: 8.641 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.307e-05/0.4163, allocations: 27.14 kB / 0.6611 GB, free: 8.637 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.0002773/0.4166, allocations: 271.2 kB / 0.6614 GB, free: 8.434 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001301/0.4167, allocations: 99.16 kB / 0.6615 GB, free: 8.383 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00086/0.4176, allocations: 483.4 kB / 0.6619 GB, free: 8.199 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.197e-06/0.4176, allocations: 5.266 kB / 0.662 GB, free: 8.199 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.4176, allocations: 0 / 0.662 GB, free: 8.199 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006216/0.4183, allocations: 461.5 kB / 0.6624 GB, free: 7.938 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001696/0.42, allocations: 1.354 MB / 0.6637 GB, free: 7.199 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.019e-06/0.42, allocations: 6.219 kB / 0.6637 GB, free: 7.195 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003121/0.4203, allocations: 74.08 kB / 0.6638 GB, free: 7.191 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.508e-06/0.4203, allocations: 2.688 kB / 0.6638 GB, free: 7.191 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.502e-05/0.4203, allocations: 9.062 kB / 0.6638 GB, free: 7.188 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.409e-06/0.4204, allocations: 8.344 kB / 0.6638 GB, free: 7.184 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.4204, allocations: 1.25 kB / 0.6638 GB, free: 7.184 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001075/0.4214, allocations: 0.7719 MB / 0.6646 GB, free: 6.77 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002234/0.4217, allocations: 225.6 kB / 0.6648 GB, free: 6.59 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001107/0.4218, allocations: 16.58 kB / 0.6648 GB, free: 6.578 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000543/0.4223, allocations: 55.44 kB / 0.6648 GB, free: 6.562 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.249e-05/0.4224, allocations: 25.61 kB / 0.6649 GB, free: 6.559 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.497e-05/0.4224, allocations: 19.72 kB / 0.6649 GB, free: 6.555 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0006912/0.4231, allocations: 0.6482 MB / 0.6655 GB, free: 6.273 MB / 0.4981 GB Notification: Performance of sort global known variables: time 6.41e-07/0.4231, allocations: 0 / 0.6655 GB, free: 6.273 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0008698/0.424, allocations: 331.2 kB / 0.6658 GB, free: 6.203 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.001795/0.4258, allocations: 1.577 MB / 0.6674 GB, free: 5.184 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0008297/0.4267, allocations: 442.9 kB / 0.6678 GB, free: 5.055 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.145e-06/0.4267, allocations: 1.188 kB / 0.6678 GB, free: 5.055 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003369/0.427, allocations: 192.6 kB / 0.668 GB, free: 4.996 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002346/0.4294, allocations: 0.6119 MB / 0.6686 GB, free: 4.828 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009951/0.4393, allocations: 7.474 MB / 0.6759 GB, free: 248 kB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005456/0.4399, allocations: 1.038 MB / 0.6769 GB, free: 15.51 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.00084/0.4408, allocations: 198.6 kB / 0.6771 GB, free: 15.45 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004403/0.4412, allocations: 376.8 kB / 0.6774 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of SimCode: time 5.41e-07/0.4412, allocations: 0 / 0.6774 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.036/1.477, allocations: 28.94 MB / 0.7057 GB, free: 96 kB / 0.5137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002801/1.478, allocations: 261.7 kB / 0.706 GB, free: 15.82 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.192/4.67, allocations: 0 / 0.706 GB, free: 15.82 MB / 0.5294 GB (rm -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Interfaces_Examples_FourPortHeatMassExchanger_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Interfaces_Examples_FourPortHeatMassExchanger.fmu > IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe 2>&1)