Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.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 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.84/4.84, allocations: 0.5623 GB / 0.5769 GB, free: 3.324 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00242/0.002419, allocations: 357.5 kB / 0.644 GB, free: 185.7 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.156/4.156, allocations: 410.7 MB / 1.112 GB, free: 6.055 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00182/0.00182, allocations: 179.6 kB / 1.225 GB, free: 6.176 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004973/0.0004976, allocations: 12 kB / 1.348 GB, free: 8.301 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5961/0.5966, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain): time 0.001515/0.5981, allocations: 1.246 MB / 1.462 GB, free: 283.1 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 9.915e-05/0.5983, allocations: 25.17 kB / 1.462 GB, free: 283.1 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.566e-05/0.5983, allocations: 3.938 kB / 1.462 GB, free: 283.1 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 8.248e-05/0.5984, allocations: 3.938 kB / 1.462 GB, free: 283.1 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 3.384e-05/0.5985, allocations: 8.703 kB / 1.462 GB, free: 283.1 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 8.678e-05/0.5986, allocations: 16.72 kB / 1.462 GB, free: 283.1 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 7.428e-05/0.5987, allocations: 39.86 kB / 1.462 GB, free: 283 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001087/0.5988, allocations: 30.08 kB / 1.462 GB, free: 283 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 2.674e-05/0.5988, allocations: 19.86 kB / 1.462 GB, free: 283 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 5.803e-05/0.5989, allocations: 25.7 kB / 1.462 GB, free: 283 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.464e-05/0.5989, allocations: 0 / 1.462 GB, free: 283 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 1.006e-05/0.5989, allocations: 0 / 1.462 GB, free: 283 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 3.042e-05/0.599, allocations: 11.98 kB / 1.462 GB, free: 283 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 2.342e-05/0.599, allocations: 37.64 kB / 1.462 GB, free: 282.9 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 6.682e-05/0.5991, allocations: 39.22 kB / 1.462 GB, free: 282.9 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 5.636e-06/0.5991, allocations: 3.984 kB / 1.462 GB, free: 282.9 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.983e-06/0.5991, allocations: 0 / 1.462 GB, free: 282.9 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 9.645e-06/0.5991, allocations: 0.6875 kB / 1.462 GB, free: 282.9 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0002971/0.5994, allocations: 348.3 kB / 1.463 GB, free: 282.5 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.917e-05/0.5995, allocations: 11.62 kB / 1.463 GB, free: 282.5 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.737e-05/0.5995, allocations: 12.89 kB / 1.463 GB, free: 282.5 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001406/0.5997, allocations: 190.8 kB / 1.463 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.287e-05/0.5997, allocations: 4 kB / 1.463 GB, free: 282.2 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.771e-05/0.5997, allocations: 9.219 kB / 1.463 GB, free: 282.2 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001575/0.5999, allocations: 96.66 kB / 1.463 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.826e-06/0.5999, allocations: 4 kB / 1.463 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.282e-05/0.6, allocations: 5.031 kB / 1.463 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.595e-06/0.6, allocations: 0 / 1.463 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.924e-05/0.6001, allocations: 47.91 kB / 1.463 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000533/0.6006, allocations: 0.6447 MB / 1.464 GB, free: 281.4 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 4.634e-05/0.6007, allocations: 165.1 kB / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.848e-05/0.6007, allocations: 85.39 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.308e-05/0.6007, allocations: 75.31 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.955e-05/0.6008, allocations: 119.5 kB / 1.464 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=0): time 1.884e-06/0.6008, allocations: 0 / 1.464 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of matching and sorting (n=0): time 7.703e-05/0.6009, allocations: 37.61 kB / 1.464 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.305e-05/0.6009, allocations: 127.5 kB / 1.464 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001614/0.6011, allocations: 166 kB / 1.464 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 5.839e-06/0.6011, allocations: 26.86 kB / 1.464 GB, free: 280.5 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 5.092e-05/0.6012, allocations: 111.9 kB / 1.464 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.431e-06/0.6012, allocations: 2.766 kB / 1.464 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.337e-06/0.6012, allocations: 0 / 1.464 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 5.554e-05/0.6013, allocations: 326 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.903e-05/0.6013, allocations: 3.984 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.201e-05/0.6013, allocations: 22.52 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.062e-05/0.6014, allocations: 8 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.279e-06/0.6014, allocations: 0 / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001356/0.6015, allocations: 62.62 kB / 1.465 GB, free: 280 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.614e-05/0.6016, allocations: 12.34 kB / 1.465 GB, free: 280 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.213e-06/0.6016, allocations: 0 / 1.465 GB, free: 280 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.356e-05/0.6016, allocations: 0 / 1.465 GB, free: 280 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.382e-05/0.6017, allocations: 4.969 kB / 1.465 GB, free: 280 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.169e-06/0.6017, allocations: 4 kB / 1.465 GB, free: 280 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.213e-05/0.6018, allocations: 0.8125 kB / 1.465 GB, free: 280 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.875e-06/0.6018, allocations: 8 kB / 1.465 GB, free: 280 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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 9.703e-05/0.6019, allocations: 194 kB / 1.465 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.746e-05/0.6019, allocations: 119.2 kB / 1.465 GB, free: 279.7 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.467e-05/0.602, allocations: 108.9 kB / 1.465 GB, free: 279.5 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.97e-05/0.602, allocations: 181.5 kB / 1.465 GB, free: 279.4 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.044e-05/0.6021, allocations: 181.2 kB / 1.466 GB, free: 279.2 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.683e-05/0.6021, allocations: 180.3 kB / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001764/0.6023, allocations: 434.1 kB / 1.466 GB, free: 278.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.77e-05/0.6023, allocations: 101.7 kB / 1.466 GB, free: 278.4 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.826e-05/0.6024, allocations: 111.6 kB / 1.466 GB, free: 278.3 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.919e-05/0.6024, allocations: 180.2 kB / 1.467 GB, free: 278.1 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.785e-05/0.6024, allocations: 180.2 kB / 1.467 GB, free: 277.9 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.859e-05/0.6025, allocations: 180.2 kB / 1.467 GB, free: 277.7 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.911e-05/0.6025, allocations: 185.2 kB / 1.467 GB, free: 277.6 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.968e-05/0.6026, allocations: 314.8 kB / 1.467 GB, free: 277.2 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 5.379e-05/0.6027, allocations: 197.9 kB / 1.468 GB, free: 277 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.191e-05/0.6027, allocations: 184.2 kB / 1.468 GB, free: 276.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.697e-05/0.6028, allocations: 102.1 kB / 1.468 GB, free: 276.7 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.252e-05/0.6029, allocations: 184.8 kB / 1.468 GB, free: 276.5 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.88e-05/0.6029, allocations: 101.5 kB / 1.468 GB, free: 276.4 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001038/0.603, allocations: 128.2 kB / 1.468 GB, free: 276.3 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7.53e-07/0.603, allocations: 4 kB / 1.468 GB, free: 276.3 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002961/0.6033, allocations: 4 kB / 1.468 GB, free: 276.3 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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 Backend phase and start with SimCode phase: time 9.325e-05/0.6034, allocations: 172 kB / 1.468 GB, free: 276.1 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 7.782e-05/0.6035, allocations: 16.69 kB / 1.468 GB, free: 276.1 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.701e-06/0.6035, allocations: 1 kB / 1.468 GB, free: 276.1 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 2.798e-06/0.6035, allocations: 0 / 1.468 GB, free: 276.1 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000348/0.6039, allocations: 0.5289 MB / 1.469 GB, free: 275.6 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003196/0.6042, allocations: 231.7 kB / 1.469 GB, free: 275.3 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001368/0.6044, allocations: 0.6986 MB / 1.47 GB, free: 274.6 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 3.109e-05/0.6044, allocations: 7.984 kB / 1.47 GB, free: 274.6 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.064e-05/0.6045, allocations: 12 kB / 1.47 GB, free: 274.6 MB / 0.8542 GB Notification: Performance of SimCode: time 2.165e-06/0.6045, allocations: 0.5312 kB / 1.47 GB, free: 274.6 MB / 0.8542 GB Notification: Performance of Templates: time 0.002713/0.6072, allocations: 404.1 kB / 1.47 GB, free: 274.2 MB / 0.8542 GB