Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Utilities.Math.Examples.PowerLinearized.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.Utilities.Math.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Utilities.Math.Examples.PowerLinearized") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 5.099/5.099, allocations: 0.5623 GB / 0.5775 GB, free: 3.34 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.002534/0.002534, allocations: 358.8 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.197/4.197, allocations: 410.7 MB / 1.113 GB, free: 147.8 MB / 0.5886 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00168/0.001681, allocations: 175.6 kB / 1.226 GB, free: 35.98 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0006825/0.0006828, allocations: 16.78 kB / 1.349 GB, free: 121.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2154/0.2162, allocations: 115.3 MB / 1.461 GB, free: 6.613 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.PowerLinearized): time 0.001689/0.2179, allocations: 1.148 MB / 1.462 GB, free: 5.449 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0002616/0.2182, allocations: 84.62 kB / 1.463 GB, free: 5.363 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.083e-05/0.2182, allocations: 0 / 1.463 GB, free: 5.363 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.065e-05/0.2183, allocations: 3.938 kB / 1.463 GB, free: 5.359 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 8.033e-05/0.2184, allocations: 4 kB / 1.463 GB, free: 5.355 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001707/0.2186, allocations: 7.984 kB / 1.463 GB, free: 5.348 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.321e-05/0.2186, allocations: 27.92 kB / 1.463 GB, free: 5.32 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 8.896e-05/0.2187, allocations: 4 kB / 1.463 GB, free: 5.316 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 4.289e-05/0.2188, allocations: 11.92 kB / 1.463 GB, free: 5.305 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.208e-05/0.2188, allocations: 11.94 kB / 1.463 GB, free: 5.293 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.262e-05/0.2189, allocations: 0 / 1.463 GB, free: 5.293 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 6.398e-05/0.2189, allocations: 19.92 kB / 1.463 GB, free: 5.273 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.184e-05/0.219, allocations: 7.969 kB / 1.463 GB, free: 5.266 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.143e-05/0.219, allocations: 29.7 kB / 1.463 GB, free: 5.23 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 8.273e-05/0.2191, allocations: 15.97 kB / 1.463 GB, free: 5.215 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.2191, allocations: 0 / 1.463 GB, free: 5.215 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.904e-06/0.2191, allocations: 0 / 1.463 GB, free: 5.215 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.619e-06/0.2191, allocations: 0 / 1.463 GB, free: 5.215 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004398/0.2196, allocations: 355.5 kB / 1.463 GB, free: 4.82 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.308e-05/0.2196, allocations: 8.031 kB / 1.463 GB, free: 4.812 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002118/0.2198, allocations: 15.98 kB / 1.463 GB, free: 4.797 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001003/0.22, allocations: 163 kB / 1.463 GB, free: 4.598 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.476e-05/0.22, allocations: 0 / 1.463 GB, free: 4.598 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.725e-05/0.22, allocations: 11.94 kB / 1.463 GB, free: 4.586 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002695/0.2203, allocations: 61.66 kB / 1.463 GB, free: 4.52 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.468e-06/0.2203, allocations: 0 / 1.463 GB, free: 4.52 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.202e-05/0.2203, allocations: 0 / 1.463 GB, free: 4.52 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.099e-06/0.2204, allocations: 0 / 1.463 GB, free: 4.52 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003671/0.2207, allocations: 71.92 kB / 1.463 GB, free: 4.449 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004115/0.2212, allocations: 264.8 kB / 1.464 GB, free: 4.141 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000276/0.2214, allocations: 70.48 kB / 1.464 GB, free: 4.062 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001923/0.2217, allocations: 40.89 kB / 1.464 GB, free: 4.02 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.668e-05/0.2217, allocations: 0 / 1.464 GB, free: 4.02 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.363e-05/0.2217, allocations: 30.56 kB / 1.464 GB, free: 3.98 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 1.633e-06/0.2217, allocations: 0 / 1.464 GB, free: 3.98 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0006978/0.2224, allocations: 125.6 kB / 1.464 GB, free: 3.852 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.255e-05/0.2225, allocations: 51.41 kB / 1.464 GB, free: 3.789 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.475e-05/0.2226, allocations: 105.8 kB / 1.464 GB, free: 3.676 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.202e-05/0.2226, allocations: 29.64 kB / 1.464 GB, free: 3.641 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.917e-05/0.2226, allocations: 88.27 kB / 1.464 GB, free: 3.551 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.065e-05/0.2227, allocations: 11.84 kB / 1.464 GB, free: 3.539 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.102e-06/0.2227, allocations: 0 / 1.464 GB, free: 3.539 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.363e-05/0.2227, allocations: 318.8 kB / 1.464 GB, free: 3.219 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001827/0.2229, allocations: 35.86 kB / 1.464 GB, free: 3.184 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00018/0.2231, allocations: 35.97 kB / 1.464 GB, free: 3.148 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000184/0.2233, allocations: 31.97 kB / 1.465 GB, free: 3.117 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.2233, allocations: 0 / 1.465 GB, free: 3.117 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004118/0.2238, allocations: 93.72 kB / 1.465 GB, free: 3.02 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.837e-05/0.2238, allocations: 4 kB / 1.465 GB, free: 3.016 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.2238, allocations: 0 / 1.465 GB, free: 3.016 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.608e-05/0.2238, allocations: 32 / 1.465 GB, free: 3.016 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001658/0.224, allocations: 19.98 kB / 1.465 GB, free: 2.996 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.224, allocations: 0 / 1.465 GB, free: 2.996 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001073/0.2241, allocations: 11.98 kB / 1.465 GB, free: 2.984 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.022e-05/0.2242, allocations: 0 / 1.465 GB, free: 2.984 MB / 0.6042 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 (2): * Single equations (assignments): 2 * 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 6.847e-05/0.2242, allocations: 117.7 kB / 1.465 GB, free: 2.859 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.168e-05/0.2243, allocations: 7.906 kB / 1.465 GB, free: 2.852 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.843e-05/0.2243, allocations: 15.77 kB / 1.465 GB, free: 2.836 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.2243, allocations: 0 / 1.465 GB, free: 2.836 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/0.2243, allocations: 4 kB / 1.465 GB, free: 2.832 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.774e-05/0.2244, allocations: 77.11 kB / 1.465 GB, free: 2.738 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.867e-05/0.2244, allocations: 0 / 1.465 GB, free: 2.738 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000147/0.2246, allocations: 15.94 kB / 1.465 GB, free: 2.723 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.073e-05/0.2246, allocations: 4 kB / 1.465 GB, free: 2.719 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005064/0.2251, allocations: 176.9 kB / 1.465 GB, free: 2.539 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0004518/0.2256, allocations: 270.8 kB / 1.465 GB, free: 2.258 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001972/0.2258, allocations: 40 kB / 1.465 GB, free: 2.219 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.46e-05/0.2259, allocations: 79.28 kB / 1.465 GB, free: 2.141 MB / 0.6042 GB Notification: Performance of Backend: time 8.81e-07/0.2259, allocations: 0 / 1.465 GB, free: 2.141 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0006416/0.2265, allocations: 118.4 kB / 1.466 GB, free: 2.02 MB / 0.6042 GB Notification: Performance of SimCode: time 0.0004557/0.227, allocations: 0.5681 MB / 1.466 GB, free: 1.402 MB / 0.6042 GB Notification: Performance of Templates: time 0.004208/0.2312, allocations: 0.8749 MB / 1.467 GB, free: 0.5352 MB / 0.6042 GB