Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.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.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.867/4.867, allocations: 0.5623 GB / 0.5776 GB, free: 3.328 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.00248/0.00248, allocations: 366.9 kB / 0.6447 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.05/4.05, allocations: 410.7 MB / 1.113 GB, free: 5.969 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.00189/0.001889, allocations: 181.5 kB / 1.226 GB, free: 6.148 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004932/0.0004934, allocations: 12 kB / 1.349 GB, free: 8.273 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6909/0.6914, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.002209/0.6937, allocations: 1.58 MB / 1.463 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.004223/0.698, allocations: 3.221 MB / 1.466 GB, free: 279.6 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001052/0.6981, allocations: 0 / 1.466 GB, free: 279.6 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0002323/0.6984, allocations: 39.81 kB / 1.466 GB, free: 279.5 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0004784/0.6988, allocations: 122.4 kB / 1.466 GB, free: 279.4 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 7.905e-05/0.6989, allocations: 19.92 kB / 1.466 GB, free: 279.4 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0002174/0.6992, allocations: 167.2 kB / 1.466 GB, free: 279.2 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001113/0.6993, allocations: 28.77 kB / 1.466 GB, free: 279.2 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001834/0.6995, allocations: 71.64 kB / 1.466 GB, free: 279.1 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001631/0.6997, allocations: 72.44 kB / 1.467 GB, free: 279.1 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 2.678e-05/0.6997, allocations: 4.625 kB / 1.467 GB, free: 279 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001085/0.6998, allocations: 27.91 kB / 1.467 GB, free: 279 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 5.321e-05/0.6999, allocations: 33.75 kB / 1.467 GB, free: 279 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 3.991e-05/0.7, allocations: 49.64 kB / 1.467 GB, free: 278.9 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0001713/0.7001, allocations: 115.7 kB / 1.467 GB, free: 278.8 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.7001, allocations: 0 / 1.467 GB, free: 278.8 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.753e-06/0.7002, allocations: 1.281 kB / 1.467 GB, free: 278.8 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 4.638e-06/0.7002, allocations: 0 / 1.467 GB, free: 278.8 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.001077/0.7013, allocations: 0.4899 MB / 1.467 GB, free: 278.3 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.074e-05/0.7013, allocations: 12.44 kB / 1.467 GB, free: 278.3 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.009e-05/0.7014, allocations: 23.75 kB / 1.467 GB, free: 278.3 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004085/0.7018, allocations: 235.5 kB / 1.467 GB, free: 278 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.471e-05/0.7018, allocations: 7.984 kB / 1.467 GB, free: 278 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.637e-05/0.7019, allocations: 4 kB / 1.468 GB, free: 278 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005303/0.7024, allocations: 148.3 kB / 1.468 GB, free: 277.8 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.148e-05/0.7024, allocations: 0 / 1.468 GB, free: 277.8 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.081e-05/0.7025, allocations: 3.938 kB / 1.468 GB, free: 277.8 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.516e-05/0.7025, allocations: 17.5 kB / 1.468 GB, free: 277.8 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007673/0.7033, allocations: 164.3 kB / 1.468 GB, free: 277.7 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009099/0.7042, allocations: 475.7 kB / 1.468 GB, free: 277.1 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006684/0.7049, allocations: 178.9 kB / 1.468 GB, free: 277 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004423/0.7054, allocations: 119.4 kB / 1.469 GB, free: 276.8 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.81e-05/0.7054, allocations: 0 / 1.469 GB, free: 276.8 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.168e-05/0.7054, allocations: 35.11 kB / 1.469 GB, free: 276.8 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=13): time 1.873e-06/0.7054, allocations: 5.219 kB / 1.469 GB, free: 276.8 MB / 0.8542 GB Notification: Performance of matching and sorting (n=13): time 0.001373/0.7068, allocations: 311.2 kB / 1.469 GB, free: 276.5 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.892e-05/0.7069, allocations: 51.41 kB / 1.469 GB, free: 276.4 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002257/0.7071, allocations: 210.6 kB / 1.469 GB, free: 276.2 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.186e-05/0.7071, allocations: 25.7 kB / 1.469 GB, free: 276.2 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 6.851e-05/0.7072, allocations: 128 kB / 1.469 GB, free: 276.1 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 4.951e-05/0.7073, allocations: 46.12 kB / 1.469 GB, free: 276 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.683e-05/0.7073, allocations: 4 kB / 1.469 GB, free: 276 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 6.506e-05/0.7074, allocations: 326.8 kB / 1.47 GB, free: 275.7 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003956/0.7078, allocations: 89.27 kB / 1.47 GB, free: 275.6 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003907/0.7082, allocations: 87.59 kB / 1.47 GB, free: 275.5 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004125/0.7086, allocations: 89.09 kB / 1.47 GB, free: 275.4 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.7086, allocations: 0 / 1.47 GB, free: 275.4 MB / 0.8542 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001014/0.7097, allocations: 233.6 kB / 1.47 GB, free: 275.2 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.971e-05/0.7097, allocations: 4 kB / 1.47 GB, free: 275.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/0.7097, allocations: 10.11 kB / 1.47 GB, free: 275.2 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.655e-05/0.7097, allocations: 0 / 1.47 GB, free: 275.2 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005164/0.7103, allocations: 39.91 kB / 1.47 GB, free: 275.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.236e-06/0.7103, allocations: 1.219 kB / 1.47 GB, free: 275.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003133/0.7106, allocations: 21.39 kB / 1.47 GB, free: 275.1 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.613e-05/0.7107, allocations: 7.984 kB / 1.47 GB, free: 275.1 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (13): * Single equations (assignments): 13 * 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.0001324/0.7108, allocations: 126.5 kB / 1.47 GB, free: 275 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.742e-05/0.7109, allocations: 19.72 kB / 1.47 GB, free: 275 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.576e-05/0.711, allocations: 26.45 kB / 1.47 GB, free: 274.9 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.66e-06/0.711, allocations: 6.766 kB / 1.47 GB, free: 274.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.711, allocations: 0 / 1.47 GB, free: 274.9 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001076/0.7111, allocations: 108.9 kB / 1.47 GB, free: 274.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.525e-05/0.7112, allocations: 4.969 kB / 1.47 GB, free: 274.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003348/0.7115, allocations: 22.17 kB / 1.471 GB, free: 274.8 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.293e-05/0.7116, allocations: 19.97 kB / 1.471 GB, free: 274.8 MB / 0.8542 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001184/0.7128, allocations: 318.6 kB / 1.471 GB, free: 274.5 MB / 0.8542 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.000943/0.7137, allocations: 416 kB / 1.471 GB, free: 274 MB / 0.8542 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000417/0.7142, allocations: 93.95 kB / 1.471 GB, free: 274 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001521/0.7143, allocations: 156.5 kB / 1.471 GB, free: 273.8 MB / 0.8542 GB Notification: Performance of Backend: time 8.71e-07/0.7144, allocations: 0 / 1.471 GB, free: 273.8 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0008811/0.7152, allocations: 188.6 kB / 1.472 GB, free: 273.6 MB / 0.8542 GB Notification: Performance of SimCode: time 0.0009413/0.7162, allocations: 0.8964 MB / 1.473 GB, free: 272.7 MB / 0.8542 GB Notification: Performance of Templates: time 0.006826/0.723, allocations: 2.162 MB / 1.475 GB, free: 270.7 MB / 0.8542 GB