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.007733/0.007733, allocations: 102.3 kB / 15.73 MB, free: 6.012 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.001806/0.001806, allocations: 194.5 kB / 16.67 MB, free: 5.938 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.398/1.398, allocations: 222.9 MB / 240.4 MB, free: 4.016 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.016/1.016, allocations: 135.1 MB / 425.7 MB, free: 11.88 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001504/0.001504, allocations: 63.89 kB / 0.5851 GB, free: 3.805 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4765/0.478, allocations: 80.91 MB / 0.6642 GB, free: 7.27 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.04476/0.5228, allocations: 41.58 MB / 0.7048 GB, free: 5.855 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01669/0.5396, allocations: 10.38 MB / 0.7149 GB, free: 13.37 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003259/0.5429, allocations: 60.31 kB / 0.715 GB, free: 13.34 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.002048/0.545, allocations: 0.6413 MB / 0.7156 GB, free: 12.79 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.007116/0.5521, allocations: 1.874 MB / 0.7174 GB, free: 10.91 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.003615/0.5557, allocations: 1.182 MB / 0.7186 GB, free: 9.738 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.005287/0.561, allocations: 3.394 MB / 0.7219 GB, free: 6.336 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001564/0.5626, allocations: 1.07 MB / 0.7229 GB, free: 5.25 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003024/0.5656, allocations: 1.262 MB / 0.7242 GB, free: 3.988 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001282/0.5669, allocations: 0.8828 MB / 0.725 GB, free: 3.102 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001492/0.5671, allocations: 100 kB / 0.7251 GB, free: 3.004 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00232/0.5694, allocations: 0.8617 MB / 0.726 GB, free: 2.141 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0003608/0.5698, allocations: 275 kB / 0.7262 GB, free: 1.871 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0007082/0.5705, allocations: 0.6298 MB / 0.7268 GB, free: 1.238 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.002672/0.5732, allocations: 1.943 MB / 0.7287 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.5732, allocations: 0 / 0.7287 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.453e-06/0.5732, allocations: 0 / 0.7287 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.401e-05/0.5732, allocations: 0 / 0.7287 GB, free: 15.29 MB / 0.5606 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.002317/0.5756, allocations: 1.515 MB / 0.7302 GB, free: 13.72 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.302e-05/0.5756, allocations: 8.031 kB / 0.7302 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000133/0.5758, allocations: 122.7 kB / 0.7303 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003289/0.5761, allocations: 135.4 kB / 0.7305 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00171/0.5778, allocations: 1.103 MB / 0.7315 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.653e-05/0.5779, allocations: 58 kB / 0.7316 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.791e-05/0.578, allocations: 68 kB / 0.7317 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001255/0.5792, allocations: 0.7905 MB / 0.7324 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.635e-05/0.5793, allocations: 4 kB / 0.7324 GB, free: 11.35 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.211e-05/0.5793, allocations: 31.94 kB / 0.7325 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.987e-05/0.5794, allocations: 24 kB / 0.7325 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001039/0.5804, allocations: 0.5788 MB / 0.7331 GB, free: 10.72 MB / 0.5606 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.003691/0.5841, allocations: 3.547 MB / 0.7365 GB, free: 6.945 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00054/0.5847, allocations: 254.4 kB / 0.7368 GB, free: 6.688 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003252/0.585, allocations: 172.8 kB / 0.7369 GB, free: 6.516 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005154/0.5855, allocations: 0.661 MB / 0.7376 GB, free: 5.707 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.633e-05/0.5856, allocations: 38.5 kB / 0.7376 GB, free: 5.66 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=31): time 1.713e-06/0.5856, allocations: 0 / 0.7376 GB, free: 5.66 MB / 0.5606 GB Notification: Performance of matching and sorting (n=31): time 0.001122/0.5867, allocations: 0.5163 MB / 0.7381 GB, free: 5.137 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.75e-05/0.5868, allocations: 59.34 kB / 0.7382 GB, free: 5.066 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001037/0.5878, allocations: 0.9456 MB / 0.7391 GB, free: 4.102 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.085e-05/0.5879, allocations: 37.7 kB / 0.7391 GB, free: 4.059 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.00037/0.5882, allocations: 0.4956 MB / 0.7396 GB, free: 3.559 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 9.311e-05/0.5883, allocations: 110.5 kB / 0.7397 GB, free: 3.449 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001517/0.5885, allocations: 114.1 kB / 0.7398 GB, free: 3.332 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001077/0.5886, allocations: 326 kB / 0.7401 GB, free: 3.008 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003361/0.5889, allocations: 165 kB / 0.7403 GB, free: 2.848 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004793/0.5894, allocations: 354.9 kB / 0.7406 GB, free: 2.426 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007833/0.5902, allocations: 0.5039 MB / 0.7411 GB, free: 1.852 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.5902, allocations: 0 / 0.7411 GB, free: 1.852 MB / 0.5606 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001059/0.5913, allocations: 0.6185 MB / 0.7417 GB, free: 1.227 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.989e-05/0.5913, allocations: 11.94 kB / 0.7417 GB, free: 1.215 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.12e-05/0.5914, allocations: 7.984 kB / 0.7418 GB, free: 1.207 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.076e-05/0.5914, allocations: 8 kB / 0.7418 GB, free: 1.199 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004281/0.5918, allocations: 123.8 kB / 0.7419 GB, free: 1.078 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.442e-05/0.5918, allocations: 11.94 kB / 0.7419 GB, free: 1.066 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005394/0.5924, allocations: 83.31 kB / 0.742 GB, free: 0.9844 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.891e-05/0.5924, allocations: 35.98 kB / 0.742 GB, free: 0.9492 MB / 0.5606 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.00032/0.5928, allocations: 274.4 kB / 0.7423 GB, free: 0.6719 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001474/0.5929, allocations: 98.78 kB / 0.7424 GB, free: 0.5742 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009389/0.5939, allocations: 480.6 kB / 0.7428 GB, free: 100 kB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.229e-05/0.5939, allocations: 12 kB / 0.7428 GB, free: 88 kB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.092e-06/0.5939, allocations: 3.938 kB / 0.7428 GB, free: 84 kB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007087/0.5946, allocations: 455 kB / 0.7433 GB, free: 15.61 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001962/0.5966, allocations: 1.355 MB / 0.7446 GB, free: 14.18 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/0.5966, allocations: 4 kB / 0.7446 GB, free: 14.18 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003265/0.5969, allocations: 75.89 kB / 0.7447 GB, free: 14.11 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.925e-06/0.5969, allocations: 4 kB / 0.7447 GB, free: 14.1 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.504e-05/0.597, allocations: 16.22 kB / 0.7447 GB, free: 14.09 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.597, allocations: 0 / 0.7447 GB, free: 14.09 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.739e-06/0.597, allocations: 7.938 kB / 0.7447 GB, free: 14.08 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001219/0.5982, allocations: 0.7717 MB / 0.7454 GB, free: 13.28 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003204/0.5986, allocations: 223.9 kB / 0.7457 GB, free: 13.04 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.43e-05/0.5987, allocations: 4 kB / 0.7457 GB, free: 13.04 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004672/0.5991, allocations: 39.94 kB / 0.7457 GB, free: 13 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.162e-05/0.5992, allocations: 27.91 kB / 0.7457 GB, free: 12.97 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.341e-05/0.5992, allocations: 15.98 kB / 0.7457 GB, free: 12.95 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0007793/0.6, allocations: 0.6627 MB / 0.7464 GB, free: 12.28 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6, allocations: 4 kB / 0.7464 GB, free: 12.28 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0008963/0.6009, allocations: 335.4 kB / 0.7467 GB, free: 11.95 MB / 0.5762 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.002082/0.603, allocations: 1.587 MB / 0.7483 GB, free: 10.33 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0008657/0.6039, allocations: 424.7 kB / 0.7487 GB, free: 9.914 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.6039, allocations: 0 / 0.7487 GB, free: 9.914 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003603/0.6043, allocations: 188.5 kB / 0.7489 GB, free: 9.73 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002523/0.6068, allocations: 0.6121 MB / 0.7494 GB, free: 9.129 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009027/0.6159, allocations: 6.808 MB / 0.7561 GB, free: 2.031 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005795/0.6165, allocations: 1.036 MB / 0.7571 GB, free: 0.9648 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.000776/0.6173, allocations: 196.3 kB / 0.7573 GB, free: 0.7695 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000455/0.6177, allocations: 379.2 kB / 0.7577 GB, free: 408 kB / 0.5762 GB Notification: Performance of SimCode: time 1.452e-06/0.6177, allocations: 0 / 0.7577 GB, free: 408 kB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06533/0.6831, allocations: 30.16 MB / 0.7871 GB, free: 2.602 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.331/10.01, allocations: 3.984 kB / 0.7871 GB, free: 2.598 MB / 0.6075 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)