Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower") translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.63/1.63, allocations: 292.6 MB / 307.5 MB, free: 5.227 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001094/0.001094, allocations: 180.5 kB / 377.1 MB, free: 1.543 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.588/1.588, allocations: 205.4 MB / 0.6367 GB, free: 8.652 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009068/0.0009069, allocations: 88.02 kB / 0.751 GB, free: 63.27 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003905/0.0003907, allocations: 12 kB / 0.8748 GB, free: 11.22 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2771/0.2775, allocations: 116.3 MB / 0.9884 GB, free: 6.762 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7877/1.065, allocations: 138.9 MB / 1.124 GB, free: 35.8 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002245/1.066, allocations: 78.2 kB / 1.124 GB, free: 35.74 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.01015/1.076, allocations: 4.016 MB / 1.128 GB, free: 32.84 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.044e-06/1.076, allocations: 0 / 1.128 GB, free: 32.84 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 6.723e-06/1.076, allocations: 0 / 1.128 GB, free: 32.84 MB / 0.7292 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.0002907/1.076, allocations: 338.9 kB / 1.128 GB, free: 32.47 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.499e-05/1.076, allocations: 8.031 kB / 1.128 GB, free: 32.46 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.771e-05/1.076, allocations: 0 / 1.128 GB, free: 32.46 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.45e-05/1.076, allocations: 161.1 kB / 1.128 GB, free: 32.27 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.597e-05/1.076, allocations: 4 kB / 1.128 GB, free: 32.26 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.168e-05/1.076, allocations: 3.938 kB / 1.128 GB, free: 32.26 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001059/1.076, allocations: 40.69 kB / 1.129 GB, free: 32.22 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.636e-06/1.076, allocations: 0.5625 kB / 1.129 GB, free: 32.22 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.186e-05/1.076, allocations: 0.75 kB / 1.129 GB, free: 32.22 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/1.076, allocations: 0 / 1.129 GB, free: 32.22 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.373e-05/1.077, allocations: 8 kB / 1.129 GB, free: 32.21 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001312/1.077, allocations: 141.7 kB / 1.129 GB, free: 32.02 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 3.829e-05/1.077, allocations: 18.58 kB / 1.129 GB, free: 32 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003881/1.077, allocations: 428.2 kB / 1.129 GB, free: 31.5 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.625e-05/1.077, allocations: 31.59 kB / 1.129 GB, free: 31.46 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=1): time 1.423e-06/1.077, allocations: 0 / 1.129 GB, free: 31.46 MB / 0.7292 GB Notification: Performance of matching and sorting (n=1): time 0.0001614/1.077, allocations: 45.64 kB / 1.129 GB, free: 31.41 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.574e-05/1.077, allocations: 53.81 kB / 1.129 GB, free: 31.35 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.725e-05/1.077, allocations: 85 kB / 1.129 GB, free: 31.26 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 6.512e-06/1.077, allocations: 26.55 kB / 1.129 GB, free: 31.23 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 1.415e-05/1.077, allocations: 80.14 kB / 1.129 GB, free: 31.14 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.042e-05/1.077, allocations: 4.297 kB / 1.129 GB, free: 31.14 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.753e-06/1.077, allocations: 0 / 1.129 GB, free: 31.14 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 5.663e-05/1.078, allocations: 310.8 kB / 1.13 GB, free: 30.83 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.657e-06/1.078, allocations: 8.125 kB / 1.13 GB, free: 30.82 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.859e-06/1.078, allocations: 0 / 1.13 GB, free: 30.82 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.648e-05/1.078, allocations: 0 / 1.13 GB, free: 30.82 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/1.078, allocations: 0 / 1.13 GB, free: 30.82 MB / 0.7292 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.737e-05/1.078, allocations: 43.2 kB / 1.13 GB, free: 30.78 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.658e-05/1.078, allocations: 7.953 kB / 1.13 GB, free: 30.77 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/1.078, allocations: 0 / 1.13 GB, free: 30.77 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.671e-05/1.078, allocations: 4.297 kB / 1.13 GB, free: 30.77 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.729e-05/1.078, allocations: 4 kB / 1.13 GB, free: 30.77 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.502e-06/1.078, allocations: 96 / 1.13 GB, free: 30.77 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.278e-05/1.078, allocations: 4.938 kB / 1.13 GB, free: 30.76 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.831e-06/1.078, allocations: 0 / 1.13 GB, free: 30.76 MB / 0.7292 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.97e-05/1.078, allocations: 109.8 kB / 1.13 GB, free: 30.64 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.211e-05/1.078, allocations: 0 / 1.13 GB, free: 30.64 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.854e-05/1.078, allocations: 49.42 kB / 1.13 GB, free: 30.6 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/1.078, allocations: 3.938 kB / 1.13 GB, free: 30.59 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/1.078, allocations: 0 / 1.13 GB, free: 30.59 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/1.078, allocations: 4.031 kB / 1.13 GB, free: 30.59 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.005e-05/1.078, allocations: 153.7 kB / 1.13 GB, free: 30.39 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/1.078, allocations: 0.5 kB / 1.13 GB, free: 30.39 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.402e-05/1.078, allocations: 4.5 kB / 1.13 GB, free: 30.39 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/1.078, allocations: 0 / 1.13 GB, free: 30.39 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.893e-06/1.078, allocations: 2.078 kB / 1.13 GB, free: 30.39 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/1.078, allocations: 7.953 kB / 1.13 GB, free: 30.38 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/1.078, allocations: 0 / 1.13 GB, free: 30.38 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.632e-05/1.078, allocations: 57.14 kB / 1.13 GB, free: 30.31 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.776e-05/1.078, allocations: 80.86 kB / 1.13 GB, free: 30.21 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.314e-05/1.078, allocations: 4.812 kB / 1.13 GB, free: 30.21 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.943e-06/1.078, allocations: 0 / 1.13 GB, free: 30.21 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.243e-05/1.078, allocations: 3.953 kB / 1.13 GB, free: 30.21 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.244e-06/1.078, allocations: 4.875 kB / 1.13 GB, free: 30.2 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 1.478e-05/1.078, allocations: 75.28 kB / 1.13 GB, free: 30.13 MB / 0.7292 GB Notification: Performance of sort global known variables: time 9e-08/1.078, allocations: 0 / 1.13 GB, free: 30.13 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002067/1.079, allocations: 19.94 kB / 1.13 GB, free: 30.11 MB / 0.7292 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 (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.0001687/1.079, allocations: 114.9 kB / 1.13 GB, free: 29.99 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 6.523e-05/1.079, allocations: 4 kB / 1.13 GB, free: 29.99 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/1.079, allocations: 0 / 1.13 GB, free: 29.99 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 5.771e-06/1.079, allocations: 4 kB / 1.13 GB, free: 29.98 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.892e-05/1.079, allocations: 0 / 1.13 GB, free: 29.98 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001761/1.079, allocations: 80.36 kB / 1.131 GB, free: 29.88 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001139/1.079, allocations: 0.6805 MB / 1.131 GB, free: 29.18 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 1.752e-05/1.079, allocations: 4.125 kB / 1.131 GB, free: 29.18 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.285e-05/1.079, allocations: 7.438 kB / 1.131 GB, free: 29.17 MB / 0.7292 GB Notification: Performance of SimCode: time 1.463e-06/1.079, allocations: 0 / 1.131 GB, free: 29.17 MB / 0.7292 GB Notification: Performance of Templates: time 0.002162/1.081, allocations: 423.8 kB / 1.132 GB, free: 28.93 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.sim & ./Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe 2>&1)