Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.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.EN12975SolarGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.832/4.832, allocations: 0.5623 GB / 0.5776 GB, free: 3.379 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.002549/0.002548, allocations: 354.3 kB / 0.6447 GB, free: 185.6 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.051/4.051, allocations: 410.7 MB / 1.113 GB, free: 5.984 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.001839/0.001839, allocations: 191.8 kB / 1.226 GB, free: 6.172 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004897/0.0004899, allocations: 12 kB / 1.349 GB, free: 8.301 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6889/0.6894, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain): time 0.002292/0.6917, allocations: 1.665 MB / 1.463 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.004628/0.6964, allocations: 3.436 MB / 1.466 GB, free: 279.2 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001668/0.6966, allocations: 4.719 kB / 1.466 GB, free: 279.2 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0002321/0.6969, allocations: 43.75 kB / 1.466 GB, free: 279.2 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0003621/0.6972, allocations: 98.11 kB / 1.466 GB, free: 279.1 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003697/0.6976, allocations: 101.1 kB / 1.467 GB, free: 279 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0002813/0.6979, allocations: 219.1 kB / 1.467 GB, free: 278.8 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001315/0.6981, allocations: 42 kB / 1.467 GB, free: 278.8 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002048/0.6983, allocations: 91.61 kB / 1.467 GB, free: 278.7 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001635/0.6985, allocations: 105.1 kB / 1.467 GB, free: 278.6 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 3.457e-05/0.6985, allocations: 8 kB / 1.467 GB, free: 278.6 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000248/0.6988, allocations: 104.4 kB / 1.467 GB, free: 278.4 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 4.994e-05/0.6988, allocations: 31.84 kB / 1.467 GB, free: 278.4 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 5.28e-05/0.6989, allocations: 63.98 kB / 1.467 GB, free: 278.4 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0002596/0.6992, allocations: 187.5 kB / 1.467 GB, free: 278.2 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.6992, allocations: 0 / 1.467 GB, free: 278.2 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.342e-06/0.6992, allocations: 0 / 1.467 GB, free: 278.2 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 4.749e-06/0.6992, allocations: 0 / 1.467 GB, free: 278.2 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.001453/0.7007, allocations: 0.5757 MB / 1.468 GB, free: 277.6 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.3e-05/0.7007, allocations: 15.62 kB / 1.468 GB, free: 277.5 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.44e-05/0.7008, allocations: 19.72 kB / 1.468 GB, free: 277.5 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005094/0.7013, allocations: 256.2 kB / 1.468 GB, free: 277.2 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.63e-05/0.7013, allocations: 8.688 kB / 1.468 GB, free: 277.2 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.224e-05/0.7014, allocations: 7.938 kB / 1.468 GB, free: 277.2 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007858/0.7022, allocations: 198.8 kB / 1.468 GB, free: 277 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/0.7022, allocations: 0 / 1.468 GB, free: 277 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.673e-05/0.7022, allocations: 5.625 kB / 1.468 GB, free: 277 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/0.7023, allocations: 0 / 1.468 GB, free: 277 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001226/0.7035, allocations: 239.7 kB / 1.469 GB, free: 276.8 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001134/0.7046, allocations: 0.494 MB / 1.469 GB, free: 276.3 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000671/0.7053, allocations: 151.7 kB / 1.469 GB, free: 276.1 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006324/0.706, allocations: 131 kB / 1.469 GB, free: 276 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001224/0.7072, allocations: 0.5696 MB / 1.47 GB, free: 275.3 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.528e-05/0.7073, allocations: 39.52 kB / 1.47 GB, free: 275.3 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=11): time 2.505e-06/0.7073, allocations: 0 / 1.47 GB, free: 275.3 MB / 0.8542 GB Notification: Performance of matching and sorting (n=11): time 0.002085/0.7094, allocations: 420.4 kB / 1.47 GB, free: 274.9 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.014e-05/0.7094, allocations: 55.41 kB / 1.47 GB, free: 274.8 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002468/0.7097, allocations: 230.7 kB / 1.471 GB, free: 274.6 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.601e-05/0.7097, allocations: 25.7 kB / 1.471 GB, free: 274.5 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 8.126e-05/0.7098, allocations: 136 kB / 1.471 GB, free: 274.4 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 5.132e-05/0.7099, allocations: 43.44 kB / 1.471 GB, free: 274.3 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.88e-05/0.7099, allocations: 1.094 kB / 1.471 GB, free: 274.3 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 7.288e-05/0.71, allocations: 334.8 kB / 1.471 GB, free: 274 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000617/0.7106, allocations: 117.2 kB / 1.471 GB, free: 273.9 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006107/0.7112, allocations: 117 kB / 1.471 GB, free: 273.8 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006268/0.7119, allocations: 116.1 kB / 1.472 GB, free: 273.7 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.7119, allocations: 0.625 kB / 1.472 GB, free: 273.7 MB / 0.8542 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.001392/0.7133, allocations: 306.2 kB / 1.472 GB, free: 273.4 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.893e-05/0.7133, allocations: 4 kB / 1.472 GB, free: 273.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.163e-06/0.7133, allocations: 0.5 kB / 1.472 GB, free: 273.4 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.787e-05/0.7134, allocations: 1.375 kB / 1.472 GB, free: 273.4 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005475/0.7139, allocations: 58.06 kB / 1.472 GB, free: 273.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.194e-06/0.7139, allocations: 0 / 1.472 GB, free: 273.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004088/0.7144, allocations: 48.22 kB / 1.472 GB, free: 273.3 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.944e-05/0.7144, allocations: 7.984 kB / 1.472 GB, free: 273.3 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 (11): * Single equations (assignments): 11 * 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.0001413/0.7145, allocations: 129.3 kB / 1.472 GB, free: 273.1 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.151e-05/0.7146, allocations: 27.67 kB / 1.472 GB, free: 273.1 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001469/0.7161, allocations: 325.4 kB / 1.472 GB, free: 272.8 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/0.7161, allocations: 0.6875 kB / 1.472 GB, free: 272.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.7161, allocations: 0 / 1.472 GB, free: 272.8 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001119/0.7162, allocations: 118.2 kB / 1.473 GB, free: 272.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.948e-05/0.7163, allocations: 0 / 1.473 GB, free: 272.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004381/0.7168, allocations: 37.7 kB / 1.473 GB, free: 272.6 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.142e-05/0.7169, allocations: 12.67 kB / 1.473 GB, free: 272.6 MB / 0.8542 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001746/0.7186, allocations: 404 kB / 1.473 GB, free: 272.2 MB / 0.8542 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001406/0.72, allocations: 477.1 kB / 1.473 GB, free: 271.8 MB / 0.8542 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006492/0.7207, allocations: 141.3 kB / 1.474 GB, free: 271.6 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001762/0.7209, allocations: 162 kB / 1.474 GB, free: 271.5 MB / 0.8542 GB Notification: Performance of Backend: time 8.21e-07/0.7209, allocations: 0 / 1.474 GB, free: 271.5 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.001207/0.7221, allocations: 255.5 kB / 1.474 GB, free: 271.2 MB / 0.8542 GB Notification: Performance of SimCode: time 0.001001/0.7231, allocations: 0.9061 MB / 1.475 GB, free: 270.3 MB / 0.8542 GB Notification: Performance of Templates: time 0.008393/0.7316, allocations: 2.995 MB / 1.478 GB, free: 267.5 MB / 0.8542 GB