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.001249/0.001249, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001409/0.001409, allocations: 194 kB / 16.53 MB, free: 6.391 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.355/1.355, allocations: 222.9 MB / 240.2 MB, free: 4.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.815/2.815, allocations: 472.6 MB / 0.7451 GB, free: 4.656 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001191/0.001191, allocations: 66.34 kB / 0.912 GB, free: 33.48 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3139/0.3151, allocations: 159.9 MB / 1.068 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom): time 0.003298/0.3184, allocations: 1.81 MB / 1.07 GB, free: 8.609 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.00213/0.3206, allocations: 1.611 MB / 1.072 GB, free: 6.988 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.937e-05/0.3207, allocations: 0 / 1.072 GB, free: 6.988 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001763/0.3209, allocations: 27.73 kB / 1.072 GB, free: 6.961 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001043/0.321, allocations: 23.78 kB / 1.072 GB, free: 6.938 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006219/0.3216, allocations: 239.2 kB / 1.072 GB, free: 6.703 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002701/0.3219, allocations: 251.5 kB / 1.072 GB, free: 6.457 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001631/0.3221, allocations: 61.52 kB / 1.072 GB, free: 6.398 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001307/0.3222, allocations: 87.75 kB / 1.072 GB, free: 6.312 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001281/0.3224, allocations: 79.66 kB / 1.072 GB, free: 6.234 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.582e-05/0.3224, allocations: 19.94 kB / 1.072 GB, free: 6.215 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003336/0.3228, allocations: 191.7 kB / 1.072 GB, free: 6.027 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001135/0.3229, allocations: 83.8 kB / 1.073 GB, free: 5.945 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 9.056e-05/0.323, allocations: 95.45 kB / 1.073 GB, free: 5.852 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0004147/0.3234, allocations: 379.3 kB / 1.073 GB, free: 5.48 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.3234, allocations: 0 / 1.073 GB, free: 5.48 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.242e-06/0.3234, allocations: 0 / 1.073 GB, free: 5.48 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.031e-06/0.3234, allocations: 0 / 1.073 GB, free: 5.48 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.0007856/0.3242, allocations: 0.5608 MB / 1.074 GB, free: 4.871 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.666e-05/0.3243, allocations: 12.03 kB / 1.074 GB, free: 4.859 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.16e-05/0.3243, allocations: 24.73 kB / 1.074 GB, free: 4.836 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002879/0.3246, allocations: 257.8 kB / 1.074 GB, free: 4.543 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.77e-05/0.3247, allocations: 20.36 kB / 1.074 GB, free: 4.523 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.047e-05/0.3247, allocations: 31.94 kB / 1.074 GB, free: 4.492 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003414/0.3251, allocations: 205.5 kB / 1.074 GB, free: 4.285 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/0.3251, allocations: 0 / 1.074 GB, free: 4.285 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.255e-05/0.3251, allocations: 11.98 kB / 1.074 GB, free: 4.273 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.414e-06/0.3251, allocations: 4 kB / 1.074 GB, free: 4.27 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002342/0.3254, allocations: 119.6 kB / 1.074 GB, free: 4.152 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001141/0.3265, allocations: 0.5782 MB / 1.075 GB, free: 3.523 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003204/0.3269, allocations: 210.5 kB / 1.075 GB, free: 3.309 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001587/0.327, allocations: 96.8 kB / 1.075 GB, free: 3.211 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.314e-05/0.3271, allocations: 8.438 kB / 1.075 GB, free: 3.203 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003014/0.3274, allocations: 167.9 kB / 1.075 GB, free: 3.027 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=27): time 1.763e-06/0.3274, allocations: 0 / 1.075 GB, free: 3.027 MB / 0.8262 GB Notification: Performance of matching and sorting (n=27): time 0.0006576/0.3281, allocations: 398.3 kB / 1.076 GB, free: 2.637 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.005e-05/0.3281, allocations: 67.41 kB / 1.076 GB, free: 2.559 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001687/0.3283, allocations: 187.2 kB / 1.076 GB, free: 2.367 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.994e-05/0.3283, allocations: 45.69 kB / 1.076 GB, free: 2.316 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.949e-05/0.3284, allocations: 128.9 kB / 1.076 GB, free: 2.184 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 6.455e-05/0.3285, allocations: 83 kB / 1.076 GB, free: 2.102 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.76e-05/0.3286, allocations: 78.12 kB / 1.076 GB, free: 2.016 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001069/0.3287, allocations: 338.8 kB / 1.076 GB, free: 1.676 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001894/0.3289, allocations: 116.8 kB / 1.077 GB, free: 1.562 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002617/0.3292, allocations: 257.4 kB / 1.077 GB, free: 1.25 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004259/0.3296, allocations: 375.9 kB / 1.077 GB, free: 0.8242 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.34e-06/0.3296, allocations: 7.938 kB / 1.077 GB, free: 0.8164 MB / 0.8262 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005971/0.3302, allocations: 409.2 kB / 1.078 GB, free: 420 kB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.9e-05/0.3303, allocations: 13.47 kB / 1.078 GB, free: 408 kB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/0.3303, allocations: 4 kB / 1.078 GB, free: 404 kB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.801e-05/0.3303, allocations: 8 kB / 1.078 GB, free: 396 kB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001927/0.3305, allocations: 63.84 kB / 1.078 GB, free: 332 kB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.167e-05/0.3305, allocations: 8 kB / 1.078 GB, free: 324 kB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001318/0.3306, allocations: 35.61 kB / 1.078 GB, free: 288 kB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.235e-05/0.3307, allocations: 20 kB / 1.078 GB, free: 268 kB / 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.0001685/0.3309, allocations: 188.2 kB / 1.078 GB, free: 72 kB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.201e-05/0.3309, allocations: 15.81 kB / 1.078 GB, free: 56 kB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.084e-05/0.3309, allocations: 26.55 kB / 1.078 GB, free: 32 kB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/0.3309, allocations: 192 / 1.078 GB, free: 32 kB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/0.331, allocations: 4 kB / 1.078 GB, free: 28 kB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.107e-06/0.331, allocations: 0 / 1.078 GB, free: 28 kB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009185/0.3319, allocations: 0.7101 MB / 1.079 GB, free: 15.26 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.3319, allocations: 0 / 1.079 GB, free: 15.26 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001065/0.332, allocations: 19.98 kB / 1.079 GB, free: 15.24 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.928e-06/0.332, allocations: 0 / 1.079 GB, free: 15.24 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.511e-05/0.3321, allocations: 15.92 kB / 1.079 GB, free: 15.23 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.784e-06/0.3321, allocations: 0 / 1.079 GB, free: 15.23 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.3321, allocations: 4 kB / 1.079 GB, free: 15.22 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006518/0.3327, allocations: 0.5047 MB / 1.079 GB, free: 14.7 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.227e-05/0.3328, allocations: 104.8 kB / 1.079 GB, free: 14.58 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.857e-05/0.3328, allocations: 15.98 kB / 1.079 GB, free: 14.57 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001186/0.333, allocations: 15.92 kB / 1.079 GB, free: 14.55 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.27e-05/0.333, allocations: 15.97 kB / 1.079 GB, free: 14.54 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.752e-05/0.3331, allocations: 12 kB / 1.079 GB, free: 14.52 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 8.779e-05/0.3332, allocations: 132.2 kB / 1.079 GB, free: 14.39 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3332, allocations: 0 / 1.079 GB, free: 14.39 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0004259/0.3336, allocations: 104 kB / 1.08 GB, free: 14.29 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.0006758/0.3343, allocations: 333.8 kB / 1.08 GB, free: 14.02 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.00054/0.3348, allocations: 323.6 kB / 1.08 GB, free: 13.7 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.3348, allocations: 0 / 1.08 GB, free: 13.7 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001768/0.335, allocations: 108.8 kB / 1.08 GB, free: 13.6 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003001/0.3353, allocations: 27.97 kB / 1.08 GB, free: 13.57 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008405/0.3362, allocations: 0.496 MB / 1.081 GB, free: 13.05 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000308/0.3365, allocations: 0.744 MB / 1.082 GB, free: 12.28 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001288/0.3366, allocations: 54.25 kB / 1.082 GB, free: 12.23 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.468e-05/0.3367, allocations: 23.44 kB / 1.082 GB, free: 12.2 MB / 0.8419 GB Notification: Performance of SimCode: time 2.91e-07/0.3367, allocations: 0 / 1.082 GB, free: 12.2 MB / 0.8419 GB Notification: Performance of Templates: time 0.006423/0.3431, allocations: 3.294 MB / 1.085 GB, free: 8.914 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)