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 4.783/4.783, allocations: 0.5623 GB / 0.5769 GB, free: 3.332 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.002471/0.00247, allocations: 358.8 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.345/4.345, allocations: 410.7 MB / 1.112 GB, free: 6.051 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.001797/0.001796, allocations: 185.3 kB / 1.225 GB, free: 6.184 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0005555/0.0005559, allocations: 12 kB / 1.348 GB, free: 8.324 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5826/0.5832, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.PowerLinearized): time 0.001369/0.5846, allocations: 1.157 MB / 1.462 GB, free: 283.2 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.0002214/0.5849, allocations: 85.53 kB / 1.462 GB, free: 283.1 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.992e-05/0.5849, allocations: 0 / 1.462 GB, free: 283.1 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 1.274e-05/0.585, allocations: 1 kB / 1.462 GB, free: 283.1 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 4.295e-05/0.585, allocations: 0 / 1.462 GB, free: 283.1 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001358/0.5852, allocations: 22.34 kB / 1.462 GB, free: 283.1 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 5.064e-05/0.5852, allocations: 23.92 kB / 1.462 GB, free: 283.1 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 7.017e-05/0.5853, allocations: 5.828 kB / 1.462 GB, free: 283.1 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 3.222e-05/0.5854, allocations: 7.984 kB / 1.462 GB, free: 283.1 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 3.491e-05/0.5854, allocations: 7.938 kB / 1.462 GB, free: 283.1 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.301e-05/0.5854, allocations: 4 kB / 1.462 GB, free: 283.1 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 5.162e-05/0.5855, allocations: 21.17 kB / 1.462 GB, free: 283.1 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 1.013e-05/0.5855, allocations: 3.984 kB / 1.462 GB, free: 283.1 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 1.728e-05/0.5855, allocations: 25.7 kB / 1.462 GB, free: 283 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 7.115e-05/0.5856, allocations: 23.95 kB / 1.462 GB, free: 283 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 3.951e-06/0.5856, allocations: 1.5 kB / 1.462 GB, free: 283 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.525e-06/0.5856, allocations: 0 / 1.462 GB, free: 283 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 4.808e-06/0.5857, allocations: 0 / 1.462 GB, free: 283 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003408/0.586, allocations: 343 kB / 1.462 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.439e-05/0.586, allocations: 18.09 kB / 1.462 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001727/0.5862, allocations: 15.92 kB / 1.462 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.613e-05/0.5863, allocations: 175 kB / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.871e-05/0.5864, allocations: 0 / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.398e-05/0.5864, allocations: 0 / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001989/0.5866, allocations: 64.39 kB / 1.463 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.496e-06/0.5866, allocations: 4 kB / 1.463 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.042e-05/0.5866, allocations: 0 / 1.463 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.416e-06/0.5867, allocations: 3.938 kB / 1.463 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002473/0.5869, allocations: 67.62 kB / 1.463 GB, free: 282.2 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003422/0.5873, allocations: 266.2 kB / 1.463 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001974/0.5875, allocations: 61.3 kB / 1.463 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001319/0.5876, allocations: 38.67 kB / 1.463 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.701e-05/0.5877, allocations: 3.469 kB / 1.463 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.825e-05/0.5877, allocations: 36.19 kB / 1.463 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=2): time 1.895e-06/0.5877, allocations: 0 / 1.463 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of matching and sorting (n=2): time 0.0004921/0.5882, allocations: 129.9 kB / 1.463 GB, free: 281.7 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.571e-05/0.5883, allocations: 56.94 kB / 1.463 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.02e-05/0.5883, allocations: 101.8 kB / 1.463 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.132e-05/0.5883, allocations: 29.7 kB / 1.463 GB, free: 281.4 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 3.141e-05/0.5884, allocations: 85.02 kB / 1.464 GB, free: 281.4 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 1.68e-05/0.5884, allocations: 3.906 kB / 1.464 GB, free: 281.4 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.971e-06/0.5884, allocations: 0.9688 kB / 1.464 GB, free: 281.4 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 5.052e-05/0.5885, allocations: 318.8 kB / 1.464 GB, free: 281 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001264/0.5886, allocations: 30.77 kB / 1.464 GB, free: 281 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00012/0.5888, allocations: 32.72 kB / 1.464 GB, free: 281 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001217/0.5889, allocations: 38.78 kB / 1.464 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.143e-06/0.5889, allocations: 0 / 1.464 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002912/0.5892, allocations: 96.53 kB / 1.464 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.669e-05/0.5892, allocations: 11.16 kB / 1.464 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.768e-06/0.5893, allocations: 0 / 1.464 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.279e-05/0.5893, allocations: 0 / 1.464 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001242/0.5894, allocations: 15.98 kB / 1.464 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.777e-06/0.5894, allocations: 0 / 1.464 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.672e-05/0.5895, allocations: 12.89 kB / 1.464 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.32e-06/0.5895, allocations: 0 / 1.464 GB, free: 280.8 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 (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 5.919e-05/0.5896, allocations: 111.3 kB / 1.464 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.673e-05/0.5897, allocations: 7.906 kB / 1.464 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.012e-05/0.5897, allocations: 11.52 kB / 1.464 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.131e-06/0.5897, allocations: 0.8125 kB / 1.464 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.723e-06/0.5897, allocations: 0 / 1.464 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.083e-06/0.5897, allocations: 0.9375 kB / 1.464 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001558/0.5899, allocations: 165.6 kB / 1.464 GB, free: 280.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.908e-06/0.5899, allocations: 0 / 1.464 GB, free: 280.5 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.785e-05/0.59, allocations: 16.98 kB / 1.464 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.137e-06/0.59, allocations: 0.5625 kB / 1.464 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.635e-06/0.5901, allocations: 5.75 kB / 1.464 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.208e-06/0.5901, allocations: 0 / 1.464 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.925e-06/0.5901, allocations: 0 / 1.464 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003145/0.5904, allocations: 200.8 kB / 1.465 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.26e-05/0.5904, allocations: 81.05 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.718e-05/0.5905, allocations: 0 / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001203/0.5906, allocations: 12.23 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.919e-05/0.5906, allocations: 1.594 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.213e-06/0.5907, allocations: 8 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 3.427e-05/0.5907, allocations: 87.27 kB / 1.465 GB, free: 280 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6.73e-07/0.5907, allocations: 0 / 1.465 GB, free: 280 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002915/0.591, allocations: 5.406 kB / 1.465 GB, free: 280 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 (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 Backend phase and start with SimCode phase: time 8.748e-05/0.5911, allocations: 95.25 kB / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002935/0.5914, allocations: 67.95 kB / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.473e-06/0.5914, allocations: 0 / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001371/0.5916, allocations: 37.91 kB / 1.465 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003301/0.5919, allocations: 20.8 kB / 1.465 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003416/0.5923, allocations: 132.8 kB / 1.465 GB, free: 279.7 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000115/0.5924, allocations: 0.677 MB / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 3.919e-05/0.5925, allocations: 4 kB / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.143e-05/0.5925, allocations: 7.438 kB / 1.466 GB, free: 278.9 MB / 0.8542 GB Notification: Performance of SimCode: time 1.772e-06/0.5925, allocations: 0 / 1.466 GB, free: 278.9 MB / 0.8542 GB Notification: Performance of Templates: time 0.002636/0.5952, allocations: 0.4893 MB / 1.466 GB, free: 278.5 MB / 0.8542 GB