Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.conf.json 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/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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom") translateModel(Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00109/0.00109, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001271/0.001271, allocations: 193 kB / 16.14 MB, free: 6.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.473/1.473, allocations: 222.9 MB / 239.8 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.816/2.816, allocations: 472.6 MB / 0.7447 GB, free: 4.949 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002094/0.002094, allocations: 69.22 kB / 0.9113 GB, free: 33.62 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3303/0.3325, allocations: 159.9 MB / 1.068 GB, free: 10.94 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom): time 0.003421/0.3359, allocations: 1.863 MB / 1.069 GB, free: 9.062 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002489/0.3384, allocations: 1.596 MB / 1.071 GB, free: 7.457 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000125/0.3386, allocations: 3.938 kB / 1.071 GB, free: 7.453 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.000208/0.3388, allocations: 23.86 kB / 1.071 GB, free: 7.43 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.000166/0.339, allocations: 19.84 kB / 1.071 GB, free: 7.41 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007243/0.3397, allocations: 187.6 kB / 1.071 GB, free: 7.227 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0003436/0.3401, allocations: 239.4 kB / 1.071 GB, free: 6.992 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001769/0.3403, allocations: 61.52 kB / 1.071 GB, free: 6.934 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002023/0.3405, allocations: 91.67 kB / 1.071 GB, free: 6.844 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001656/0.3407, allocations: 79.67 kB / 1.072 GB, free: 6.766 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.578e-05/0.3407, allocations: 8 kB / 1.072 GB, free: 6.758 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004461/0.3412, allocations: 183.7 kB / 1.072 GB, free: 6.578 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001214/0.3413, allocations: 71.8 kB / 1.072 GB, free: 6.508 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001152/0.3414, allocations: 91.45 kB / 1.072 GB, free: 6.418 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0005937/0.342, allocations: 375.3 kB / 1.072 GB, free: 6.051 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.342, allocations: 4 kB / 1.072 GB, free: 6.047 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.122e-06/0.3421, allocations: 0 / 1.072 GB, free: 6.047 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 9.548e-06/0.3421, allocations: 0 / 1.072 GB, free: 6.047 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.001008/0.3431, allocations: 0.5608 MB / 1.073 GB, free: 5.438 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.647e-05/0.3431, allocations: 8.031 kB / 1.073 GB, free: 5.43 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.844e-05/0.3432, allocations: 20.75 kB / 1.073 GB, free: 5.41 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003216/0.3435, allocations: 256.7 kB / 1.073 GB, free: 5.117 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.689e-05/0.3436, allocations: 20.38 kB / 1.073 GB, free: 5.098 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.386e-05/0.3436, allocations: 27.92 kB / 1.073 GB, free: 5.07 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003802/0.344, allocations: 205.5 kB / 1.073 GB, free: 4.863 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.938e-06/0.344, allocations: 0 / 1.073 GB, free: 4.863 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.178e-05/0.3441, allocations: 4 kB / 1.073 GB, free: 4.859 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.005e-05/0.3441, allocations: 8 kB / 1.073 GB, free: 4.852 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002453/0.3443, allocations: 119.7 kB / 1.073 GB, free: 4.734 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001265/0.3456, allocations: 0.5898 MB / 1.074 GB, free: 4.094 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003618/0.346, allocations: 214.3 kB / 1.074 GB, free: 3.875 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001696/0.3462, allocations: 101.5 kB / 1.074 GB, free: 3.773 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.656e-05/0.3462, allocations: 4.438 kB / 1.074 GB, free: 3.77 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003536/0.3466, allocations: 171.9 kB / 1.074 GB, free: 3.59 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=27): time 1.834e-06/0.3466, allocations: 0 / 1.074 GB, free: 3.59 MB / 0.8262 GB Notification: Performance of matching and sorting (n=27): time 0.0007642/0.3473, allocations: 397.1 kB / 1.075 GB, free: 3.199 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.948e-05/0.3474, allocations: 71.39 kB / 1.075 GB, free: 3.117 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000177/0.3476, allocations: 179.2 kB / 1.075 GB, free: 2.934 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 5.238e-05/0.3477, allocations: 49.69 kB / 1.075 GB, free: 2.879 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 9.667e-05/0.3478, allocations: 132.9 kB / 1.075 GB, free: 2.742 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 7.118e-05/0.3478, allocations: 75 kB / 1.075 GB, free: 2.668 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001235/0.348, allocations: 90.12 kB / 1.075 GB, free: 2.57 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001159/0.3481, allocations: 330.8 kB / 1.076 GB, free: 2.238 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002182/0.3483, allocations: 120.8 kB / 1.076 GB, free: 2.121 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003167/0.3486, allocations: 257.4 kB / 1.076 GB, free: 1.809 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005358/0.3492, allocations: 372 kB / 1.076 GB, free: 1.387 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.783e-06/0.3492, allocations: 3.938 kB / 1.076 GB, free: 1.383 MB / 0.8262 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0007403/0.3499, allocations: 416.8 kB / 1.077 GB, free: 0.9688 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.645e-05/0.35, allocations: 9.406 kB / 1.077 GB, free: 0.9609 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.123e-05/0.35, allocations: 4 kB / 1.077 GB, free: 0.957 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.743e-05/0.35, allocations: 8 kB / 1.077 GB, free: 0.9492 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002119/0.3503, allocations: 64.31 kB / 1.077 GB, free: 0.8867 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.755e-05/0.3503, allocations: 15.94 kB / 1.077 GB, free: 0.8711 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001608/0.3504, allocations: 35.69 kB / 1.077 GB, free: 0.8359 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.954e-05/0.3505, allocations: 16 kB / 1.077 GB, free: 0.8203 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 34 (pyt.firstTrigger,$PRE.pyt.firstTrigger,pyt.yR[2],$PRE.pyt.yR[2],pyt.uRIntPre[1],$PRE.pyt.uRIntPre[1],pyt.uRIntPre[2],$PRE.pyt.uRIntPre[2],pyt.uRIntPre[3],$PRE.pyt.uRIntPre[3],pyt.uRIntPre[4],$PRE.pyt.uRIntPre[4],pyt.uRWri_temp[1],$PRE.pyt.uRWri_temp[1],pyt.uRWri[1],$PRE.pyt.uRWri[1],pyt.uRWri_temp[4],$PRE.pyt.uRWri_temp[4],pyt.uRWri[4],$PRE.pyt.uRWri[4],pyt.sampleTrigger,$whenCondition1,pyt.uRWri_temp[2],$PRE.pyt.uRWri_temp[2],pyt.uRWri[2],$PRE.pyt.uRWri[2],onOffCon.y,$PRE.onOffCon.y,pyt.uRWri_temp[3],$PRE.pyt.uRWri_temp[3],pyt.uRWri[3],$PRE.pyt.uRWri[3],pyt.yR[1],$PRE.pyt.yR[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (51): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002183/0.3507, allocations: 180.2 kB / 1.077 GB, free: 0.6328 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.824e-05/0.3508, allocations: 23.81 kB / 1.077 GB, free: 0.6094 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.08e-05/0.3508, allocations: 22.56 kB / 1.077 GB, free: 0.5898 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.679e-06/0.3508, allocations: 4 kB / 1.077 GB, free: 0.5859 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.127e-05/0.3508, allocations: 4.172 kB / 1.077 GB, free: 0.582 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.402e-06/0.3508, allocations: 4 kB / 1.077 GB, free: 0.5781 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001095/0.3519, allocations: 0.6893 MB / 1.078 GB, free: 15.83 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.352, allocations: 0 / 1.078 GB, free: 15.83 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001151/0.3521, allocations: 23.92 kB / 1.078 GB, free: 15.81 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.769e-06/0.3521, allocations: 4 kB / 1.078 GB, free: 15.8 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.443e-05/0.3521, allocations: 11.98 kB / 1.078 GB, free: 15.79 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.222e-06/0.3522, allocations: 4 kB / 1.078 GB, free: 15.79 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.526e-06/0.3522, allocations: 3.984 kB / 1.078 GB, free: 15.79 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007959/0.353, allocations: 0.503 MB / 1.078 GB, free: 15.27 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 6.529e-05/0.353, allocations: 96.86 kB / 1.079 GB, free: 15.15 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.975e-05/0.3531, allocations: 23.95 kB / 1.079 GB, free: 15.13 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001293/0.3532, allocations: 15.98 kB / 1.079 GB, free: 15.11 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.443e-05/0.3533, allocations: 27.91 kB / 1.079 GB, free: 15.09 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.405e-05/0.3534, allocations: 11.98 kB / 1.079 GB, free: 15.07 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001336/0.3535, allocations: 131.2 kB / 1.079 GB, free: 14.95 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3535, allocations: 0 / 1.079 GB, free: 14.95 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0004963/0.354, allocations: 104 kB / 1.079 GB, free: 14.84 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (pyt.uRInt[1],pyt.uRInt[2],pyt.uRInt[3],pyt.uRInt[4]) * Number of discrete variables: 18 (pyt.sampleTrigger,$whenCondition1,pyt.firstTrigger,pyt.yR[1],pyt.yR[2],pyt.uRIntPre[1],pyt.uRIntPre[2],pyt.uRIntPre[3],pyt.uRIntPre[4],pyt.uRWri[1],pyt.uRWri[2],pyt.uRWri[3],pyt.uRWri[4],pyt.uRWri_temp[1],pyt.uRWri_temp[2],pyt.uRWri_temp[3],pyt.uRWri_temp[4],onOffCon.y) * Number of discrete states: 5 (pyt.uR[1],pyt.uR[2],pyt.uR[3],pyt.uR[4],onOffCon.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 14 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009166/0.355, allocations: 333.1 kB / 1.079 GB, free: 14.57 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0005335/0.3555, allocations: 279.6 kB / 1.079 GB, free: 14.3 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.3555, allocations: 0 / 1.079 GB, free: 14.3 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002064/0.3557, allocations: 112.9 kB / 1.08 GB, free: 14.19 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003117/0.356, allocations: 23.98 kB / 1.08 GB, free: 14.17 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009823/0.357, allocations: 0.5477 MB / 1.08 GB, free: 13.59 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003646/0.3574, allocations: 0.7443 MB / 1.081 GB, free: 12.82 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001652/0.3576, allocations: 58.22 kB / 1.081 GB, free: 12.77 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.997e-05/0.3576, allocations: 23.44 kB / 1.081 GB, free: 12.74 MB / 0.8419 GB Notification: Performance of SimCode: time 2.364e-06/0.3577, allocations: 0 / 1.081 GB, free: 12.74 MB / 0.8419 GB Notification: Performance of Templates: time 0.006838/0.3645, allocations: 3.136 MB / 1.084 GB, free: 9.609 MB / 0.8419 GB make -j1 -f Buildings_3.0.0_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.makefile (rm -f Buildings_3.0.0_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.pipe ; mkfifo Buildings_3.0.0_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.pipe >> ../files/Buildings_3.0.0_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.sim & ./Buildings_3.0.0_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.pipe 2>&1)