Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.RegNonZeroPower.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.RegNonZeroPower") translateModel(Buildings.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.RegNonZeroPower") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.295/1.295, allocations: 252 MB / 267.9 MB, free: 10.89 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009594/0.0009595, allocations: 171 kB / 327.5 MB, free: 2.141 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.397/1.397, allocations: 205.4 MB / 0.5785 GB, free: 20.48 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006944/0.0006944, allocations: 80.06 kB / 0.6831 GB, free: 13.29 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003856/0.0003859, allocations: 16.66 kB / 0.7974 GB, free: 134.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1709/0.1713, allocations: 106.3 MB / 0.9012 GB, free: 64.04 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1466/0.3179, allocations: 132.3 MB / 1.03 GB, free: 11.54 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002032/0.3181, allocations: 67.97 kB / 1.031 GB, free: 11.47 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01192/0.3301, allocations: 4.364 MB / 1.035 GB, free: 7.102 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.003e-06/0.3301, allocations: 0 / 1.035 GB, free: 7.102 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.024e-05/0.3301, allocations: 4 kB / 1.035 GB, free: 7.098 MB / 0.6823 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.000371/0.3305, allocations: 363.4 kB / 1.035 GB, free: 6.691 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.576e-05/0.3306, allocations: 12.03 kB / 1.035 GB, free: 6.68 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.864e-05/0.3306, allocations: 0.9375 kB / 1.035 GB, free: 6.68 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.707e-05/0.3307, allocations: 176.3 kB / 1.035 GB, free: 6.469 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.244e-05/0.3307, allocations: 384 / 1.035 GB, free: 6.469 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.176e-06/0.3307, allocations: 4.312 kB / 1.035 GB, free: 6.465 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001665/0.3309, allocations: 62.22 kB / 1.035 GB, free: 6.398 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.274e-06/0.3309, allocations: 8.062 kB / 1.035 GB, free: 6.391 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.006e-05/0.331, allocations: 7.938 kB / 1.035 GB, free: 6.383 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.088e-06/0.331, allocations: 0 / 1.035 GB, free: 6.383 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000159/0.3311, allocations: 39.97 kB / 1.035 GB, free: 6.344 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003699/0.3315, allocations: 269 kB / 1.036 GB, free: 6.031 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001138/0.3316, allocations: 50.48 kB / 1.036 GB, free: 5.973 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.275e-05/0.3317, allocations: 28.91 kB / 1.036 GB, free: 5.941 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000537/0.3323, allocations: 457.5 kB / 1.036 GB, free: 5.402 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.416e-05/0.3323, allocations: 38.5 kB / 1.036 GB, free: 5.355 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/0.3323, allocations: 0 / 1.036 GB, free: 5.355 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2): time 0.0003482/0.3327, allocations: 101.7 kB / 1.036 GB, free: 5.25 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.021e-05/0.3327, allocations: 51.41 kB / 1.036 GB, free: 5.188 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.664e-05/0.3328, allocations: 105.8 kB / 1.036 GB, free: 5.074 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.071e-05/0.3328, allocations: 25.7 kB / 1.036 GB, free: 5.043 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 4.036e-05/0.3328, allocations: 88.05 kB / 1.037 GB, free: 4.953 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 1.59e-05/0.3329, allocations: 7.938 kB / 1.037 GB, free: 4.945 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.966e-06/0.3329, allocations: 0 / 1.037 GB, free: 4.945 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 8.824e-05/0.333, allocations: 310.8 kB / 1.037 GB, free: 4.633 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.89e-05/0.3331, allocations: 28.02 kB / 1.037 GB, free: 4.605 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.812e-05/0.3331, allocations: 23.91 kB / 1.037 GB, free: 4.582 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001413/0.3333, allocations: 52.89 kB / 1.037 GB, free: 4.527 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.3333, allocations: 0 / 1.037 GB, free: 4.527 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001994/0.3335, allocations: 85.53 kB / 1.037 GB, free: 4.438 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.333e-05/0.3335, allocations: 8 kB / 1.037 GB, free: 4.43 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.3335, allocations: 4 kB / 1.037 GB, free: 4.426 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.037e-05/0.3335, allocations: 0 / 1.037 GB, free: 4.426 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.236e-05/0.3336, allocations: 11.98 kB / 1.037 GB, free: 4.414 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.588e-06/0.3336, allocations: 0 / 1.037 GB, free: 4.414 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.443e-05/0.3337, allocations: 4 kB / 1.037 GB, free: 4.41 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.658e-06/0.3337, allocations: 4 kB / 1.037 GB, free: 4.406 MB / 0.6823 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 6.61e-05/0.3338, allocations: 121.7 kB / 1.037 GB, free: 4.277 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.01e-05/0.3338, allocations: 4 kB / 1.037 GB, free: 4.273 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002111/0.334, allocations: 85.12 kB / 1.037 GB, free: 4.18 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.3341, allocations: 0 / 1.037 GB, free: 4.18 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.3341, allocations: 4.281 kB / 1.037 GB, free: 4.176 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.3341, allocations: 0 / 1.037 GB, free: 4.176 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001378/0.3342, allocations: 165.6 kB / 1.037 GB, free: 3.965 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.3342, allocations: 4 kB / 1.037 GB, free: 3.961 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.56e-05/0.3343, allocations: 8 kB / 1.037 GB, free: 3.953 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.426e-06/0.3343, allocations: 3.984 kB / 1.037 GB, free: 3.949 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.176e-06/0.3343, allocations: 4 kB / 1.037 GB, free: 3.945 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.3343, allocations: 0 / 1.037 GB, free: 3.945 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.3343, allocations: 3.938 kB / 1.037 GB, free: 3.941 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002297/0.3346, allocations: 183.3 kB / 1.038 GB, free: 3.746 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 3.265e-05/0.3346, allocations: 77.11 kB / 1.038 GB, free: 3.652 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.103e-05/0.3346, allocations: 0 / 1.038 GB, free: 3.652 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.169e-05/0.3347, allocations: 16.03 kB / 1.038 GB, free: 3.637 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.917e-05/0.3347, allocations: 3.984 kB / 1.038 GB, free: 3.633 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.907e-06/0.3347, allocations: 0 / 1.038 GB, free: 3.633 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 3.734e-05/0.3348, allocations: 83.28 kB / 1.038 GB, free: 3.551 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3348, allocations: 0 / 1.038 GB, free: 3.551 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002078/0.335, allocations: 20 kB / 1.038 GB, free: 3.531 MB / 0.6823 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.0001434/0.3351, allocations: 115.2 kB / 1.038 GB, free: 3.41 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001885/0.3353, allocations: 47.97 kB / 1.038 GB, free: 3.363 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/0.3354, allocations: 0 / 1.038 GB, free: 3.363 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 8.534e-05/0.3354, allocations: 35.97 kB / 1.038 GB, free: 3.328 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002347/0.3357, allocations: 10 kB / 1.038 GB, free: 3.32 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000258/0.336, allocations: 116.6 kB / 1.038 GB, free: 3.18 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002023/0.3362, allocations: 0.6731 MB / 1.039 GB, free: 2.48 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 2.548e-05/0.3362, allocations: 3.984 kB / 1.039 GB, free: 2.477 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.742e-05/0.3362, allocations: 11.44 kB / 1.039 GB, free: 2.465 MB / 0.6823 GB Notification: Performance of SimCode: time 2.3e-07/0.3362, allocations: 4.062 kB / 1.039 GB, free: 2.461 MB / 0.6823 GB Notification: Performance of Templates: time 0.00231/0.3385, allocations: 0.6106 MB / 1.039 GB, free: 1.852 MB / 0.6823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.RegNonZeroPower.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.RegNonZeroPower.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.RegNonZeroPower -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1)