Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.IO.Python36.Examples.SimpleRoom.conf.json 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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Utilities.IO.Python36.Examples.SimpleRoom,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.IO.Python36.Examples.SimpleRoom") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.562/2.562, allocations: 251.1 MB / 266.1 MB, free: 11.62 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002428/0.002429, allocations: 178.4 kB / 325.6 MB, free: 2.828 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.777/2.777, allocations: 205.4 MB / 0.5766 GB, free: 20.83 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00113/0.00113, allocations: 98.81 kB / 0.6811 GB, free: 13.62 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006428/0.000643, allocations: 11.56 kB / 0.7951 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2298/0.2305, allocations: 106.3 MB / 0.8989 GB, free: 65.5 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python36.Examples.SimpleRoom): time 0.00237/0.2329, allocations: 1.458 MB / 0.9003 GB, free: 64.03 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002703/0.2357, allocations: 1.546 MB / 0.9018 GB, free: 62.47 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001539/0.2359, allocations: 3.938 kB / 0.9018 GB, free: 62.46 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0002594/0.2362, allocations: 27.78 kB / 0.9019 GB, free: 62.44 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001498/0.2363, allocations: 15.97 kB / 0.9019 GB, free: 62.42 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008314/0.2372, allocations: 191.5 kB / 0.902 GB, free: 62.23 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0002986/0.2375, allocations: 167.7 kB / 0.9022 GB, free: 62.07 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001569/0.2377, allocations: 49.83 kB / 0.9023 GB, free: 62.02 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001804/0.2379, allocations: 75.75 kB / 0.9023 GB, free: 61.95 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001545/0.238, allocations: 59.75 kB / 0.9024 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.063e-05/0.2381, allocations: 8 kB / 0.9024 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004953/0.2386, allocations: 151.7 kB / 0.9025 GB, free: 61.73 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001121/0.2387, allocations: 63.81 kB / 0.9026 GB, free: 61.67 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 6.58e-05/0.2388, allocations: 65.56 kB / 0.9027 GB, free: 61.6 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0004384/0.2392, allocations: 279.5 kB / 0.9029 GB, free: 61.32 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.2393, allocations: 0 / 0.9029 GB, free: 61.32 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.943e-06/0.2393, allocations: 0 / 0.9029 GB, free: 61.32 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.793e-06/0.2393, allocations: 0 / 0.9029 GB, free: 61.32 MB / 0.6042 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.001168/0.2405, allocations: 0.5265 MB / 0.9034 GB, free: 60.75 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.223e-05/0.2405, allocations: 8.031 kB / 0.9034 GB, free: 60.74 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.535e-05/0.2406, allocations: 23.81 kB / 0.9035 GB, free: 60.71 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003049/0.2409, allocations: 242.6 kB / 0.9037 GB, free: 60.44 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.783e-05/0.241, allocations: 24.31 kB / 0.9037 GB, free: 60.41 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.455e-05/0.2411, allocations: 24 kB / 0.9037 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004961/0.2416, allocations: 204.8 kB / 0.9039 GB, free: 60.19 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.514e-05/0.2416, allocations: 3.938 kB / 0.9039 GB, free: 60.18 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.198e-05/0.2416, allocations: 8 kB / 0.904 GB, free: 60.18 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.554e-06/0.2416, allocations: 4 kB / 0.904 GB, free: 60.17 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003645/0.242, allocations: 116.5 kB / 0.9041 GB, free: 60.06 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001983/0.244, allocations: 0.6055 MB / 0.9047 GB, free: 59.4 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001295/0.2454, allocations: 292.4 kB / 0.9049 GB, free: 59.11 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.829e-05/0.2454, allocations: 4 kB / 0.9049 GB, free: 59.11 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004233/0.2458, allocations: 167.3 kB / 0.9051 GB, free: 58.93 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=26): time 3.236e-06/0.2459, allocations: 0 / 0.9051 GB, free: 58.93 MB / 0.6042 GB Notification: Performance of matching and sorting (n=26): time 0.001059/0.2469, allocations: 475.2 kB / 0.9056 GB, free: 58.44 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.866e-05/0.247, allocations: 75.34 kB / 0.9056 GB, free: 58.36 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001902/0.2472, allocations: 178.8 kB / 0.9058 GB, free: 58.17 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 5.547e-05/0.2473, allocations: 45.69 kB / 0.9058 GB, free: 58.12 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 7.84e-05/0.2474, allocations: 116.7 kB / 0.906 GB, free: 58 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 8.088e-05/0.2475, allocations: 86.98 kB / 0.906 GB, free: 57.92 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.267e-05/0.2475, allocations: 4 kB / 0.906 GB, free: 57.91 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.748e-05/0.2476, allocations: 338.8 kB / 0.9064 GB, free: 57.57 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002965/0.2479, allocations: 112.8 kB / 0.9065 GB, free: 57.46 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003685/0.2483, allocations: 252.5 kB / 0.9067 GB, free: 57.16 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003677/0.2487, allocations: 155.9 kB / 0.9069 GB, free: 57.01 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.05e-06/0.2487, allocations: 0 / 0.9069 GB, free: 57.01 MB / 0.6042 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0009027/0.2496, allocations: 409 kB / 0.9073 GB, free: 56.6 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.218e-05/0.2496, allocations: 8 kB / 0.9073 GB, free: 56.59 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.191e-05/0.2497, allocations: 4 kB / 0.9073 GB, free: 56.59 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.823e-05/0.2497, allocations: 12.14 kB / 0.9073 GB, free: 56.58 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003583/0.2501, allocations: 67.84 kB / 0.9073 GB, free: 56.51 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.674e-05/0.2501, allocations: 15.88 kB / 0.9074 GB, free: 56.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003043/0.2504, allocations: 47.98 kB / 0.9074 GB, free: 56.45 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.288e-05/0.2504, allocations: 20 kB / 0.9074 GB, free: 56.43 MB / 0.6042 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 ($PRE.pyt.firstTrigger,pyt.firstTrigger,$PRE.pyt.yR[2],pyt.yR[2],$PRE.pyt.uRIntPre[1],pyt.uRIntPre[1],$PRE.pyt.uRIntPre[2],pyt.uRIntPre[2],$PRE.pyt.uRIntPre[3],pyt.uRIntPre[3],$PRE.pyt.uRIntPre[4],pyt.uRIntPre[4],$PRE.pyt.uRWri[1],pyt.uRWri[1],$PRE.pyt.uRWri_temp[1],pyt.uRWri_temp[1],$PRE.pyt.uRWri[4],pyt.uRWri[4],$PRE.pyt.uRWri_temp[4],pyt.uRWri_temp[4],$whenCondition1,pyt.sampleTrigger,$PRE.pyt.yR[1],pyt.yR[1],$PRE.pyt.uRWri[3],pyt.uRWri[3],$PRE.pyt.uRWri_temp[3],pyt.uRWri_temp[3],$PRE.onOffCon.y,onOffCon.y,$PRE.pyt.uRWri[2],pyt.uRWri[2],$PRE.pyt.uRWri_temp[2],pyt.uRWri_temp[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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000257/0.2507, allocations: 177.4 kB / 0.9076 GB, free: 56.25 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.624e-05/0.2508, allocations: 19.81 kB / 0.9076 GB, free: 56.23 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.86e-05/0.2508, allocations: 21.88 kB / 0.9076 GB, free: 56.21 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-06/0.2509, allocations: 4 kB / 0.9076 GB, free: 56.21 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.287e-06/0.2509, allocations: 3.953 kB / 0.9076 GB, free: 56.2 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.502e-06/0.2509, allocations: 3.984 kB / 0.9076 GB, free: 56.2 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001381/0.2523, allocations: 0.6779 MB / 0.9083 GB, free: 55.46 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.2523, allocations: 0 / 0.9083 GB, free: 55.46 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001924/0.2525, allocations: 27.94 kB / 0.9083 GB, free: 55.44 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.624e-06/0.2525, allocations: 3.984 kB / 0.9083 GB, free: 55.43 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.59e-05/0.2526, allocations: 7.953 kB / 0.9083 GB, free: 55.43 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.959e-06/0.2526, allocations: 3.984 kB / 0.9083 GB, free: 55.42 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.2526, allocations: 0 / 0.9083 GB, free: 55.42 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009815/0.2536, allocations: 0.5108 MB / 0.9088 GB, free: 54.89 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 5.21e-05/0.2537, allocations: 96.86 kB / 0.9089 GB, free: 54.78 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.939e-05/0.2537, allocations: 20.02 kB / 0.909 GB, free: 54.76 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002585/0.254, allocations: 23.94 kB / 0.909 GB, free: 54.74 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.794e-05/0.2541, allocations: 19.97 kB / 0.909 GB, free: 54.72 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.806e-05/0.2542, allocations: 15.98 kB / 0.909 GB, free: 54.7 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001168/0.2543, allocations: 135.2 kB / 0.9091 GB, free: 54.57 MB / 0.6042 GB Notification: Performance of sort global known variables: time 3.61e-07/0.2543, allocations: 0 / 0.9091 GB, free: 54.57 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0006444/0.255, allocations: 103.8 kB / 0.9092 GB, free: 54.47 MB / 0.6042 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 (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.0008529/0.2559, allocations: 331.3 kB / 0.9096 GB, free: 54.2 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0007471/0.2566, allocations: 280.4 kB / 0.9098 GB, free: 53.92 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.038e-06/0.2566, allocations: 0 / 0.9098 GB, free: 53.92 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002692/0.2569, allocations: 112.4 kB / 0.9099 GB, free: 53.81 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003162/0.2573, allocations: 22.02 kB / 0.91 GB, free: 53.79 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001209/0.2585, allocations: 0.533 MB / 0.9105 GB, free: 53.23 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002295/0.2587, allocations: 0.7562 MB / 0.9112 GB, free: 52.44 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0002353/0.259, allocations: 46.25 kB / 0.9113 GB, free: 52.4 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.632e-05/0.2591, allocations: 23.44 kB / 0.9113 GB, free: 52.38 MB / 0.6042 GB Notification: Performance of SimCode: time 8.82e-07/0.2591, allocations: 0 / 0.9113 GB, free: 52.38 MB / 0.6042 GB Notification: Performance of Templates: time 0.009/0.2681, allocations: 3.004 MB / 0.9142 GB, free: 49.38 MB / 0.6042 GB