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.009992/0.009992, allocations: 103.5 kB / 15.73 MB, free: 6.492 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.002693/0.002693, allocations: 188.1 kB / 16.67 MB, free: 6.379 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.613/2.613, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.344/1.344, allocations: 132.2 MB / 422.7 MB, free: 1.703 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001288/0.001288, allocations: 63.69 kB / 0.5809 GB, free: 1.117 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2606/0.2619, allocations: 80.19 MB / 0.6592 GB, free: 14 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.06703/0.329, allocations: 41.57 MB / 0.6998 GB, free: 4.273 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.02386/0.353, allocations: 10.38 MB / 0.7099 GB, free: 9.859 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004029/0.3571, allocations: 55.69 kB / 0.71 GB, free: 9.805 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.003941/0.3612, allocations: 0.6443 MB / 0.7106 GB, free: 9.156 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.01137/0.3726, allocations: 1.872 MB / 0.7124 GB, free: 7.277 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.006429/0.3791, allocations: 1.183 MB / 0.7136 GB, free: 6.109 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.008019/0.3871, allocations: 3.391 MB / 0.7169 GB, free: 2.707 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002738/0.3899, allocations: 1.059 MB / 0.7179 GB, free: 1.633 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005359/0.3953, allocations: 1.27 MB / 0.7192 GB, free: 376 kB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0032/0.3986, allocations: 0.8866 MB / 0.72 GB, free: 15.48 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0004594/0.3991, allocations: 100 kB / 0.7201 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004042/0.4031, allocations: 0.8617 MB / 0.721 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0006404/0.4038, allocations: 279 kB / 0.7212 GB, free: 14.24 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001611/0.4055, allocations: 0.6299 MB / 0.7219 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.005822/0.4113, allocations: 1.941 MB / 0.7238 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 1.03e-05/0.4114, allocations: 0 / 0.7238 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.044e-06/0.4114, allocations: 0 / 0.7238 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.516e-05/0.4115, allocations: 0 / 0.7238 GB, free: 11.66 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.00487/0.4164, allocations: 1.518 MB / 0.7252 GB, free: 10.09 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 7.243e-05/0.4165, allocations: 12.03 kB / 0.7253 GB, free: 10.08 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002197/0.4167, allocations: 118.6 kB / 0.7254 GB, free: 9.957 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007877/0.4175, allocations: 135.4 kB / 0.7255 GB, free: 9.824 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003442/0.421, allocations: 1.099 MB / 0.7266 GB, free: 8.68 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.228e-05/0.4211, allocations: 57.94 kB / 0.7266 GB, free: 8.625 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001896/0.4213, allocations: 72 kB / 0.7267 GB, free: 8.555 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002266/0.4236, allocations: 0.7982 MB / 0.7275 GB, free: 7.719 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.677e-05/0.4236, allocations: 4 kB / 0.7275 GB, free: 7.715 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001065/0.4237, allocations: 24 kB / 0.7275 GB, free: 7.691 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.402e-05/0.4238, allocations: 23.98 kB / 0.7275 GB, free: 7.668 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00185/0.4257, allocations: 0.5672 MB / 0.7281 GB, free: 7.102 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.006718/0.4324, allocations: 3.551 MB / 0.7315 GB, free: 3.32 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006413/0.4331, allocations: 255.4 kB / 0.7318 GB, free: 3.062 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003782/0.4335, allocations: 180.8 kB / 0.732 GB, free: 2.883 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007447/0.4342, allocations: 0.657 MB / 0.7326 GB, free: 2.078 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.933e-05/0.4343, allocations: 38.56 kB / 0.7326 GB, free: 2.031 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=31): time 3.467e-06/0.4343, allocations: 0 / 0.7326 GB, free: 2.031 MB / 0.5606 GB Notification: Performance of matching and sorting (n=31): time 0.00149/0.4358, allocations: 0.5222 MB / 0.7331 GB, free: 1.504 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.86e-05/0.4359, allocations: 59.34 kB / 0.7332 GB, free: 1.434 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001631/0.4375, allocations: 0.9456 MB / 0.7341 GB, free: 480 kB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 9.261e-05/0.4376, allocations: 33.7 kB / 0.7342 GB, free: 440 kB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007359/0.4384, allocations: 0.4919 MB / 0.7346 GB, free: 15.93 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001991/0.4386, allocations: 110.4 kB / 0.7347 GB, free: 15.82 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003003/0.4389, allocations: 118.1 kB / 0.7349 GB, free: 15.7 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0002043/0.4391, allocations: 322 kB / 0.7352 GB, free: 15.38 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003972/0.4395, allocations: 165 kB / 0.7353 GB, free: 15.22 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005424/0.4401, allocations: 350.9 kB / 0.7357 GB, free: 14.8 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009086/0.441, allocations: 0.5078 MB / 0.7362 GB, free: 14.22 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.199e-06/0.441, allocations: 0 / 0.7362 GB, free: 14.22 MB / 0.5762 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001304/0.4423, allocations: 0.622 MB / 0.7368 GB, free: 13.59 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.964e-05/0.4424, allocations: 10.34 kB / 0.7368 GB, free: 13.59 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.37e-05/0.4424, allocations: 4 kB / 0.7368 GB, free: 13.58 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.909e-05/0.4424, allocations: 8 kB / 0.7368 GB, free: 13.57 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004506/0.4429, allocations: 120.3 kB / 0.7369 GB, free: 13.46 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.356e-05/0.4429, allocations: 15.94 kB / 0.7369 GB, free: 13.44 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000721/0.4437, allocations: 95.16 kB / 0.737 GB, free: 13.35 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.263e-05/0.4437, allocations: 28 kB / 0.737 GB, free: 13.32 MB / 0.5762 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.0004821/0.4442, allocations: 270.5 kB / 0.7373 GB, free: 13.05 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002041/0.4444, allocations: 102.8 kB / 0.7374 GB, free: 12.95 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001091/0.4455, allocations: 488.3 kB / 0.7379 GB, free: 12.46 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.542e-05/0.4455, allocations: 7.984 kB / 0.7379 GB, free: 12.46 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.805e-06/0.4456, allocations: 3.938 kB / 0.7379 GB, free: 12.45 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009809/0.4465, allocations: 447 kB / 0.7383 GB, free: 11.99 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002638/0.4492, allocations: 1.366 MB / 0.7396 GB, free: 10.55 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.219e-06/0.4492, allocations: 4.156 kB / 0.7396 GB, free: 10.55 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003798/0.4496, allocations: 75.89 kB / 0.7397 GB, free: 10.47 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.157e-06/0.4496, allocations: 7.938 kB / 0.7397 GB, free: 10.46 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.174e-05/0.4497, allocations: 11.98 kB / 0.7397 GB, free: 10.45 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.201e-06/0.4497, allocations: 4 kB / 0.7397 GB, free: 10.45 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.4497, allocations: 0 / 0.7397 GB, free: 10.45 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001376/0.4511, allocations: 0.7674 MB / 0.7405 GB, free: 9.652 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004411/0.4515, allocations: 231.8 kB / 0.7407 GB, free: 9.406 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000125/0.4517, allocations: 8 kB / 0.7407 GB, free: 9.398 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000493/0.4522, allocations: 31.95 kB / 0.7407 GB, free: 9.367 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.888e-05/0.4523, allocations: 27.97 kB / 0.7408 GB, free: 9.34 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.289e-05/0.4523, allocations: 23.92 kB / 0.7408 GB, free: 9.316 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0009497/0.4533, allocations: 0.6549 MB / 0.7414 GB, free: 8.652 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.91e-07/0.4533, allocations: 4 kB / 0.7414 GB, free: 8.648 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001188/0.4545, allocations: 339.5 kB / 0.7417 GB, free: 8.316 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.003132/0.4576, allocations: 1.602 MB / 0.7433 GB, free: 6.688 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001021/0.4587, allocations: 420.7 kB / 0.7437 GB, free: 6.277 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.49e-06/0.4587, allocations: 0 / 0.7437 GB, free: 6.277 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003927/0.4591, allocations: 189.4 kB / 0.7439 GB, free: 6.094 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002908/0.462, allocations: 0.609 MB / 0.7445 GB, free: 5.52 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.011/0.473, allocations: 6.8 MB / 0.7511 GB, free: 14.42 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007794/0.4739, allocations: 1.032 MB / 0.7521 GB, free: 13.36 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0009694/0.4749, allocations: 199.9 kB / 0.7523 GB, free: 13.17 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005429/0.4754, allocations: 371.3 kB / 0.7527 GB, free: 12.8 MB / 0.5919 GB Notification: Performance of SimCode: time 4.719e-06/0.4754, allocations: 0 / 0.7527 GB, free: 12.8 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09152/0.567, allocations: 30.17 MB / 0.7821 GB, free: 15.07 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.78/16.35, allocations: 9.141 kB / 0.7821 GB, free: 15.07 MB / 0.6231 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)