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.672/1.672, allocations: 289.7 MB / 302.2 MB, free: 2.176 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.001085/0.001085, allocations: 179.8 kB / 371.6 MB, free: 3.359 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.962/1.962, allocations: 205.2 MB / 0.6309 GB, free: 11.74 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.001066/0.001066, allocations: 90.03 kB / 0.745 GB, free: 54.56 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.892e-05/3.895e-05, allocations: 7.984 kB / 0.8663 GB, free: 15.05 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.299/0.2991, allocations: 116.3 MB / 0.9798 GB, free: 10.59 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9787/1.278, allocations: 138.8 MB / 1.115 GB, free: 44.81 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002183/1.278, allocations: 75.52 kB / 1.115 GB, free: 44.78 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.01018/1.288, allocations: 4.008 MB / 1.119 GB, free: 42.5 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.024e-06/1.288, allocations: 4 kB / 1.119 GB, free: 42.49 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.592e-06/1.288, allocations: 0 / 1.119 GB, free: 42.49 MB / 0.7448 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.0002627/1.289, allocations: 333.8 kB / 1.12 GB, free: 42.12 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.455e-05/1.289, allocations: 8.031 kB / 1.12 GB, free: 42.12 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.504e-05/1.289, allocations: 6.594 kB / 1.12 GB, free: 42.11 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.087e-05/1.289, allocations: 159.1 kB / 1.12 GB, free: 41.92 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.559e-05/1.289, allocations: 4.5 kB / 1.12 GB, free: 41.91 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.456e-05/1.289, allocations: 7.266 kB / 1.12 GB, free: 41.91 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001023/1.289, allocations: 29.17 kB / 1.12 GB, free: 41.88 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/1.289, allocations: 0 / 1.12 GB, free: 41.88 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.788e-06/1.289, allocations: 0 / 1.12 GB, free: 41.88 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.957e-06/1.289, allocations: 7.938 kB / 1.12 GB, free: 41.88 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.23e-05/1.289, allocations: 3.938 kB / 1.12 GB, free: 41.88 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001353/1.289, allocations: 146.1 kB / 1.12 GB, free: 41.68 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 4.083e-05/1.289, allocations: 26.55 kB / 1.12 GB, free: 41.65 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.567e-05/1.289, allocations: 4.859 kB / 1.12 GB, free: 41.64 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004169/1.29, allocations: 427.1 kB / 1.12 GB, free: 41.15 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.316e-05/1.29, allocations: 30.56 kB / 1.12 GB, free: 41.11 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=1): time 9.62e-07/1.29, allocations: 0 / 1.12 GB, free: 41.11 MB / 0.7448 GB Notification: Performance of matching and sorting (n=1): time 0.0001491/1.29, allocations: 37.64 kB / 1.121 GB, free: 41.07 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.129e-05/1.29, allocations: 54.69 kB / 1.121 GB, free: 41.01 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.983e-05/1.29, allocations: 85 kB / 1.121 GB, free: 40.92 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 9.728e-06/1.29, allocations: 29.7 kB / 1.121 GB, free: 40.88 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 1.528e-05/1.29, allocations: 80.14 kB / 1.121 GB, free: 40.8 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.326e-05/1.29, allocations: 5.969 kB / 1.121 GB, free: 40.8 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.294e-06/1.29, allocations: 1.969 kB / 1.121 GB, free: 40.8 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 6.218e-05/1.29, allocations: 310.8 kB / 1.121 GB, free: 40.48 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.586e-06/1.29, allocations: 4.031 kB / 1.121 GB, free: 40.48 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.921e-06/1.29, allocations: 4 kB / 1.121 GB, free: 40.48 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.739e-05/1.29, allocations: 0 / 1.121 GB, free: 40.48 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/1.29, allocations: 0 / 1.121 GB, free: 40.48 MB / 0.7448 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.611e-05/1.29, allocations: 40.98 kB / 1.121 GB, free: 40.44 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.495e-05/1.29, allocations: 8 kB / 1.121 GB, free: 40.43 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/1.29, allocations: 0.625 kB / 1.121 GB, free: 40.43 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.537e-05/1.29, allocations: 0 / 1.121 GB, free: 40.43 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.6e-05/1.29, allocations: 3.938 kB / 1.121 GB, free: 40.43 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.556e-06/1.29, allocations: 8.094 kB / 1.121 GB, free: 40.42 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.277e-06/1.29, allocations: 0 / 1.121 GB, free: 40.42 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.644e-06/1.29, allocations: 0.6875 kB / 1.121 GB, free: 40.42 MB / 0.7448 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 () * 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.899e-05/1.29, allocations: 101 kB / 1.121 GB, free: 40.31 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.876e-05/1.29, allocations: 7.891 kB / 1.121 GB, free: 40.3 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.411e-05/1.291, allocations: 40.2 kB / 1.121 GB, free: 40.26 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.052e-06/1.291, allocations: 0 / 1.121 GB, free: 40.26 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.91e-06/1.291, allocations: 0 / 1.121 GB, free: 40.26 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/1.291, allocations: 4.031 kB / 1.121 GB, free: 40.26 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.16e-05/1.291, allocations: 149.6 kB / 1.121 GB, free: 40.07 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.52e-07/1.291, allocations: 1.406 kB / 1.121 GB, free: 40.07 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.145e-05/1.291, allocations: 4 kB / 1.121 GB, free: 40.07 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.423e-06/1.291, allocations: 0 / 1.121 GB, free: 40.07 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.806e-06/1.291, allocations: 3.953 kB / 1.121 GB, free: 40.06 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/1.291, allocations: 1.188 kB / 1.121 GB, free: 40.06 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/1.291, allocations: 0 / 1.121 GB, free: 40.06 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.149e-05/1.291, allocations: 64.27 kB / 1.121 GB, free: 39.98 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.705e-05/1.291, allocations: 77.11 kB / 1.122 GB, free: 39.89 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.3e-05/1.291, allocations: 3.625 kB / 1.122 GB, free: 39.89 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.203e-06/1.291, allocations: 3.953 kB / 1.122 GB, free: 39.89 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.267e-05/1.291, allocations: 0 / 1.122 GB, free: 39.89 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.376e-06/1.291, allocations: 4 kB / 1.122 GB, free: 39.88 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 2.005e-05/1.291, allocations: 75.28 kB / 1.122 GB, free: 39.81 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1e-07/1.291, allocations: 0 / 1.122 GB, free: 39.81 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001819/1.291, allocations: 19.12 kB / 1.122 GB, free: 39.79 MB / 0.7448 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 () * 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.0001948/1.291, allocations: 117.8 kB / 1.122 GB, free: 39.67 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 6.869e-05/1.291, allocations: 4 kB / 1.122 GB, free: 39.67 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/1.291, allocations: 0 / 1.122 GB, free: 39.67 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 5.931e-06/1.291, allocations: 3.938 kB / 1.122 GB, free: 39.66 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.725e-05/1.292, allocations: 4 kB / 1.122 GB, free: 39.66 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001596/1.292, allocations: 56.11 kB / 1.122 GB, free: 39.59 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001391/1.292, allocations: 0.6727 MB / 1.123 GB, free: 38.89 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.874e-05/1.292, allocations: 8 kB / 1.123 GB, free: 38.89 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.648e-05/1.292, allocations: 8 kB / 1.123 GB, free: 38.88 MB / 0.7448 GB Notification: Performance of SimCode: time 4.71e-07/1.292, allocations: 0 / 1.123 GB, free: 38.88 MB / 0.7448 GB Notification: Performance of Templates: time 0.002359/1.294, allocations: 424.6 kB / 1.123 GB, free: 38.66 MB / 0.7448 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)