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/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_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/Complex 4.0.0+maint.om/package.mo): time 0.001297/0.001297, allocations: 176.2 kB / 7.648 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.9104/0.9104, allocations: 133.6 MB / 141.6 MB, free: 2.875 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.543/1.543, 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.001144/0.001144, allocations: 110 kB / 478.2 MB, free: 1.312 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.067e-05/3.059e-05, allocations: 4 kB / 0.5536 GB, free: 8.961 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5123/0.5123, allocations: 82.3 MB / 0.6339 GB, free: 40.84 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8961/1.408, allocations: 381 MB / 1.006 GB, free: 4.406 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002582/1.409, allocations: 95 kB / 1.006 GB, free: 4.359 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 1.841/3.25, allocations: 440.4 MB / 1.436 GB, free: 147.3 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.974e-06/3.25, allocations: 0 / 1.436 GB, free: 147.3 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001599/3.25, allocations: 36.73 kB / 1.436 GB, free: 147.3 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.003109/3.253, allocations: 1.243 MB / 1.437 GB, free: 146.7 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.6e-05/3.253, allocations: 6.844 kB / 1.437 GB, free: 146.7 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006556/3.254, allocations: 140.4 kB / 1.438 GB, free: 146.6 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.027/3.281, allocations: 12.93 MB / 1.45 GB, free: 141.9 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.706e-05/3.281, allocations: 22.69 kB / 1.45 GB, free: 141.9 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002799/3.281, allocations: 42.84 kB / 1.45 GB, free: 141.9 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00132/3.283, allocations: 460.8 kB / 1.451 GB, free: 141.7 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001435/3.284, allocations: 0.6237 MB / 1.451 GB, free: 141.3 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.673e-05/3.284, allocations: 3.938 kB / 1.451 GB, free: 141.3 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.877e-05/3.284, allocations: 0 / 1.451 GB, free: 141.3 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.638e-05/3.284, allocations: 21.47 kB / 1.451 GB, free: 141.3 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.005951/3.29, allocations: 3.383 MB / 1.455 GB, free: 138.5 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005585/3.291, allocations: 319.2 kB / 1.455 GB, free: 138.2 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002367/3.291, allocations: 154.3 kB / 1.455 GB, free: 138.2 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005219/3.292, allocations: 0.6607 MB / 1.456 GB, free: 137.4 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.038e-05/3.292, allocations: 39.34 kB / 1.456 GB, free: 137.4 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=31): time 2.305e-06/3.292, allocations: 0 / 1.456 GB, free: 137.4 MB / 0.6823 GB Notification: Performance of matching and sorting (n=31): time 0.00109/3.293, allocations: 348.3 kB / 1.456 GB, free: 137.2 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.093e-05/3.293, allocations: 56.19 kB / 1.456 GB, free: 137.1 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001227/3.294, allocations: 0.6486 MB / 1.457 GB, free: 136.8 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 6.189e-05/3.294, allocations: 29.31 kB / 1.457 GB, free: 136.7 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003486/3.294, allocations: 0.4983 MB / 1.457 GB, free: 136.3 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001046/3.294, allocations: 105.1 kB / 1.457 GB, free: 136.2 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.774e-05/3.295, allocations: 0 / 1.457 GB, free: 136.2 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 8.4e-05/3.295, allocations: 324.1 kB / 1.458 GB, free: 135.9 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001808/3.295, allocations: 113.8 kB / 1.458 GB, free: 135.8 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002667/3.295, allocations: 320.6 kB / 1.458 GB, free: 135.5 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004365/3.296, allocations: 195.3 kB / 1.458 GB, free: 135.4 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-06/3.296, allocations: 0 / 1.458 GB, free: 135.4 MB / 0.6823 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0009511/3.296, allocations: 489.3 kB / 1.459 GB, free: 135.2 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.54e-05/3.297, allocations: 10.89 kB / 1.459 GB, free: 135.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.217e-05/3.297, allocations: 7.781 kB / 1.459 GB, free: 135.2 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.513e-05/3.297, allocations: 10.19 kB / 1.459 GB, free: 135.2 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003939/3.297, allocations: 117.2 kB / 1.459 GB, free: 135.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.385e-05/3.297, allocations: 9.688 kB / 1.459 GB, free: 135.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007797/3.298, allocations: 87.56 kB / 1.459 GB, free: 135.1 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.741e-05/3.298, allocations: 30.67 kB / 1.459 GB, free: 135.1 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.0001364/3.298, allocations: 115.3 kB / 1.459 GB, free: 135 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000668/3.299, allocations: 348.3 kB / 1.459 GB, free: 134.8 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001831/3.299, allocations: 86.59 kB / 1.46 GB, free: 134.8 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007884/3.3, allocations: 424.7 kB / 1.46 GB, free: 134.6 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.638e-06/3.3, allocations: 7.109 kB / 1.46 GB, free: 134.6 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.131e-06/3.3, allocations: 0 / 1.46 GB, free: 134.6 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005046/3.3, allocations: 397.9 kB / 1.46 GB, free: 134.3 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002037/3.302, allocations: 1.273 MB / 1.462 GB, free: 133.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.36e-06/3.302, allocations: 3.5 kB / 1.462 GB, free: 133.3 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003354/3.303, allocations: 80.2 kB / 1.462 GB, free: 133.3 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.015e-06/3.303, allocations: 3.844 kB / 1.462 GB, free: 133.3 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.652e-05/3.303, allocations: 3.781 kB / 1.462 GB, free: 133.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.344e-06/3.303, allocations: 6.938 kB / 1.462 GB, free: 133.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/3.303, allocations: 2.531 kB / 1.462 GB, free: 133.3 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009089/3.304, allocations: 0.7504 MB / 1.462 GB, free: 132.8 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003516/3.304, allocations: 229.2 kB / 1.463 GB, free: 132.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001275/3.304, allocations: 7.922 kB / 1.463 GB, free: 132.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005446/3.305, allocations: 56.36 kB / 1.463 GB, free: 132.6 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.605e-05/3.305, allocations: 30.89 kB / 1.463 GB, free: 132.5 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.777e-05/3.305, allocations: 18.83 kB / 1.463 GB, free: 132.5 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0005993/3.305, allocations: 0.4915 MB / 1.463 GB, free: 132.2 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.71e-07/3.305, allocations: 3.25 kB / 1.463 GB, free: 132.2 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.00124/3.307, allocations: 362.9 kB / 1.464 GB, free: 132.1 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.00217/3.309, allocations: 2.077 MB / 1.466 GB, free: 130.6 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0005105/3.309, allocations: 336.6 kB / 1.466 GB, free: 130.5 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/3.309, allocations: 0 / 1.466 GB, free: 130.5 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001995/3.31, allocations: 159.4 kB / 1.466 GB, free: 130.4 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002274/3.312, allocations: 480.3 kB / 1.466 GB, free: 130.2 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002758/3.315, allocations: 1.393 MB / 1.468 GB, free: 129.5 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005408/3.315, allocations: 1.06 MB / 1.469 GB, free: 128.6 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0007624/3.316, allocations: 181.5 kB / 1.469 GB, free: 128.5 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004229/3.316, allocations: 357.2 kB / 1.469 GB, free: 128.2 MB / 0.6823 GB Notification: Performance of SimCode: time 8.92e-07/3.316, allocations: 0 / 1.469 GB, free: 128.2 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05513/3.372, allocations: 25.13 MB / 1.494 GB, free: 106 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002347/3.372, allocations: 167.9 kB / 1.494 GB, free: 105.8 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.948/6.32, allocations: 4 kB / 1.494 GB, free: 105.8 MB / 0.6823 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)