Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower") translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001497/0.001497, allocations: 108 kB / 15.61 MB, free: 148 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001975/0.001975, allocations: 193.8 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.52/1.52, allocations: 222.9 MB / 240.2 MB, free: 4.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.814/2.814, allocations: 472.6 MB / 0.7451 GB, free: 4.691 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001276/0.001276, allocations: 65.89 kB / 0.912 GB, free: 33.36 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3249/0.3262, allocations: 159.9 MB / 1.068 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.00183/0.3281, allocations: 0.5777 MB / 1.069 GB, free: 9.848 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0006126/0.3287, allocations: 322.8 kB / 1.069 GB, free: 9.531 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.504e-05/0.3287, allocations: 0 / 1.069 GB, free: 9.531 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.053e-05/0.3288, allocations: 0 / 1.069 GB, free: 9.531 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.03e-06/0.3288, allocations: 0 / 1.069 GB, free: 9.531 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004364/0.3292, allocations: 115.5 kB / 1.069 GB, free: 9.418 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 3.854e-05/0.3293, allocations: 4 kB / 1.069 GB, free: 9.414 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 3.73e-05/0.3293, allocations: 0 / 1.069 GB, free: 9.414 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 1.291e-05/0.3293, allocations: 0 / 1.069 GB, free: 9.414 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 2.116e-05/0.3294, allocations: 0 / 1.069 GB, free: 9.414 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 9.919e-06/0.3294, allocations: 0 / 1.069 GB, free: 9.414 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003845/0.3298, allocations: 279.6 kB / 1.069 GB, free: 9.141 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 8.465e-06/0.3298, allocations: 0 / 1.069 GB, free: 9.141 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 1.493e-05/0.3298, allocations: 7.922 kB / 1.069 GB, free: 9.133 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001586/0.33, allocations: 87.8 kB / 1.07 GB, free: 9.047 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.33, allocations: 0 / 1.07 GB, free: 9.047 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.253e-06/0.33, allocations: 8 kB / 1.07 GB, free: 9.039 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.4e-06/0.33, allocations: 0 / 1.07 GB, free: 9.039 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003132/0.3303, allocations: 327.6 kB / 1.07 GB, free: 8.668 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.448e-05/0.3303, allocations: 8.031 kB / 1.07 GB, free: 8.66 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.926e-05/0.3304, allocations: 0.9375 kB / 1.07 GB, free: 8.66 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001708/0.3306, allocations: 166.6 kB / 1.07 GB, free: 8.461 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.177e-05/0.3306, allocations: 4.375 kB / 1.07 GB, free: 8.457 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.161e-06/0.3306, allocations: 4.312 kB / 1.07 GB, free: 8.453 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.198e-05/0.3307, allocations: 34.25 kB / 1.07 GB, free: 8.414 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.222e-06/0.3307, allocations: 192 / 1.07 GB, free: 8.414 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.317e-06/0.3307, allocations: 3.938 kB / 1.07 GB, free: 8.41 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-06/0.3307, allocations: 0 / 1.07 GB, free: 8.41 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.912e-05/0.3308, allocations: 4 kB / 1.07 GB, free: 8.406 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001778/0.3309, allocations: 141.7 kB / 1.07 GB, free: 8.219 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 3.908e-05/0.331, allocations: 26.59 kB / 1.07 GB, free: 8.184 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.408e-05/0.331, allocations: 8.797 kB / 1.07 GB, free: 8.172 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004719/0.3315, allocations: 429.5 kB / 1.071 GB, free: 7.66 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.336e-05/0.3315, allocations: 34.56 kB / 1.071 GB, free: 7.617 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=1): time 1.182e-06/0.3315, allocations: 0 / 1.071 GB, free: 7.617 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1): time 0.0001389/0.3317, allocations: 33.64 kB / 1.071 GB, free: 7.578 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.811e-05/0.3317, allocations: 59.53 kB / 1.071 GB, free: 7.508 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.372e-05/0.3317, allocations: 89.86 kB / 1.071 GB, free: 7.41 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.174e-05/0.3318, allocations: 25.7 kB / 1.071 GB, free: 7.379 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 2.336e-05/0.3318, allocations: 80.14 kB / 1.071 GB, free: 7.297 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.724e-05/0.3318, allocations: 0 / 1.071 GB, free: 7.297 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.575e-05/0.3319, allocations: 17.66 kB / 1.071 GB, free: 7.273 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 8.521e-05/0.3319, allocations: 318.8 kB / 1.071 GB, free: 6.953 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.053e-05/0.332, allocations: 3.938 kB / 1.071 GB, free: 6.949 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.312e-06/0.332, allocations: 4 kB / 1.071 GB, free: 6.945 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.302e-05/0.332, allocations: 8.859 kB / 1.071 GB, free: 6.934 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.332, allocations: 0 / 1.071 GB, free: 6.934 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.105e-05/0.3321, allocations: 29.7 kB / 1.071 GB, free: 6.898 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.387e-05/0.3321, allocations: 9.562 kB / 1.071 GB, free: 6.891 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.329e-06/0.3321, allocations: 0 / 1.071 GB, free: 6.891 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.247e-05/0.3321, allocations: 3.938 kB / 1.071 GB, free: 6.887 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.55e-05/0.3322, allocations: 0 / 1.071 GB, free: 6.887 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/0.3322, allocations: 3.984 kB / 1.071 GB, free: 6.883 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.447e-05/0.3322, allocations: 12.09 kB / 1.071 GB, free: 6.871 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.861e-06/0.3322, allocations: 0 / 1.071 GB, free: 6.871 MB / 0.8262 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 (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.901e-05/0.3323, allocations: 118.2 kB / 1.071 GB, free: 6.746 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.095e-05/0.3323, allocations: 3.906 kB / 1.071 GB, free: 6.742 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.606e-05/0.3324, allocations: 37.05 kB / 1.071 GB, free: 6.699 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.3324, allocations: 4 kB / 1.071 GB, free: 6.695 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.3324, allocations: 3.984 kB / 1.072 GB, free: 6.691 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.004e-06/0.3324, allocations: 0 / 1.072 GB, free: 6.691 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.891e-05/0.3325, allocations: 149.7 kB / 1.072 GB, free: 6.496 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.61e-07/0.3325, allocations: 0 / 1.072 GB, free: 6.496 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.256e-05/0.3325, allocations: 4 kB / 1.072 GB, free: 6.492 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.3325, allocations: 0 / 1.072 GB, free: 6.492 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.584e-06/0.3325, allocations: 3.938 kB / 1.072 GB, free: 6.488 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.3325, allocations: 0 / 1.072 GB, free: 6.488 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.3325, allocations: 0 / 1.072 GB, free: 6.488 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.646e-05/0.3326, allocations: 61.06 kB / 1.072 GB, free: 6.41 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.507e-05/0.3327, allocations: 85.08 kB / 1.072 GB, free: 6.309 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.064e-05/0.3327, allocations: 3.938 kB / 1.072 GB, free: 6.305 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.632e-06/0.3327, allocations: 0 / 1.072 GB, free: 6.305 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.16e-05/0.3327, allocations: 4 kB / 1.072 GB, free: 6.301 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.729e-06/0.3327, allocations: 4 kB / 1.072 GB, free: 6.297 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 2.469e-05/0.3328, allocations: 75.28 kB / 1.072 GB, free: 6.223 MB / 0.8262 GB Notification: Performance of sort global known variables: time 9e-08/0.3328, allocations: 0 / 1.072 GB, free: 6.223 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000196/0.333, allocations: 15.98 kB / 1.072 GB, free: 6.207 MB / 0.8262 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 (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001799/0.3332, allocations: 116.2 kB / 1.072 GB, free: 6.082 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 6.255e-05/0.3332, allocations: 4 kB / 1.072 GB, free: 6.078 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.3332, allocations: 0 / 1.072 GB, free: 6.078 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 6.452e-06/0.3332, allocations: 3.938 kB / 1.072 GB, free: 6.074 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001285/0.3334, allocations: 7.984 kB / 1.072 GB, free: 6.066 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001637/0.3335, allocations: 88.92 kB / 1.072 GB, free: 5.953 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002786/0.3338, allocations: 0.669 MB / 1.073 GB, free: 5.258 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.122e-05/0.3339, allocations: 12.11 kB / 1.073 GB, free: 5.246 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.127e-05/0.3339, allocations: 7.438 kB / 1.073 GB, free: 5.238 MB / 0.8262 GB Notification: Performance of SimCode: time 2e-07/0.3339, allocations: 0 / 1.073 GB, free: 5.238 MB / 0.8262 GB Notification: Performance of Templates: time 0.002284/0.3362, allocations: 460.3 kB / 1.073 GB, free: 4.789 MB / 0.8262 GB make -j1 -f Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.makefile (rm -f Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; mkfifo Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe >> ../files/Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.sim & ./Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe 2>&1)