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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001283/0.001283, allocations: 173.8 kB / 7.647 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8482/0.8482, allocations: 133.6 MB / 141.6 MB, free: 2.879 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.75/1.75, allocations: 221.5 MB / 395.4 MB, free: 10.79 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009886/0.0009888, allocations: 96.7 kB / 478.2 MB, free: 1.316 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.596e-05/3.623e-05, allocations: 8 kB / 0.5536 GB, free: 8.957 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5486/0.5487, allocations: 82.3 MB / 0.6339 GB, free: 40.68 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9893/1.538, allocations: 381 MB / 1.006 GB, free: 4.238 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002458/1.538, allocations: 89.08 kB / 1.006 GB, free: 4.195 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 2.101/3.64, allocations: 440.4 MB / 1.436 GB, free: 147.2 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.247e-06/3.64, allocations: 0 / 1.436 GB, free: 147.2 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0002068/3.64, allocations: 35.44 kB / 1.436 GB, free: 147.2 MB / 0.6823 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.003567/3.644, allocations: 1.249 MB / 1.437 GB, free: 146.5 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.624e-05/3.644, allocations: 10.19 kB / 1.437 GB, free: 146.5 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006757/3.645, allocations: 134.5 kB / 1.438 GB, free: 146.5 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02728/3.672, allocations: 12.94 MB / 1.45 GB, free: 141.6 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.876e-05/3.672, allocations: 20.06 kB / 1.45 GB, free: 141.6 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002131/3.672, allocations: 44.59 kB / 1.45 GB, free: 141.6 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001134/3.673, allocations: 453.5 kB / 1.451 GB, free: 141.4 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001425/3.675, allocations: 0.6306 MB / 1.451 GB, free: 141 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.253e-05/3.675, allocations: 4.688 kB / 1.451 GB, free: 141 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.137e-05/3.675, allocations: 0 / 1.451 GB, free: 141 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.411e-05/3.675, allocations: 17.81 kB / 1.451 GB, free: 141 MB / 0.6823 GB Warning: The model contains alias variables with conflicting start and/or 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.006216/3.681, allocations: 3.383 MB / 1.455 GB, free: 138.1 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006188/3.682, allocations: 321 kB / 1.455 GB, free: 137.9 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002444/3.682, allocations: 154.8 kB / 1.455 GB, free: 137.8 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006083/3.683, allocations: 0.6635 MB / 1.456 GB, free: 137.1 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.243e-05/3.683, allocations: 38.5 kB / 1.456 GB, free: 137 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=31): time 2.064e-06/3.683, allocations: 0 / 1.456 GB, free: 137 MB / 0.6823 GB Notification: Performance of matching and sorting (n=31): time 0.001241/3.684, allocations: 347.2 kB / 1.456 GB, free: 136.8 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.786e-05/3.684, allocations: 58.62 kB / 1.456 GB, free: 136.8 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001357/3.685, allocations: 0.641 MB / 1.457 GB, free: 136.4 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 7.348e-05/3.685, allocations: 28.95 kB / 1.457 GB, free: 136.4 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004812/3.686, allocations: 0.4991 MB / 1.457 GB, free: 135.9 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001589/3.686, allocations: 110 kB / 1.457 GB, free: 135.9 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.355e-05/3.686, allocations: 0 / 1.457 GB, free: 135.9 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001251/3.686, allocations: 321.8 kB / 1.458 GB, free: 135.5 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000213/3.687, allocations: 115.9 kB / 1.458 GB, free: 135.5 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002839/3.687, allocations: 324.8 kB / 1.458 GB, free: 135.2 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004703/3.687, allocations: 191.8 kB / 1.458 GB, free: 135.1 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.144e-06/3.687, allocations: 3.5 kB / 1.458 GB, free: 135.1 MB / 0.6823 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0009949/3.688, allocations: 483 kB / 1.459 GB, free: 134.9 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.8e-05/3.688, allocations: 8.375 kB / 1.459 GB, free: 134.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.07e-05/3.688, allocations: 7.094 kB / 1.459 GB, free: 134.9 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.684e-05/3.688, allocations: 9.438 kB / 1.459 GB, free: 134.9 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004117/3.689, allocations: 114.8 kB / 1.459 GB, free: 134.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.794e-05/3.689, allocations: 15.17 kB / 1.459 GB, free: 134.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008615/3.69, allocations: 86.81 kB / 1.459 GB, free: 134.8 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.074e-05/3.69, allocations: 27.5 kB / 1.459 GB, free: 134.8 MB / 0.6823 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (57): * Single equations (assignments): 57 * 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.0001554/3.69, allocations: 128.7 kB / 1.459 GB, free: 134.7 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0008037/3.691, allocations: 345.8 kB / 1.459 GB, free: 134.5 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000165/3.691, allocations: 84.53 kB / 1.46 GB, free: 134.5 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007764/3.692, allocations: 421.1 kB / 1.46 GB, free: 134.2 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.085e-05/3.692, allocations: 7.891 kB / 1.46 GB, free: 134.2 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.193e-06/3.692, allocations: 3.984 kB / 1.46 GB, free: 134.2 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004862/3.692, allocations: 395.8 kB / 1.46 GB, free: 133.9 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00207/3.694, allocations: 1.275 MB / 1.462 GB, free: 133 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.85e-06/3.694, allocations: 0 / 1.462 GB, free: 133 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003411/3.695, allocations: 85.59 kB / 1.462 GB, free: 133 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.004e-06/3.695, allocations: 2.906 kB / 1.462 GB, free: 133 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.857e-05/3.695, allocations: 9.125 kB / 1.462 GB, free: 133 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/3.695, allocations: 0 / 1.462 GB, free: 133 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/3.695, allocations: 3.844 kB / 1.462 GB, free: 133 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009267/3.696, allocations: 0.7466 MB / 1.462 GB, free: 132.4 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003954/3.696, allocations: 227.5 kB / 1.463 GB, free: 132.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001582/3.696, allocations: 7.734 kB / 1.463 GB, free: 132.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005908/3.697, allocations: 52.39 kB / 1.463 GB, free: 132.2 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.21e-05/3.697, allocations: 27.45 kB / 1.463 GB, free: 132.2 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.012e-05/3.697, allocations: 23.33 kB / 1.463 GB, free: 132.2 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0006189/3.698, allocations: 0.4911 MB / 1.463 GB, free: 131.9 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.71e-07/3.698, allocations: 0 / 1.463 GB, free: 131.9 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001351/3.699, allocations: 361.5 kB / 1.464 GB, free: 131.8 MB / 0.6823 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 () * 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.002227/3.701, allocations: 2.086 MB / 1.466 GB, free: 130.3 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0005396/3.702, allocations: 330.2 kB / 1.466 GB, free: 130.2 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.05e-06/3.702, allocations: 11.16 kB / 1.466 GB, free: 130.2 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002091/3.702, allocations: 152.2 kB / 1.466 GB, free: 130.1 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002327/3.704, allocations: 477.3 kB / 1.466 GB, free: 129.9 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003107/3.707, allocations: 1.387 MB / 1.468 GB, free: 129.1 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005289/3.708, allocations: 1.062 MB / 1.469 GB, free: 128.3 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0007872/3.709, allocations: 176.4 kB / 1.469 GB, free: 128.2 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004397/3.709, allocations: 362.3 kB / 1.469 GB, free: 127.9 MB / 0.6823 GB Notification: Performance of SimCode: time 7.41e-07/3.709, allocations: 0 / 1.469 GB, free: 127.9 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07288/3.782, allocations: 25.14 MB / 1.494 GB, free: 105.7 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001708/3.782, allocations: 179.3 kB / 1.494 GB, free: 105.5 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.933/6.716, allocations: 3.938 kB / 1.494 GB, free: 105.5 MB / 0.6823 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/linux/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)