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.001667/0.001667, allocations: 100 kB / 15.05 MB, free: 1.105 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.002416/0.002416, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.48/2.48, allocations: 223.2 MB / 239.9 MB, free: 5.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.068/1.068, allocations: 132.2 MB / 423.2 MB, free: 2.176 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004465/0.0004466, allocations: 12.53 kB / 0.5033 GB, free: 4.18 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8297/0.8301, allocations: 81.58 MB / 0.583 GB, free: 3.98 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.05981/0.89, allocations: 34.81 MB / 0.617 GB, free: 10.48 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.02129/0.9114, allocations: 8.928 MB / 0.6257 GB, free: 3.305 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003319/0.9148, allocations: 45.03 kB / 0.6257 GB, free: 3.285 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003482/0.9183, allocations: 0.6118 MB / 0.6263 GB, free: 2.754 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009689/0.9281, allocations: 1.817 MB / 0.6281 GB, free: 1.23 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006059/0.9341, allocations: 1.347 MB / 0.6294 GB, free: 344 kB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.006511/0.9407, allocations: 1.97 MB / 0.6313 GB, free: 14.93 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002311/0.943, allocations: 0.7596 MB / 0.6321 GB, free: 14.16 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003328/0.9463, allocations: 0.8835 MB / 0.6329 GB, free: 13.28 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001965/0.9483, allocations: 0.5482 MB / 0.6335 GB, free: 12.73 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003458/0.9487, allocations: 40 kB / 0.6335 GB, free: 12.69 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003078/0.9518, allocations: 0.5345 MB / 0.634 GB, free: 12.15 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005036/0.9523, allocations: 195.2 kB / 0.6342 GB, free: 11.96 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000845/0.9532, allocations: 261.1 kB / 0.6345 GB, free: 11.7 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003803/0.957, allocations: 1.364 MB / 0.6358 GB, free: 10.33 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.957, allocations: 0 / 0.6358 GB, free: 10.33 MB / 478.1 MB Notification: Performance of FrontEnd: time 3.757e-06/0.957, allocations: 0 / 0.6358 GB, free: 10.33 MB / 478.1 MB Notification: Performance of Transformations before backend: time 8.897e-05/0.9571, allocations: 0 / 0.6358 GB, free: 10.33 MB / 478.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.005007/0.9622, allocations: 1.31 MB / 0.6371 GB, free: 8.969 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.063e-05/0.9622, allocations: 12.03 kB / 0.6371 GB, free: 8.957 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00045/0.9627, allocations: 114.5 kB / 0.6372 GB, free: 8.836 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007263/0.9634, allocations: 134.6 kB / 0.6373 GB, free: 8.703 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003434/0.9669, allocations: 0.9863 MB / 0.6383 GB, free: 7.676 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.769e-05/0.967, allocations: 54 kB / 0.6383 GB, free: 7.621 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002599/0.9673, allocations: 71.91 kB / 0.6384 GB, free: 7.551 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002158/0.9694, allocations: 0.7866 MB / 0.6392 GB, free: 6.734 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.494e-05/0.9695, allocations: 4 kB / 0.6392 GB, free: 6.73 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.828e-05/0.9696, allocations: 31.94 kB / 0.6392 GB, free: 6.699 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.375e-05/0.9696, allocations: 24 kB / 0.6392 GB, free: 6.676 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001623/0.9713, allocations: 0.5906 MB / 0.6398 GB, free: 6.082 MB / 478.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.007244/0.9785, allocations: 3.571 MB / 0.6433 GB, free: 2.281 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008615/0.9794, allocations: 270.6 kB / 0.6436 GB, free: 2.008 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008848/0.9803, allocations: 0.6532 MB / 0.6442 GB, free: 1.207 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.708e-05/0.9804, allocations: 38.56 kB / 0.6442 GB, free: 1.16 MB / 478.1 MB Notification: Performance of pre-optimization done (n=31): time 4.168e-06/0.9804, allocations: 0 / 0.6442 GB, free: 1.16 MB / 478.1 MB Notification: Performance of matching and sorting (n=31): time 0.001603/0.982, allocations: 0.5488 MB / 0.6448 GB, free: 0.6055 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.505e-05/0.9821, allocations: 59.39 kB / 0.6448 GB, free: 0.5352 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001762/0.9839, allocations: 0.969 MB / 0.6458 GB, free: 15.55 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 6.885e-05/0.984, allocations: 33.7 kB / 0.6458 GB, free: 15.51 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005199/0.9845, allocations: 0.4917 MB / 0.6463 GB, free: 15.01 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002564/0.9848, allocations: 110.5 kB / 0.6464 GB, free: 14.9 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.822e-05/0.9848, allocations: 16 kB / 0.6464 GB, free: 14.88 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0002875/0.9851, allocations: 325.9 kB / 0.6467 GB, free: 14.56 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005384/0.9856, allocations: 173 kB / 0.6469 GB, free: 14.39 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005498/0.9862, allocations: 362.9 kB / 0.6472 GB, free: 13.96 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000455/0.9867, allocations: 227.8 kB / 0.6474 GB, free: 13.74 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.945e-06/0.9867, allocations: 4 kB / 0.6475 GB, free: 13.73 MB / 494.1 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001377/0.9881, allocations: 0.6306 MB / 0.6481 GB, free: 13.1 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.412e-05/0.9881, allocations: 8 kB / 0.6481 GB, free: 13.09 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.672e-05/0.9881, allocations: 4 kB / 0.6481 GB, free: 13.09 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.493e-05/0.9882, allocations: 12.38 kB / 0.6481 GB, free: 13.07 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004918/0.9887, allocations: 135.9 kB / 0.6482 GB, free: 12.94 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.929e-05/0.9887, allocations: 12 kB / 0.6482 GB, free: 12.93 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009064/0.9896, allocations: 119.2 kB / 0.6483 GB, free: 12.81 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.989e-05/0.9897, allocations: 24 kB / 0.6484 GB, free: 12.79 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005431/0.9902, allocations: 281.6 kB / 0.6486 GB, free: 12.5 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001544/0.9904, allocations: 102.8 kB / 0.6487 GB, free: 12.4 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001045/0.9914, allocations: 0.4885 MB / 0.6492 GB, free: 11.91 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.43e-05/0.9915, allocations: 7.984 kB / 0.6492 GB, free: 11.91 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.9915, allocations: 0 / 0.6492 GB, free: 11.91 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009019/0.9924, allocations: 471 kB / 0.6497 GB, free: 11.42 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002463/0.9949, allocations: 1.391 MB / 0.651 GB, free: 9.957 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.08e-06/0.9949, allocations: 0 / 0.651 GB, free: 9.957 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003796/0.9953, allocations: 79.89 kB / 0.6511 GB, free: 9.879 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.239e-06/0.9953, allocations: 0 / 0.6511 GB, free: 9.879 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.124e-05/0.9953, allocations: 15.98 kB / 0.6511 GB, free: 9.863 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.29e-06/0.9953, allocations: 8.109 kB / 0.6511 GB, free: 9.855 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.858e-06/0.9953, allocations: 4 kB / 0.6511 GB, free: 9.852 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001417/0.9968, allocations: 0.8598 MB / 0.652 GB, free: 8.938 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004617/0.9972, allocations: 251.7 kB / 0.6522 GB, free: 8.672 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001225/0.9974, allocations: 12.06 kB / 0.6522 GB, free: 8.66 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006147/0.998, allocations: 67.5 kB / 0.6523 GB, free: 8.598 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001028/0.9981, allocations: 31.92 kB / 0.6523 GB, free: 8.566 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.452e-05/0.9982, allocations: 23.92 kB / 0.6523 GB, free: 8.543 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001006/0.9992, allocations: 0.6784 MB / 0.653 GB, free: 7.855 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.9992, allocations: 0 / 0.653 GB, free: 7.855 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001149/1, allocations: 339.4 kB / 0.6533 GB, free: 7.523 MB / 494.1 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002992/1.003, allocations: 2.014 MB / 0.6553 GB, free: 5.465 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001058/1.004, allocations: 444.4 kB / 0.6557 GB, free: 5.031 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/1.004, allocations: 0 / 0.6557 GB, free: 5.031 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004287/1.005, allocations: 193.3 kB / 0.6559 GB, free: 4.844 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002954/1.008, allocations: 0.5967 MB / 0.6565 GB, free: 4.262 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00625/1.014, allocations: 5.961 MB / 0.6623 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008087/1.015, allocations: 1.056 MB / 0.6633 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001024/1.016, allocations: 199.5 kB / 0.6635 GB, free: 12.85 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005389/1.017, allocations: 371.3 kB / 0.6639 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of SimCode: time 3.437e-06/1.017, allocations: 4 kB / 0.6639 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06422/1.081, allocations: 28.98 MB / 0.6922 GB, free: 15.98 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000217/1.081, allocations: 221.8 kB / 0.6924 GB, free: 15.74 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.319/4.4, allocations: 0 / 0.6924 GB, free: 15.74 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/linux/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) Environment - environmentSimulation: