Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.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.Functions.Examples.RegNonZeroPowerDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 5.287/5.287, allocations: 0.5623 GB / 0.5769 GB, free: 3.355 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.002382/0.002382, allocations: 352.1 kB / 0.644 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.16/4.16, allocations: 410.7 MB / 1.112 GB, free: 5.93 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.001818/0.001818, allocations: 193.2 kB / 1.225 GB, free: 6.086 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0005042/0.0005044, allocations: 20 kB / 1.348 GB, free: 8.211 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5906/0.5911, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.0005967/0.5917, allocations: 333.8 kB / 1.461 GB, free: 284 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.0005423/0.5923, allocations: 309.8 kB / 1.461 GB, free: 283.7 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.692e-05/0.5923, allocations: 0.75 kB / 1.461 GB, free: 283.7 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 8.423e-06/0.5923, allocations: 0 / 1.461 GB, free: 283.7 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 2.06e-05/0.5924, allocations: 1.406 kB / 1.461 GB, free: 283.7 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003599/0.5927, allocations: 72.38 kB / 1.461 GB, free: 283.6 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 4.011e-05/0.5928, allocations: 8 kB / 1.461 GB, free: 283.6 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 3.175e-05/0.5929, allocations: 0.5938 kB / 1.461 GB, free: 283.6 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 1.574e-05/0.5929, allocations: 9.594 kB / 1.461 GB, free: 283.6 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 4.159e-05/0.5929, allocations: 7.984 kB / 1.461 GB, free: 283.6 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.048e-05/0.593, allocations: 3.938 kB / 1.461 GB, free: 283.6 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003876/0.5933, allocations: 259.7 kB / 1.462 GB, free: 283.3 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 9.194e-06/0.5934, allocations: 7.984 kB / 1.462 GB, free: 283.3 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 2.186e-05/0.5934, allocations: 34.95 kB / 1.462 GB, free: 283.3 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0001153/0.5935, allocations: 55.89 kB / 1.462 GB, free: 283.2 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.08e-06/0.5936, allocations: 0 / 1.462 GB, free: 283.2 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.796e-06/0.5936, allocations: 1.156 kB / 1.462 GB, free: 283.2 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 4.56e-06/0.5936, allocations: 0 / 1.462 GB, free: 283.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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002473/0.5938, allocations: 338.4 kB / 1.462 GB, free: 282.9 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.295e-05/0.5939, allocations: 11.62 kB / 1.462 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.948e-05/0.5939, allocations: 4 kB / 1.462 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.12e-05/0.594, allocations: 167 kB / 1.462 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.188e-05/0.5941, allocations: 0 / 1.462 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.904e-05/0.5941, allocations: 4 kB / 1.462 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.998e-05/0.5942, allocations: 33.69 kB / 1.462 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.252e-06/0.5942, allocations: 5.281 kB / 1.462 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.385e-06/0.5942, allocations: 4 kB / 1.462 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.623e-06/0.5942, allocations: 0 / 1.462 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.302e-05/0.5943, allocations: 7.984 kB / 1.462 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000118/0.5944, allocations: 155.6 kB / 1.462 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 4.622e-05/0.5945, allocations: 29.11 kB / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.729e-05/0.5945, allocations: 8.922 kB / 1.463 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000613/0.5951, allocations: 459.2 kB / 1.463 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.125e-05/0.5951, allocations: 40 kB / 1.463 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=2): time 2.057e-06/0.5952, allocations: 0 / 1.463 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of matching and sorting (n=3): time 0.0004652/0.5956, allocations: 244.1 kB / 1.463 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.848e-05/0.5957, allocations: 51.41 kB / 1.463 GB, free: 281.4 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.651e-05/0.5957, allocations: 98.89 kB / 1.463 GB, free: 281.3 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.07e-05/0.5957, allocations: 26.2 kB / 1.463 GB, free: 281.3 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 2.04e-05/0.5958, allocations: 81.55 kB / 1.463 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.098e-05/0.5958, allocations: 15.73 kB / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.528e-06/0.5958, allocations: 4 kB / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 4.796e-05/0.5959, allocations: 319.4 kB / 1.464 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.095e-05/0.5959, allocations: 4.688 kB / 1.464 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.044e-05/0.5959, allocations: 22.2 kB / 1.464 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.98e-05/0.596, allocations: 9.531 kB / 1.464 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.455e-06/0.596, allocations: 0 / 1.464 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001172/0.5961, allocations: 50.23 kB / 1.464 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.253e-05/0.5962, allocations: 5.031 kB / 1.464 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.525e-06/0.5962, allocations: 7.984 kB / 1.464 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.205e-05/0.5962, allocations: 0 / 1.464 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.599e-05/0.5963, allocations: 9.047 kB / 1.464 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.553e-06/0.5963, allocations: 3.938 kB / 1.464 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.508e-05/0.5963, allocations: 8 kB / 1.464 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.911e-06/0.5963, allocations: 0.7188 kB / 1.464 GB, free: 280.7 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (4): * Single equations (assignments): 4 * 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.318e-05/0.5964, allocations: 118.2 kB / 1.464 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.885e-05/0.5964, allocations: 0.5 kB / 1.464 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001329/0.5966, allocations: 58.73 kB / 1.464 GB, free: 280.5 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.232e-06/0.5966, allocations: 1.031 kB / 1.464 GB, free: 280.5 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.93e-06/0.5966, allocations: 4.594 kB / 1.464 GB, free: 280.5 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.5966, allocations: 0.6562 kB / 1.464 GB, free: 280.5 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.743e-05/0.5967, allocations: 153.6 kB / 1.464 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.868e-06/0.5967, allocations: 2.562 kB / 1.464 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.481e-05/0.5968, allocations: 11.94 kB / 1.464 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.221e-06/0.5968, allocations: 0 / 1.464 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.447e-06/0.5968, allocations: 0 / 1.464 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.5969, allocations: 0 / 1.464 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.667e-06/0.5969, allocations: 0 / 1.464 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001495/0.597, allocations: 85.02 kB / 1.464 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.084e-05/0.5971, allocations: 85.09 kB / 1.464 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.562e-05/0.5971, allocations: 0 / 1.464 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.982e-05/0.5971, allocations: 4 kB / 1.464 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.334e-05/0.5972, allocations: 0 / 1.464 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.505e-06/0.5972, allocations: 4 kB / 1.464 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 2.272e-05/0.5972, allocations: 75.84 kB / 1.465 GB, free: 280 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6.48e-07/0.5972, allocations: 0.5625 kB / 1.465 GB, free: 280 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002818/0.5975, allocations: 28.61 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: 1 (y) * 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 (3): * Single equations (assignments): 3 * 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.0001876/0.5977, allocations: 131.9 kB / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 8.442e-05/0.5978, allocations: 17.22 kB / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.733e-06/0.5978, allocations: 0 / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 2.168e-05/0.5979, allocations: 6.922 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.00018/0.598, allocations: 15.17 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.0002033/0.5983, allocations: 106.4 kB / 1.465 GB, free: 279.7 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001097/0.5984, allocations: 0.6848 MB / 1.465 GB, free: 279 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 3.922e-05/0.5984, allocations: 13.36 kB / 1.465 GB, free: 279 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.716e-05/0.5985, allocations: 7.438 kB / 1.465 GB, free: 279 MB / 0.8542 GB Notification: Performance of SimCode: time 1.358e-06/0.5985, allocations: 1.656 kB / 1.465 GB, free: 279 MB / 0.8542 GB Notification: Performance of Templates: time 0.003288/0.6018, allocations: 0.8361 MB / 1.466 GB, free: 278.2 MB / 0.8542 GB