Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger") translateModel(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.471/2.471, allocations: 285 MB / 292.5 MB, free: 10.58 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001476/0.001476, allocations: 188.9 kB / 360.7 MB, free: 7.238 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.088/2.088, allocations: 205.3 MB / 0.6192 GB, free: 12.09 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001615/0.001615, allocations: 93.19 kB / 0.7322 GB, free: 44.67 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.157e-05/2.148e-05, allocations: 4 kB / 0.8509 GB, free: 3.348 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8623/0.8624, allocations: 115.2 MB / 0.9634 GB, free: 78.86 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.254/2.116, allocations: 406.5 MB / 1.36 GB, free: 161.6 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003083/2.116, allocations: 91.08 kB / 1.36 GB, free: 161.5 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 2.075/4.191, allocations: 431.7 MB / 1.782 GB, free: 190 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.315e-06/4.191, allocations: 0 / 1.782 GB, free: 190 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0001338/4.191, allocations: 27.12 kB / 1.782 GB, free: 190 MB / 0.9323 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.0032/4.195, allocations: 1.248 MB / 1.783 GB, free: 188.7 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.891e-05/4.195, allocations: 12.02 kB / 1.783 GB, free: 188.7 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006805/4.195, allocations: 139 kB / 1.783 GB, free: 188.6 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04036/4.236, allocations: 12.64 MB / 1.796 GB, free: 175.9 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.258e-05/4.236, allocations: 24 kB / 1.796 GB, free: 175.9 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001483/4.236, allocations: 44 kB / 1.796 GB, free: 175.9 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001278/4.237, allocations: 447.9 kB / 1.796 GB, free: 175.4 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001486/4.239, allocations: 0.6306 MB / 1.797 GB, free: 174.8 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.783e-05/4.239, allocations: 3.906 kB / 1.797 GB, free: 174.8 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.656e-05/4.239, allocations: 0 / 1.797 GB, free: 174.8 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.427e-05/4.239, allocations: 24 kB / 1.797 GB, free: 174.7 MB / 0.9323 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.005696/4.245, allocations: 3.378 MB / 1.8 GB, free: 171.2 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006727/4.245, allocations: 317.5 kB / 1.801 GB, free: 170.8 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002913/4.246, allocations: 150 kB / 1.801 GB, free: 170.7 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005472/4.246, allocations: 0.6636 MB / 1.801 GB, free: 169.9 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.649e-05/4.246, allocations: 42.5 kB / 1.801 GB, free: 169.8 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=31): time 3.427e-06/4.246, allocations: 0 / 1.801 GB, free: 169.8 MB / 0.9323 GB Notification: Performance of matching and sorting (n=31): time 0.001228/4.248, allocations: 349.5 kB / 1.802 GB, free: 169.5 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.644e-05/4.248, allocations: 55.41 kB / 1.802 GB, free: 169.4 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001169/4.249, allocations: 0.6452 MB / 1.802 GB, free: 168.8 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 9.086e-05/4.249, allocations: 29.7 kB / 1.802 GB, free: 168.7 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004093/4.249, allocations: 0.495 MB / 1.803 GB, free: 168.2 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001343/4.249, allocations: 110.4 kB / 1.803 GB, free: 168.1 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.72e-05/4.249, allocations: 0 / 1.803 GB, free: 168.1 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 7.71e-05/4.25, allocations: 326 kB / 1.803 GB, free: 167.8 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002732/4.25, allocations: 117.1 kB / 1.803 GB, free: 167.7 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003877/4.25, allocations: 342.3 kB / 1.804 GB, free: 167.3 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006407/4.251, allocations: 187.8 kB / 1.804 GB, free: 167.1 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.232e-06/4.251, allocations: 0 / 1.804 GB, free: 167.1 MB / 0.9323 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001342/4.252, allocations: 488.3 kB / 1.804 GB, free: 166.6 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 2.715e-05/4.252, allocations: 8.938 kB / 1.804 GB, free: 166.6 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.413e-05/4.252, allocations: 4 kB / 1.804 GB, free: 166.6 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.377e-05/4.252, allocations: 8 kB / 1.804 GB, free: 166.6 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007452/4.253, allocations: 127.5 kB / 1.805 GB, free: 166.4 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.511e-05/4.253, allocations: 16.2 kB / 1.805 GB, free: 166.4 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00119/4.254, allocations: 79.39 kB / 1.805 GB, free: 166.4 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001019/4.254, allocations: 28 kB / 1.805 GB, free: 166.3 MB / 0.9323 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.0001712/4.255, allocations: 128.6 kB / 1.805 GB, free: 166.2 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002025/4.255, allocations: 86.95 kB / 1.805 GB, free: 166.1 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001273/4.256, allocations: 414 kB / 1.805 GB, free: 165.7 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.036e-05/4.256, allocations: 7.984 kB / 1.805 GB, free: 165.7 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.073e-06/4.256, allocations: 3.953 kB / 1.805 GB, free: 165.7 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007521/4.257, allocations: 405.5 kB / 1.806 GB, free: 165.3 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002891/4.26, allocations: 1.258 MB / 1.807 GB, free: 163.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.873e-06/4.26, allocations: 0 / 1.807 GB, free: 163.9 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006213/4.261, allocations: 84 kB / 1.807 GB, free: 163.9 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.013e-05/4.261, allocations: 4 kB / 1.807 GB, free: 163.8 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.569e-05/4.261, allocations: 7.984 kB / 1.807 GB, free: 163.8 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.121e-06/4.261, allocations: 7.938 kB / 1.807 GB, free: 163.8 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.398e-06/4.261, allocations: 0 / 1.807 GB, free: 163.8 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001512/4.262, allocations: 0.7463 MB / 1.808 GB, free: 163 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006023/4.263, allocations: 228 kB / 1.808 GB, free: 162.8 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001542/4.263, allocations: 3.984 kB / 1.808 GB, free: 162.8 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009555/4.264, allocations: 55.75 kB / 1.808 GB, free: 162.7 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.007e-05/4.264, allocations: 23.97 kB / 1.808 GB, free: 162.7 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.907e-05/4.264, allocations: 23.98 kB / 1.808 GB, free: 162.7 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0009056/4.265, allocations: 499.1 kB / 1.809 GB, free: 162.2 MB / 0.9323 GB Notification: Performance of sort global known variables: time 4.51e-07/4.265, allocations: 0 / 1.809 GB, free: 162.2 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.001799/4.267, allocations: 359.2 kB / 1.809 GB, free: 161.8 MB / 0.9323 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.001339/4.268, allocations: 0.5682 MB / 1.809 GB, free: 161.3 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.0008653/4.269, allocations: 323.5 kB / 1.81 GB, free: 161 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 5.731e-06/4.269, allocations: 1.375 kB / 1.81 GB, free: 161 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0003443/4.27, allocations: 159.8 kB / 1.81 GB, free: 160.8 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004101/4.274, allocations: 491 kB / 1.81 GB, free: 160.4 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003009/4.277, allocations: 1.16 MB / 1.811 GB, free: 159.2 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005958/4.277, allocations: 1.051 MB / 1.813 GB, free: 158.1 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.00132/4.279, allocations: 185.7 kB / 1.813 GB, free: 157.9 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000259/4.279, allocations: 71.42 kB / 1.813 GB, free: 157.8 MB / 0.9323 GB Notification: Performance of SimCode: time 1.163e-06/4.279, allocations: 0 / 1.813 GB, free: 157.8 MB / 0.9323 GB Notification: Performance of Templates: time 0.04456/4.324, allocations: 17.02 MB / 1.829 GB, free: 141 MB / 0.9323 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.sim & ./Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe 2>&1)