Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Obsolete.Utilities.IO.Python36.Examples.SimpleRoom.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.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) 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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Obsolete.Utilities.IO.Python36.Examples.SimpleRoom,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Obsolete.Utilities.IO.Python36.Examples.SimpleRoom") translateModel(Buildings.Obsolete.Utilities.IO.Python36.Examples.SimpleRoom,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Obsolete.Utilities.IO.Python36.Examples.SimpleRoom") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 1.996/1.996, allocations: 391.2 MB / 407 MB, free: 10.9 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001116/0.001116, allocations: 198.9 kB / 499.1 MB, free: 4.699 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.287/1.287, allocations: 222.9 MB / 0.7948 GB, free: 15.85 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009373/0.000937, allocations: 119.9 kB / 0.9329 GB, free: 7.086 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.000979/0.0009791, allocations: 50.64 kB / 1.081 GB, free: 218.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2028/0.2038, allocations: 140.6 MB / 1.218 GB, free: 117.3 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Utilities.IO.Python36.Examples.SimpleRoom): time 0.002571/0.2064, allocations: 1.84 MB / 1.22 GB, free: 115.4 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.001606/0.208, allocations: 1.588 MB / 1.221 GB, free: 113.8 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.573e-05/0.2081, allocations: 7.938 kB / 1.221 GB, free: 113.8 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.0001463/0.2083, allocations: 23.86 kB / 1.221 GB, free: 113.8 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 9.614e-05/0.2084, allocations: 11.86 kB / 1.221 GB, free: 113.8 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005154/0.2089, allocations: 195.6 kB / 1.222 GB, free: 113.6 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0002002/0.2091, allocations: 227.5 kB / 1.222 GB, free: 113.3 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001088/0.2093, allocations: 53.89 kB / 1.222 GB, free: 113.3 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001211/0.2094, allocations: 87.67 kB / 1.222 GB, free: 113.2 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001067/0.2095, allocations: 79.67 kB / 1.222 GB, free: 113.1 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 2.289e-05/0.2095, allocations: 8 kB / 1.222 GB, free: 113.1 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002857/0.2098, allocations: 187.6 kB / 1.222 GB, free: 112.9 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 8.397e-05/0.2099, allocations: 79.8 kB / 1.222 GB, free: 112.9 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 7.137e-05/0.21, allocations: 83.53 kB / 1.222 GB, free: 112.8 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0003386/0.2103, allocations: 369.2 kB / 1.223 GB, free: 112.4 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.2104, allocations: 7.984 kB / 1.223 GB, free: 112.4 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.433e-06/0.2104, allocations: 0 / 1.223 GB, free: 112.4 MB / 0.823 GB Notification: Performance of Transformations before backend: time 8.185e-06/0.2104, allocations: 3.938 kB / 1.223 GB, free: 112.4 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.0007597/0.2111, allocations: 0.5653 MB / 1.223 GB, free: 111.8 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.077e-05/0.2112, allocations: 15.98 kB / 1.223 GB, free: 111.8 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.059e-05/0.2112, allocations: 20.75 kB / 1.223 GB, free: 111.8 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001953/0.2114, allocations: 244.5 kB / 1.224 GB, free: 111.5 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.034e-05/0.2115, allocations: 24.69 kB / 1.224 GB, free: 111.4 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.712e-05/0.2115, allocations: 27.84 kB / 1.224 GB, free: 111.4 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000277/0.2118, allocations: 210.1 kB / 1.224 GB, free: 111.2 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.897e-06/0.2118, allocations: 0 / 1.224 GB, free: 111.2 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.824e-05/0.2118, allocations: 8 kB / 1.224 GB, free: 111.2 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.09e-06/0.2118, allocations: 4 kB / 1.224 GB, free: 111.2 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001903/0.212, allocations: 116.2 kB / 1.224 GB, free: 111.1 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001069/0.2131, allocations: 0.5976 MB / 1.225 GB, free: 110.4 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007058/0.2138, allocations: 273.3 kB / 1.225 GB, free: 110.2 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001236/0.214, allocations: 96.75 kB / 1.225 GB, free: 110.1 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.88e-05/0.214, allocations: 8 kB / 1.225 GB, free: 110.1 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002348/0.2142, allocations: 173.4 kB / 1.225 GB, free: 109.9 MB / 0.823 GB Notification: Performance of pre-optimization done (n=26): time 1.683e-06/0.2142, allocations: 3.938 kB / 1.225 GB, free: 109.9 MB / 0.823 GB Notification: Performance of matching and sorting (n=26): time 0.0005171/0.2148, allocations: 378.8 kB / 1.225 GB, free: 109.5 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.79e-05/0.2148, allocations: 67.39 kB / 1.226 GB, free: 109.4 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001087/0.2149, allocations: 187.6 kB / 1.226 GB, free: 109.2 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 2.968e-05/0.215, allocations: 45.69 kB / 1.226 GB, free: 109.2 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 4.881e-05/0.215, allocations: 124.7 kB / 1.226 GB, free: 109.1 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 4.79e-05/0.2151, allocations: 79 kB / 1.226 GB, free: 109 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.455e-05/0.2152, allocations: 78.12 kB / 1.226 GB, free: 108.9 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 5.184e-05/0.2152, allocations: 338.8 kB / 1.226 GB, free: 108.6 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000153/0.2154, allocations: 116.7 kB / 1.226 GB, free: 108.4 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001818/0.2156, allocations: 244.6 kB / 1.227 GB, free: 108.1 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003283/0.2159, allocations: 368 kB / 1.227 GB, free: 107.7 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/0.2159, allocations: 0 / 1.227 GB, free: 107.7 MB / 0.823 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0004764/0.2164, allocations: 413.2 kB / 1.227 GB, free: 107.3 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.452e-05/0.2164, allocations: 8.031 kB / 1.227 GB, free: 107.3 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.333e-06/0.2164, allocations: 4.188 kB / 1.227 GB, free: 107.3 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.66e-05/0.2164, allocations: 8 kB / 1.227 GB, free: 107.3 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001603/0.2166, allocations: 67.84 kB / 1.228 GB, free: 107.2 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.248e-06/0.2166, allocations: 11.94 kB / 1.228 GB, free: 107.2 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001718/0.2168, allocations: 39.67 kB / 1.228 GB, free: 107.2 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.881e-05/0.2168, allocations: 16 kB / 1.228 GB, free: 107.2 MB / 0.823 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,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],pyt.uRWri_temp[2],$PRE.pyt.uRWri_temp[2],pyt.uRWri[2],$PRE.pyt.uRWri[2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 50 * 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.0001269/0.217, allocations: 192.8 kB / 1.228 GB, free: 107 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.929e-05/0.217, allocations: 19.81 kB / 1.228 GB, free: 106.9 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.822e-05/0.217, allocations: 17.88 kB / 1.228 GB, free: 106.9 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.217, allocations: 0 / 1.228 GB, free: 106.9 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.2171, allocations: 0 / 1.228 GB, free: 106.9 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.2171, allocations: 4.078 kB / 1.228 GB, free: 106.9 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006977/0.2178, allocations: 0.6945 MB / 1.228 GB, free: 106.2 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.2178, allocations: 0 / 1.228 GB, free: 106.2 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.111e-05/0.2179, allocations: 15.98 kB / 1.229 GB, free: 106.2 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.2179, allocations: 4 kB / 1.229 GB, free: 106.2 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.066e-05/0.2179, allocations: 11.98 kB / 1.229 GB, free: 106.1 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.2179, allocations: 0 / 1.229 GB, free: 106.1 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.2179, allocations: 0 / 1.229 GB, free: 106.1 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001092/0.219, allocations: 1.568 MB / 1.23 GB, free: 104.4 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 2.802e-05/0.2191, allocations: 96.86 kB / 1.23 GB, free: 104.3 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.382e-05/0.2191, allocations: 16.03 kB / 1.23 GB, free: 104.3 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001491/0.2193, allocations: 23.97 kB / 1.23 GB, free: 104.3 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.099e-05/0.2193, allocations: 15.92 kB / 1.23 GB, free: 104.3 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.494e-05/0.2193, allocations: 19.98 kB / 1.23 GB, free: 104.3 MB / 0.823 GB Notification: Performance of sorting global known variables: time 5.897e-05/0.2194, allocations: 123.2 kB / 1.23 GB, free: 104.1 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2194, allocations: 0 / 1.23 GB, free: 104.1 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0004433/0.2199, allocations: 119.8 kB / 1.23 GB, free: 104 MB / 0.823 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 (25): * Single equations (assignments): 11 * 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.0005193/0.2204, allocations: 327.1 kB / 1.231 GB, free: 103.8 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.000357/0.2208, allocations: 275.9 kB / 1.231 GB, free: 103.5 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.2208, allocations: 0 / 1.231 GB, free: 103.5 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001392/0.2209, allocations: 111.8 kB / 1.231 GB, free: 103.4 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002684/0.2212, allocations: 23.98 kB / 1.231 GB, free: 103.4 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007196/0.2219, allocations: 0.7392 MB / 1.232 GB, free: 102.6 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001381/0.2221, allocations: 0.756 MB / 1.233 GB, free: 101.8 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0001176/0.2222, allocations: 54.19 kB / 1.233 GB, free: 101.7 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.744e-05/0.2222, allocations: 27.42 kB / 1.233 GB, free: 101.7 MB / 0.823 GB Notification: Performance of SimCode: time 1.9e-07/0.2222, allocations: 0 / 1.233 GB, free: 101.7 MB / 0.823 GB Notification: Performance of Templates: time 0.004983/0.2272, allocations: 3.26 MB / 1.236 GB, free: 98.46 MB / 0.823 GB make -j1 -f Buildings_latest_Buildings.Obsolete.Utilities.IO.Python36.Examples.SimpleRoom.makefile (rm -f Buildings_latest_Buildings.Obsolete.Utilities.IO.Python36.Examples.SimpleRoom.pipe ; mkfifo Buildings_latest_Buildings.Obsolete.Utilities.IO.Python36.Examples.SimpleRoom.pipe ; head -c 1048576 < Buildings_latest_Buildings.Obsolete.Utilities.IO.Python36.Examples.SimpleRoom.pipe >> ../files/Buildings_latest_Buildings.Obsolete.Utilities.IO.Python36.Examples.SimpleRoom.sim & ./Buildings_latest_Buildings.Obsolete.Utilities.IO.Python36.Examples.SimpleRoom -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Obsolete.Utilities.IO.Python36.Examples.SimpleRoom.pipe 2>&1)