Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpLowRise.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) 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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.Sources.Examples.Outside_CpLowRise,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpLowRise") translateModel(BuildingSystems.Fluid.Sources.Examples.Outside_CpLowRise,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpLowRise") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8137/0.8137, allocations: 143.4 MB / 158.3 MB, free: 5.738 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001209/0.001209, allocations: 183.4 kB / 191.5 MB, free: 5.762 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.595/1.595, allocations: 223.2 MB / 447.7 MB, free: 4.77 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.001394/0.001394, allocations: 88.33 kB / 0.5188 GB, free: 1.133 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001905/0.001905, allocations: 268.7 kB / 0.6005 GB, free: 48.74 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004568/0.0004569, allocations: 13.12 kB / 0.6929 GB, free: 59.68 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1981/0.1986, allocations: 82.79 MB / 0.7737 GB, free: 13.84 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.87/5.069, allocations: 1.898 GB / 2.671 GB, free: 129.7 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004513/5.069, allocations: 96.47 kB / 2.671 GB, free: 129.6 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.036/6.105, allocations: 318.5 MB / 2.982 GB, free: 114.7 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.725e-06/6.105, allocations: 4 kB / 2.983 GB, free: 114.7 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0001939/6.105, allocations: 44 kB / 2.983 GB, free: 114.6 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 421 * Number of variables: 421 Notification: Performance of Generate backend data structure: time 0.00558/6.111, allocations: 1.924 MB / 2.984 GB, free: 112.7 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.127e-05/6.111, allocations: 12.56 kB / 2.984 GB, free: 112.7 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003947/6.115, allocations: 0.4933 MB / 2.985 GB, free: 112.2 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002237/6.117, allocations: 0.9661 MB / 2.986 GB, free: 111.2 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.879e-05/6.117, allocations: 124.2 kB / 2.986 GB, free: 111 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001816/6.117, allocations: 164 kB / 2.986 GB, free: 110.9 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003007/6.12, allocations: 1.753 MB / 2.988 GB, free: 109.1 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.948e-05/6.12, allocations: 0 / 2.988 GB, free: 109.1 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001517/6.121, allocations: 72 kB / 2.988 GB, free: 109 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.736e-05/6.121, allocations: 43.94 kB / 2.988 GB, free: 109 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00283/6.124, allocations: 1.808 MB / 2.99 GB, free: 107.2 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007165/6.131, allocations: 4.884 MB / 2.994 GB, free: 102.1 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002509/6.133, allocations: 1.669 MB / 2.996 GB, free: 100.3 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008962/6.134, allocations: 0.8 MB / 2.997 GB, free: 99.36 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001469/6.136, allocations: 0.81 MB / 2.998 GB, free: 98.53 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=137): time 3.446e-06/6.136, allocations: 4 kB / 2.998 GB, free: 98.53 MB / 0.7136 GB Notification: Performance of matching and sorting (n=137): time 0.005494/6.141, allocations: 2.449 MB / 3 GB, free: 95.96 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.811e-05/6.141, allocations: 252.6 kB / 3 GB, free: 95.66 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001033/6.142, allocations: 0.7471 MB / 3.001 GB, free: 94.9 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001574/6.142, allocations: 53.7 kB / 3.001 GB, free: 94.84 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004571/6.143, allocations: 0.6289 MB / 3.002 GB, free: 94.2 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002931/6.143, allocations: 465.2 kB / 3.002 GB, free: 93.74 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.845e-05/6.143, allocations: 20 kB / 3.002 GB, free: 93.72 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.073e-05/6.143, allocations: 357.9 kB / 3.003 GB, free: 93.37 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007717/6.144, allocations: 442.4 kB / 3.003 GB, free: 92.93 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008598/6.145, allocations: 0.5919 MB / 3.004 GB, free: 92.3 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008947/6.146, allocations: 0.51 MB / 3.004 GB, free: 91.79 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.558e-06/6.146, allocations: 4 kB / 3.004 GB, free: 91.79 MB / 0.7136 GB Notification: Performance of matching and sorting (n=145) (initialization): time 0.003035/6.149, allocations: 1.402 MB / 3.005 GB, free: 90.36 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.671e-05/6.149, allocations: 11.94 kB / 3.005 GB, free: 90.35 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.224e-05/6.149, allocations: 0 / 3.005 GB, free: 90.35 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009444/6.15, allocations: 204.1 kB / 3.006 GB, free: 90.14 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001411/6.151, allocations: 295.6 kB / 3.006 GB, free: 89.85 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004344/6.156, allocations: 6.814 MB / 3.013 GB, free: 82.36 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001558/6.157, allocations: 142.9 kB / 3.013 GB, free: 82.22 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001246/6.158, allocations: 51.97 kB / 3.013 GB, free: 82.17 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (135): * Single equations (assignments): 130 * 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: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.001008/6.159, allocations: 360.6 kB / 3.013 GB, free: 81.81 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002974/6.159, allocations: 130.5 kB / 3.013 GB, free: 81.68 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003621/6.162, allocations: 1.752 MB / 3.015 GB, free: 79.9 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.002e-05/6.163, allocations: 16 kB / 3.015 GB, free: 79.89 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/6.163, allocations: 4 kB / 3.015 GB, free: 79.88 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.371e-05/6.163, allocations: 7.969 kB / 3.015 GB, free: 79.88 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005976/6.169, allocations: 3.316 MB / 3.018 GB, free: 76.49 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.484e-06/6.169, allocations: 8 kB / 3.018 GB, free: 76.48 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001405/6.17, allocations: 311.6 kB / 3.018 GB, free: 76.18 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008491/6.171, allocations: 196 kB / 3.019 GB, free: 75.97 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001188/6.171, allocations: 35.97 kB / 3.019 GB, free: 75.93 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004347/6.175, allocations: 6.861 MB / 3.025 GB, free: 68.39 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/6.175, allocations: 0 / 3.025 GB, free: 68.39 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00349/6.179, allocations: 1.605 MB / 3.027 GB, free: 66.75 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001004/6.18, allocations: 407 kB / 3.027 GB, free: 66.34 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003252/6.18, allocations: 31.98 kB / 3.027 GB, free: 66.3 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001436/6.182, allocations: 119.8 kB / 3.027 GB, free: 66.19 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000223/6.182, allocations: 101.2 kB / 3.028 GB, free: 66.09 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001774/6.182, allocations: 67.94 kB / 3.028 GB, free: 66.02 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0009558/6.183, allocations: 0.5968 MB / 3.028 GB, free: 65.41 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.31e-07/6.183, allocations: 4 kB / 3.028 GB, free: 65.41 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.002537/6.186, allocations: 0.6819 MB / 3.029 GB, free: 64.73 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (140): * Single equations (assignments): 133 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.003433/6.189, allocations: 1.666 MB / 3.031 GB, free: 63.25 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.003101/6.192, allocations: 1.742 MB / 3.032 GB, free: 61.44 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.033e-05/6.192, allocations: 4.562 kB / 3.032 GB, free: 61.43 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.001768/6.194, allocations: 1.262 MB / 3.033 GB, free: 60.11 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002299/6.196, allocations: 447 kB / 3.034 GB, free: 59.68 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006879/6.203, allocations: 3.497 MB / 3.037 GB, free: 56.15 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001047/6.204, allocations: 1.308 MB / 3.039 GB, free: 54.81 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.002066/6.206, allocations: 409.5 kB / 3.039 GB, free: 54.41 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005439/6.207, allocations: 143.4 kB / 3.039 GB, free: 54.27 MB / 0.7136 GB Notification: Performance of SimCode: time 1.162e-06/6.207, allocations: 0 / 3.039 GB, free: 54.27 MB / 0.7136 GB Notification: Performance of Templates: time 0.05839/6.265, allocations: 38.01 MB / 3.076 GB, free: 16.47 MB / 0.7136 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpLowRise.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpLowRise.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpLowRise.sim & ./BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpLowRise -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpLowRise.pipe 2>&1)