Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Interfaces_Examples_FourPortHeatMassExchanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Interfaces_Examples_FourPortHeatMassExchanger",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7341/0.7341, allocations: 128.7 MB / 143.7 MB, free: 2.289 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00117/0.00117, allocations: 186.2 kB / 173.7 MB, free: 6.109 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.541/1.541, allocations: 205.4 MB / 409 MB, free: 10.47 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008707/0.0008707, allocations: 106.3 kB / 486.6 MB, free: 12.97 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003456/0.0003453, allocations: 10.34 kB / 0.5604 GB, free: 97.58 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1405/0.1408, allocations: 76.78 MB / 0.6354 GB, free: 30.43 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.024/1.165, allocations: 368.2 MB / 0.9949 GB, free: 172.7 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003028/1.166, allocations: 103.3 kB / 0.995 GB, free: 172.7 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 1.046/2.211, allocations: 421.2 MB / 1.406 GB, free: 82.38 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.645e-06/2.211, allocations: 0 / 1.406 GB, free: 82.38 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 9.989e-05/2.212, allocations: 31.98 kB / 1.406 GB, free: 82.34 MB / 0.6511 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.002667/2.214, allocations: 1.446 MB / 1.408 GB, free: 80.84 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.268e-05/2.214, allocations: 12.03 kB / 1.408 GB, free: 80.83 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001374/2.214, allocations: 118.4 kB / 1.408 GB, free: 80.71 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003054/2.215, allocations: 134.5 kB / 1.408 GB, free: 80.57 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05269/2.267, allocations: 22.61 MB / 1.43 GB, free: 57.7 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.977e-05/2.268, allocations: 65.86 kB / 1.43 GB, free: 57.64 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003019/2.268, allocations: 72 kB / 1.43 GB, free: 57.57 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002244/2.27, allocations: 0.7554 MB / 1.431 GB, free: 56.78 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.517e-05/2.27, allocations: 0 / 1.431 GB, free: 56.78 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001131/2.27, allocations: 28 kB / 1.431 GB, free: 56.75 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.213e-05/2.27, allocations: 23.95 kB / 1.431 GB, free: 56.73 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001546/2.272, allocations: 0.5672 MB / 1.432 GB, free: 56.16 MB / 0.6511 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.005511/2.278, allocations: 3.633 MB / 1.435 GB, free: 52.27 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008078/2.278, allocations: 340 kB / 1.436 GB, free: 51.91 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004968/2.279, allocations: 0.657 MB / 1.436 GB, free: 51.11 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.508e-05/2.279, allocations: 34.56 kB / 1.436 GB, free: 51.07 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=25): time 3.176e-06/2.279, allocations: 4 kB / 1.436 GB, free: 51.06 MB / 0.6511 GB Notification: Performance of matching and sorting (n=25): time 0.001476/2.28, allocations: 492.6 kB / 1.437 GB, free: 50.57 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.404e-05/2.28, allocations: 51.41 kB / 1.437 GB, free: 50.51 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001562/2.282, allocations: 0.8033 MB / 1.437 GB, free: 49.69 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 5.593e-05/2.282, allocations: 33.7 kB / 1.438 GB, free: 49.65 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004426/2.283, allocations: 0.5112 MB / 1.438 GB, free: 49.14 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001039/2.283, allocations: 90.03 kB / 1.438 GB, free: 49.05 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.218e-05/2.283, allocations: 8 kB / 1.438 GB, free: 49.04 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 7.699e-05/2.283, allocations: 333.9 kB / 1.438 GB, free: 48.71 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003744/2.283, allocations: 142.2 kB / 1.439 GB, free: 48.57 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000483/2.284, allocations: 370.3 kB / 1.439 GB, free: 48.11 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004903/2.284, allocations: 207.8 kB / 1.439 GB, free: 47.9 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.21e-06/2.284, allocations: 0 / 1.439 GB, free: 47.9 MB / 0.6511 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.00132/2.285, allocations: 0.5708 MB / 1.44 GB, free: 47.32 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.426e-05/2.286, allocations: 11.94 kB / 1.44 GB, free: 47.31 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.2e-05/2.286, allocations: 4 kB / 1.44 GB, free: 47.31 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.652e-05/2.286, allocations: 8 kB / 1.44 GB, free: 47.3 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005376/2.286, allocations: 124.3 kB / 1.44 GB, free: 47.18 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.052e-05/2.286, allocations: 11.94 kB / 1.44 GB, free: 47.17 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0011/2.287, allocations: 115.2 kB / 1.44 GB, free: 47.05 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.891e-05/2.287, allocations: 27.98 kB / 1.44 GB, free: 47.03 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * 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 (54): * Single equations (assignments): 54 * 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.0005245/2.288, allocations: 275.3 kB / 1.44 GB, free: 46.75 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002603/2.288, allocations: 90.88 kB / 1.44 GB, free: 46.66 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001028/2.289, allocations: 466.4 kB / 1.441 GB, free: 46.2 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.006e-05/2.289, allocations: 4 kB / 1.441 GB, free: 46.19 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/2.289, allocations: 0 / 1.441 GB, free: 46.19 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006271/2.29, allocations: 381.2 kB / 1.441 GB, free: 45.79 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00215/2.292, allocations: 1.187 MB / 1.442 GB, free: 44.54 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.779e-06/2.292, allocations: 128 / 1.442 GB, free: 44.54 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002816/2.292, allocations: 67.89 kB / 1.442 GB, free: 44.47 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.313e-06/2.292, allocations: 4 kB / 1.442 GB, free: 44.46 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.372e-05/2.292, allocations: 11.95 kB / 1.442 GB, free: 44.45 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.416e-06/2.292, allocations: 0 / 1.442 GB, free: 44.45 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/2.292, allocations: 4 kB / 1.442 GB, free: 44.45 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009569/2.293, allocations: 0.6939 MB / 1.443 GB, free: 43.71 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004081/2.294, allocations: 223.7 kB / 1.443 GB, free: 43.47 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001817/2.294, allocations: 11.98 kB / 1.443 GB, free: 43.46 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000569/2.295, allocations: 55.86 kB / 1.443 GB, free: 43.4 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.879e-05/2.295, allocations: 23.86 kB / 1.443 GB, free: 43.38 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.823e-05/2.295, allocations: 15.98 kB / 1.443 GB, free: 43.37 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0007817/2.295, allocations: 0.6594 MB / 1.444 GB, free: 42.7 MB / 0.6511 GB Notification: Performance of sort global known variables: time 3.21e-07/2.295, allocations: 0 / 1.444 GB, free: 42.7 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001346/2.297, allocations: 355.5 kB / 1.444 GB, free: 42.35 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (24): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.002237/2.299, allocations: 1.963 MB / 1.446 GB, free: 40.34 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0007378/2.3, allocations: 349.2 kB / 1.447 GB, free: 40 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.317e-06/2.3, allocations: 0 / 1.447 GB, free: 40 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0003381/2.3, allocations: 152.6 kB / 1.447 GB, free: 39.85 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002419/2.303, allocations: 0.5799 MB / 1.447 GB, free: 39.27 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008445/2.311, allocations: 8.885 MB / 1.456 GB, free: 30.06 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004138/2.312, allocations: 1.048 MB / 1.457 GB, free: 28.98 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0008791/2.312, allocations: 188.4 kB / 1.457 GB, free: 28.8 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003921/2.313, allocations: 375.3 kB / 1.458 GB, free: 28.43 MB / 0.6511 GB Notification: Performance of SimCode: time 1.363e-06/2.313, allocations: 0 / 1.458 GB, free: 28.43 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3959/2.709, allocations: 31.61 MB / 1.488 GB, free: 113.7 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001841/2.709, allocations: 235.9 kB / 1.489 GB, free: 113.4 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.028/5.736, allocations: 0 / 1.489 GB, free: 113.4 MB / 0.6511 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Interfaces_Examples_FourPortHeatMassExchanger_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Interfaces_Examples_FourPortHeatMassExchanger.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe 2>&1)