Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Utilities.Math.Examples.RegNonZeroPower.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.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Utilities.Math.Examples.RegNonZeroPower") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.814/4.814, allocations: 0.5623 GB / 0.5769 GB, free: 3.285 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.002387/0.002387, allocations: 355.3 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.297/4.297, 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.001745/0.001745, allocations: 184.1 kB / 1.225 GB, free: 6.168 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0005689/0.0005692, allocations: 19.98 kB / 1.348 GB, free: 8.297 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6707/0.6713, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.RegNonZeroPower): time 0.001349/0.6727, allocations: 1.157 MB / 1.462 GB, free: 283.2 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.0005856/0.6733, allocations: 349.8 kB / 1.462 GB, free: 282.9 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.095e-05/0.6734, allocations: 4.438 kB / 1.462 GB, free: 282.9 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 1.594e-05/0.6734, allocations: 4.938 kB / 1.462 GB, free: 282.9 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 3.992e-05/0.6735, allocations: 11.92 kB / 1.462 GB, free: 282.9 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003423/0.6738, allocations: 70.48 kB / 1.462 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 4.947e-05/0.6739, allocations: 23.91 kB / 1.462 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 6.714e-05/0.674, allocations: 1.406 kB / 1.462 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 3.4e-05/0.674, allocations: 11.98 kB / 1.462 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 3.438e-05/0.674, allocations: 11.92 kB / 1.462 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.241e-05/0.6741, allocations: 0.5938 kB / 1.462 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003651/0.6744, allocations: 267.6 kB / 1.463 GB, free: 282.5 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 9.968e-06/0.6745, allocations: 4.594 kB / 1.463 GB, free: 282.5 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 2.075e-05/0.6745, allocations: 29.64 kB / 1.463 GB, free: 282.5 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0001325/0.6746, allocations: 69.56 kB / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.9e-06/0.6747, allocations: 0 / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.714e-06/0.6747, allocations: 0 / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 4.812e-06/0.6747, allocations: 0 / 1.463 GB, free: 282.4 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.0003762/0.6751, allocations: 368.7 kB / 1.463 GB, free: 282 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.588e-05/0.6751, allocations: 11.62 kB / 1.463 GB, free: 282 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.768e-05/0.6752, allocations: 4 kB / 1.463 GB, free: 282 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.793e-05/0.6753, allocations: 171 kB / 1.463 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.187e-05/0.6753, allocations: 0 / 1.463 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.543e-05/0.6753, allocations: 14.12 kB / 1.463 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001768/0.6755, allocations: 53.67 kB / 1.463 GB, free: 281.7 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.334e-06/0.6755, allocations: 0 / 1.463 GB, free: 281.7 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.329e-06/0.6756, allocations: 3.938 kB / 1.463 GB, free: 281.7 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.958e-06/0.6756, allocations: 0.5625 kB / 1.463 GB, free: 281.7 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001906/0.6758, allocations: 46.53 kB / 1.463 GB, free: 281.7 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002829/0.6761, allocations: 262.3 kB / 1.464 GB, free: 281.4 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001374/0.6762, allocations: 40.22 kB / 1.464 GB, free: 281.3 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001022/0.6763, allocations: 29.89 kB / 1.464 GB, free: 281.3 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006168/0.677, allocations: 461.1 kB / 1.464 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.647e-05/0.677, allocations: 35.28 kB / 1.464 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=2): time 2.005e-06/0.677, allocations: 0 / 1.464 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of matching and sorting (n=2): time 0.0004353/0.6775, allocations: 105.5 kB / 1.464 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.119e-05/0.6775, allocations: 56.09 kB / 1.464 GB, free: 280.5 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.666e-05/0.6776, allocations: 101.8 kB / 1.464 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 9.691e-06/0.6776, allocations: 26.33 kB / 1.464 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 3.036e-05/0.6776, allocations: 89.67 kB / 1.464 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 1.752e-05/0.6777, allocations: 3.906 kB / 1.464 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.883e-06/0.6777, allocations: 0 / 1.464 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 5.038e-05/0.6777, allocations: 320.2 kB / 1.465 GB, free: 280 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.958e-05/0.6778, allocations: 25.64 kB / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.032e-05/0.6779, allocations: 23.92 kB / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.623e-05/0.6781, allocations: 21.52 kB / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.728e-06/0.6781, allocations: 0.5938 kB / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000265/0.6783, allocations: 84.75 kB / 1.465 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.581e-05/0.6784, allocations: 4 kB / 1.465 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.798e-06/0.6784, allocations: 0 / 1.465 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.736e-05/0.6784, allocations: 1.25 kB / 1.465 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.743e-05/0.6785, allocations: 11.98 kB / 1.465 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.412e-06/0.6785, allocations: 0.5 kB / 1.465 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.221e-05/0.6786, allocations: 12.77 kB / 1.465 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.664e-06/0.6786, allocations: 2.062 kB / 1.465 GB, free: 279.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.818e-05/0.6787, allocations: 117.8 kB / 1.465 GB, free: 279.7 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.394e-05/0.6788, allocations: 3.906 kB / 1.465 GB, free: 279.7 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002801/0.6791, allocations: 87.75 kB / 1.465 GB, free: 279.6 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.589e-06/0.6791, allocations: 0 / 1.465 GB, free: 279.6 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.704e-06/0.6791, allocations: 6.312 kB / 1.465 GB, free: 279.6 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.953e-06/0.6791, allocations: 3.938 kB / 1.465 GB, free: 279.6 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001526/0.6793, allocations: 161.6 kB / 1.465 GB, free: 279.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.332e-06/0.6793, allocations: 0 / 1.465 GB, free: 279.4 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.707e-05/0.6794, allocations: 11.98 kB / 1.465 GB, free: 279.3 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.989e-06/0.6794, allocations: 0.7812 kB / 1.465 GB, free: 279.3 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.844e-06/0.6794, allocations: 4 kB / 1.465 GB, free: 279.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.531e-06/0.6794, allocations: 1.031 kB / 1.465 GB, free: 279.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.758e-06/0.6794, allocations: 0 / 1.465 GB, free: 279.3 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002741/0.6797, allocations: 174.5 kB / 1.466 GB, free: 279.2 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.252e-05/0.6797, allocations: 81.67 kB / 1.466 GB, free: 279.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.623e-05/0.6798, allocations: 1.25 kB / 1.466 GB, free: 279.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001015/0.6799, allocations: 11.98 kB / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.013e-05/0.6799, allocations: 8.531 kB / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.172e-06/0.68, allocations: 4.25 kB / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 3.249e-05/0.68, allocations: 87.27 kB / 1.466 GB, free: 278.9 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6.83e-07/0.68, allocations: 0.9688 kB / 1.466 GB, free: 278.9 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003141/0.6803, allocations: 12 kB / 1.466 GB, free: 278.9 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 0.000169/0.6805, allocations: 108.2 kB / 1.466 GB, free: 278.8 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002497/0.6808, allocations: 51.02 kB / 1.466 GB, free: 278.8 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.562e-06/0.6808, allocations: 0 / 1.466 GB, free: 278.8 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001053/0.6809, allocations: 24.95 kB / 1.466 GB, free: 278.8 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003331/0.6813, allocations: 9.359 kB / 1.466 GB, free: 278.7 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002597/0.6815, allocations: 117.8 kB / 1.466 GB, free: 278.6 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001172/0.6817, allocations: 0.6817 MB / 1.467 GB, free: 277.9 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 3.633e-05/0.6817, allocations: 3.938 kB / 1.467 GB, free: 277.9 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.109e-05/0.6817, allocations: 12.12 kB / 1.467 GB, free: 277.9 MB / 0.8542 GB Notification: Performance of SimCode: time 1.453e-06/0.6818, allocations: 0 / 1.467 GB, free: 277.9 MB / 0.8542 GB Notification: Performance of Templates: time 0.003028/0.6848, allocations: 0.6311 MB / 1.467 GB, free: 277.3 MB / 0.8542 GB