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.001036/0.001036, allocations: 97.33 kB / 15.36 MB, free: 0.7344 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.008286/0.008286, allocations: 169.8 kB / 16.27 MB, free: 6.652 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.334/1.334, allocations: 223.2 MB / 240.3 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7147/0.7147, allocations: 132.3 MB / 423.8 MB, free: 1.988 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002939/0.0002939, allocations: 9.094 kB / 0.5041 GB, free: 3.836 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3375/0.3378, allocations: 81.58 MB / 0.5837 GB, free: 4.07 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.03687/0.3747, allocations: 40.5 MB / 0.6233 GB, free: 5.383 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01299/0.3878, allocations: 10.3 MB / 0.6334 GB, free: 13.02 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001305/0.3891, allocations: 48.34 kB / 0.6334 GB, free: 13 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001289/0.3904, allocations: 0.5282 MB / 0.6339 GB, free: 12.55 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003805/0.3942, allocations: 1.743 MB / 0.6356 GB, free: 11.15 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002315/0.3965, allocations: 1.08 MB / 0.6367 GB, free: 10.16 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.004003/0.4006, allocations: 4.506 MB / 0.6411 GB, free: 5.645 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001036/0.4016, allocations: 0.8639 MB / 0.6419 GB, free: 4.762 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001411/0.403, allocations: 1.015 MB / 0.6429 GB, free: 3.742 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008611/0.4039, allocations: 0.8631 MB / 0.6438 GB, free: 2.875 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 8.103e-05/0.404, allocations: 36 kB / 0.6438 GB, free: 2.84 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001483/0.4055, allocations: 0.7677 MB / 0.6445 GB, free: 2.07 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001902/0.4057, allocations: 215 kB / 0.6447 GB, free: 1.859 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004695/0.4062, allocations: 0.5768 MB / 0.6453 GB, free: 1.273 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00167/0.4078, allocations: 1.846 MB / 0.6471 GB, free: 15.42 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.015e-06/0.4078, allocations: 0 / 0.6471 GB, free: 15.42 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.4078, allocations: 0 / 0.6471 GB, free: 15.42 MB / 494.1 MB Notification: Performance of Transformations before backend: time 9.287e-06/0.4079, allocations: 3.938 kB / 0.6471 GB, free: 15.42 MB / 494.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.001833/0.4097, allocations: 1.297 MB / 0.6484 GB, free: 14.07 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.574e-05/0.4097, allocations: 12.03 kB / 0.6484 GB, free: 14.05 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001283/0.4099, allocations: 118.7 kB / 0.6485 GB, free: 13.93 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002768/0.4102, allocations: 131.5 kB / 0.6486 GB, free: 13.8 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001354/0.4115, allocations: 1.079 MB / 0.6497 GB, free: 12.68 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.091e-05/0.4116, allocations: 58 kB / 0.6497 GB, free: 12.62 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.319e-05/0.4117, allocations: 68 kB / 0.6498 GB, free: 12.55 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001217/0.4129, allocations: 0.8022 MB / 0.6506 GB, free: 11.72 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.863e-05/0.4129, allocations: 0 / 0.6506 GB, free: 11.72 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.94e-05/0.413, allocations: 32 kB / 0.6506 GB, free: 11.69 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.563e-05/0.413, allocations: 19.98 kB / 0.6506 GB, free: 11.67 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001039/0.4141, allocations: 0.5906 MB / 0.6512 GB, free: 11.08 MB / 494.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.003318/0.4174, allocations: 3.555 MB / 0.6547 GB, free: 7.293 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005135/0.4179, allocations: 270.4 kB / 0.6549 GB, free: 7.02 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003328/0.4183, allocations: 184.8 kB / 0.6551 GB, free: 6.836 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004208/0.4187, allocations: 0.661 MB / 0.6558 GB, free: 6.027 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.253e-05/0.4187, allocations: 38.56 kB / 0.6558 GB, free: 5.98 MB / 494.1 MB Notification: Performance of pre-optimization done (n=31): time 1.312e-06/0.4187, allocations: 0 / 0.6558 GB, free: 5.98 MB / 494.1 MB Notification: Performance of matching and sorting (n=31): time 0.001046/0.4198, allocations: 0.5488 MB / 0.6563 GB, free: 5.426 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.5e-05/0.4198, allocations: 63.34 kB / 0.6564 GB, free: 5.352 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009807/0.4208, allocations: 0.9377 MB / 0.6573 GB, free: 4.395 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.908e-05/0.4209, allocations: 33.7 kB / 0.6574 GB, free: 4.355 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003359/0.4212, allocations: 0.4917 MB / 0.6578 GB, free: 3.855 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.63e-05/0.4213, allocations: 110.4 kB / 0.6579 GB, free: 3.746 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.861e-05/0.4214, allocations: 49.7 kB / 0.658 GB, free: 3.691 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.149e-05/0.4215, allocations: 330 kB / 0.6583 GB, free: 3.363 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003417/0.4218, allocations: 173 kB / 0.6585 GB, free: 3.195 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004499/0.4223, allocations: 362.9 kB / 0.6588 GB, free: 2.77 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007691/0.423, allocations: 0.5312 MB / 0.6593 GB, free: 2.168 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.219e-06/0.4231, allocations: 8 kB / 0.6593 GB, free: 2.16 MB / 494.1 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.0009935/0.4241, allocations: 0.6304 MB / 0.66 GB, free: 1.523 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.405e-05/0.4241, allocations: 12.03 kB / 0.66 GB, free: 1.512 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/0.4241, allocations: 4 kB / 0.66 GB, free: 1.508 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.873e-05/0.4241, allocations: 8 kB / 0.66 GB, free: 1.5 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004003/0.4245, allocations: 135.7 kB / 0.6601 GB, free: 1.367 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.241e-05/0.4245, allocations: 11.94 kB / 0.6601 GB, free: 1.355 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006094/0.4252, allocations: 123.1 kB / 0.6602 GB, free: 1.234 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.883e-05/0.4252, allocations: 27.94 kB / 0.6603 GB, free: 1.207 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.0002997/0.4255, allocations: 277.6 kB / 0.6605 GB, free: 0.9258 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001124/0.4256, allocations: 94.88 kB / 0.6606 GB, free: 0.832 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009026/0.4265, allocations: 0.4963 MB / 0.6611 GB, free: 344 kB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.141e-06/0.4266, allocations: 4 kB / 0.6611 GB, free: 340 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.4266, allocations: 7.938 kB / 0.6611 GB, free: 332 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006888/0.4273, allocations: 470.4 kB / 0.6616 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001788/0.4291, allocations: 1.379 MB / 0.6629 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/0.4291, allocations: 0 / 0.6629 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003086/0.4294, allocations: 88.05 kB / 0.663 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.387e-06/0.4294, allocations: 0 / 0.663 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.849e-05/0.4294, allocations: 11.98 kB / 0.663 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.997e-06/0.4295, allocations: 4 kB / 0.663 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.4295, allocations: 0 / 0.663 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001152/0.4306, allocations: 0.8022 MB / 0.6638 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002605/0.4309, allocations: 243.7 kB / 0.664 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001004/0.431, allocations: 8 kB / 0.664 GB, free: 13.19 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005308/0.4315, allocations: 59.14 kB / 0.6641 GB, free: 13.13 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.785e-05/0.4316, allocations: 35.89 kB / 0.6641 GB, free: 13.1 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.473e-05/0.4316, allocations: 23.98 kB / 0.6641 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0007076/0.4324, allocations: 0.6471 MB / 0.6648 GB, free: 12.42 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.7e-07/0.4324, allocations: 0 / 0.6648 GB, free: 12.42 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0007911/0.4332, allocations: 335.4 kB / 0.6651 GB, free: 12.09 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.001913/0.4351, allocations: 1.611 MB / 0.6667 GB, free: 10.45 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0007786/0.4359, allocations: 440.1 kB / 0.6671 GB, free: 10.02 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.4359, allocations: 0 / 0.6671 GB, free: 10.02 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003529/0.4362, allocations: 193.3 kB / 0.6673 GB, free: 9.832 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002756/0.439, allocations: 0.6051 MB / 0.6679 GB, free: 9.242 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01023/0.4492, allocations: 7.583 MB / 0.6753 GB, free: 1.266 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004929/0.4497, allocations: 1.032 MB / 0.6763 GB, free: 204 kB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0006539/0.4504, allocations: 200.4 kB / 0.6765 GB, free: 4 kB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004155/0.4508, allocations: 375.4 kB / 0.6768 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of SimCode: time 6.11e-07/0.4508, allocations: 4 kB / 0.6768 GB, free: 15.63 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.186/1.637, allocations: 28.3 MB / 0.7045 GB, free: 3.797 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002126/1.638, allocations: 239.7 kB / 0.7047 GB, free: 3.543 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.931/4.568, allocations: 0 / 0.7047 GB, free: 3.543 MB / 0.5294 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)