Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_FourPortHeatMassExchanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,fileNamePrefix="IBPSA_latest_IBPSA_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.001603/0.001603, allocations: 181.8 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5181/0.5181, allocations: 91.98 MB / 108.5 MB, free: 13.07 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.656/1.656, allocations: 223.2 MB / 354.3 MB, free: 12.04 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001105/0.001105, allocations: 104.2 kB / 427.4 MB, free: 3.836 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003857/0.0003857, allocations: 8 kB / 0.4983 GB, free: 42.18 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1744/0.1748, allocations: 72.31 MB / 0.5689 GB, free: 1.809 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.219/1.394, allocations: 372 MB / 0.9322 GB, free: 94.69 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003167/1.394, allocations: 102.7 kB / 0.9323 GB, free: 94.64 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.8/3.194, allocations: 445.6 MB / 1.367 GB, free: 100.6 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.014e-06/3.194, allocations: 0 / 1.367 GB, free: 100.6 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0002087/3.195, allocations: 35.75 kB / 1.367 GB, free: 100.6 MB / 0.6042 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.004784/3.199, allocations: 1.455 MB / 1.369 GB, free: 99.86 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.221e-05/3.2, allocations: 11.06 kB / 1.369 GB, free: 99.86 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004013/3.2, allocations: 112.3 kB / 1.369 GB, free: 99.82 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007307/3.201, allocations: 140.6 kB / 1.369 GB, free: 99.75 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02984/3.231, allocations: 13.04 MB / 1.382 GB, free: 99.05 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.269e-05/3.231, allocations: 57.66 kB / 1.382 GB, free: 99.05 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003036/3.231, allocations: 73.91 kB / 1.382 GB, free: 99.05 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001902/3.233, allocations: 0.7751 MB / 1.383 GB, free: 98.92 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.657e-05/3.233, allocations: 0 / 1.383 GB, free: 98.92 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001077/3.233, allocations: 36.56 kB / 1.383 GB, free: 98.91 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-05/3.233, allocations: 26.09 kB / 1.383 GB, free: 98.91 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001432/3.235, allocations: 0.5544 MB / 1.383 GB, free: 98.91 MB / 0.6042 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.005781/3.24, allocations: 3.555 MB / 1.387 GB, free: 96.73 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007422/3.241, allocations: 369 kB / 1.387 GB, free: 96.52 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00051/3.242, allocations: 0.6635 MB / 1.388 GB, free: 95.77 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.023e-05/3.242, allocations: 34.56 kB / 1.388 GB, free: 95.72 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=31): time 3.837e-06/3.242, allocations: 5.75 kB / 1.388 GB, free: 95.72 MB / 0.6042 GB Notification: Performance of matching and sorting (n=31): time 0.001485/3.243, allocations: 0.5576 MB / 1.388 GB, free: 95.52 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.48e-05/3.243, allocations: 55.09 kB / 1.388 GB, free: 95.46 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001493/3.245, allocations: 0.8256 MB / 1.389 GB, free: 95.1 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 8.122e-05/3.245, allocations: 35.98 kB / 1.389 GB, free: 95.06 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004181/3.245, allocations: 0.5037 MB / 1.39 GB, free: 94.66 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001306/3.245, allocations: 108.1 kB / 1.39 GB, free: 94.58 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.091e-05/3.245, allocations: 8 kB / 1.39 GB, free: 94.57 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.933e-05/3.246, allocations: 324.7 kB / 1.39 GB, free: 94.26 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003231/3.246, allocations: 159.5 kB / 1.39 GB, free: 94.22 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004327/3.246, allocations: 373.5 kB / 1.391 GB, free: 93.92 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004071/3.247, allocations: 220.8 kB / 1.391 GB, free: 93.85 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.771e-06/3.247, allocations: 0 / 1.391 GB, free: 93.85 MB / 0.6042 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001261/3.248, allocations: 0.6088 MB / 1.392 GB, free: 93.63 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.455e-05/3.248, allocations: 7 kB / 1.392 GB, free: 93.63 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.312e-05/3.248, allocations: 5.125 kB / 1.392 GB, free: 93.63 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.704e-05/3.248, allocations: 7.875 kB / 1.392 GB, free: 93.63 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003995/3.249, allocations: 120.5 kB / 1.392 GB, free: 93.63 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.019e-05/3.249, allocations: 12.42 kB / 1.392 GB, free: 93.63 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001024/3.25, allocations: 113 kB / 1.392 GB, free: 93.58 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.075e-05/3.25, allocations: 29.73 kB / 1.392 GB, free: 93.58 MB / 0.6042 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 (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.0006017/3.25, allocations: 275.6 kB / 1.392 GB, free: 93.38 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003802/3.251, allocations: 106.6 kB / 1.392 GB, free: 93.32 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001353/3.252, allocations: 0.5104 MB / 1.393 GB, free: 93.12 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.886e-05/3.252, allocations: 7.094 kB / 1.393 GB, free: 93.12 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.867e-06/3.252, allocations: 0 / 1.393 GB, free: 93.12 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007699/3.253, allocations: 486.2 kB / 1.393 GB, free: 92.87 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003115/3.256, allocations: 1.462 MB / 1.395 GB, free: 92.07 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.544e-06/3.256, allocations: 3.938 kB / 1.395 GB, free: 92.07 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000373/3.256, allocations: 85.7 kB / 1.395 GB, free: 92.07 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.078e-05/3.256, allocations: 3.062 kB / 1.395 GB, free: 92.07 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.738e-05/3.256, allocations: 11.27 kB / 1.395 GB, free: 92.06 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.446e-06/3.256, allocations: 7.281 kB / 1.395 GB, free: 92.06 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.307e-06/3.257, allocations: 2.562 kB / 1.395 GB, free: 92.06 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001452/3.258, allocations: 0.8885 MB / 1.396 GB, free: 91.56 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006564/3.259, allocations: 252.2 kB / 1.396 GB, free: 91.37 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003002/3.259, allocations: 7.969 kB / 1.396 GB, free: 91.37 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008317/3.26, allocations: 59.66 kB / 1.396 GB, free: 91.36 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001021/3.26, allocations: 23.2 kB / 1.396 GB, free: 91.36 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.553e-05/3.26, allocations: 26.36 kB / 1.396 GB, free: 91.35 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.00103/3.261, allocations: 0.6515 MB / 1.397 GB, free: 91.06 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.3e-07/3.261, allocations: 0 / 1.397 GB, free: 91.06 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001598/3.263, allocations: 369.7 kB / 1.397 GB, free: 90.97 MB / 0.6042 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 (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.002779/3.265, allocations: 2.222 MB / 1.399 GB, free: 89.54 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0008926/3.266, allocations: 423.2 kB / 1.399 GB, free: 89.44 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 5.16e-06/3.266, allocations: 2.281 kB / 1.399 GB, free: 89.44 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0003618/3.267, allocations: 204.4 kB / 1.4 GB, free: 89.39 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003012/3.27, allocations: 0.6068 MB / 1.4 GB, free: 89.29 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009514/3.279, allocations: 8.794 MB / 1.409 GB, free: 83.11 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005139/3.28, allocations: 1.06 MB / 1.41 GB, free: 82.39 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.001058/3.281, allocations: 206.4 kB / 1.41 GB, free: 82.38 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004334/3.281, allocations: 373.1 kB / 1.41 GB, free: 82.11 MB / 0.6042 GB Notification: Performance of SimCode: time 1.293e-06/3.281, allocations: 2.906 kB / 1.41 GB, free: 82.11 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0572/3.339, allocations: 32.59 MB / 1.442 GB, free: 62.59 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001941/3.339, allocations: 223.4 kB / 1.442 GB, free: 62.35 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.271/6.61, allocations: 6.141 kB / 1.442 GB, free: 62.35 MB / 0.6042 GB (rm -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_FourPortHeatMassExchanger_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_FourPortHeatMassExchanger.fmu > IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe 2>&1)