Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo", uses=false) Using package NcDataReader2 with version 2.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8329/0.8329, allocations: 140.1 MB / 156 MB, free: 5.191 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0011/0.0011, allocations: 182.6 kB / 188.5 MB, free: 15.84 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.435/1.435, allocations: 205.4 MB / 426.3 MB, free: 8.484 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008233/0.0008232, allocations: 94.3 kB / 0.4945 GB, free: 8.422 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.001584/0.001584, allocations: 257.3 kB / 0.5728 GB, free: 66.25 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005312/0.0005312, allocations: 27.98 kB / 0.662 GB, free: 6.812 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3595/0.3601, allocations: 79.3 MB / 0.7395 GB, free: 46.38 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1272/0.4874, allocations: 107 MB / 0.844 GB, free: 3.191 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002272/0.4876, allocations: 79.95 kB / 0.8441 GB, free: 3.113 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.01137/0.499, allocations: 4.049 MB / 0.8481 GB, free: 15.06 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.144e-06/0.4991, allocations: 0 / 0.8481 GB, free: 15.06 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.488e-06/0.4991, allocations: 0 / 0.8481 GB, free: 15.06 MB / 0.5261 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.0002889/0.4994, allocations: 347.5 kB / 0.8484 GB, free: 14.67 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.986e-05/0.4994, allocations: 8.031 kB / 0.8484 GB, free: 14.66 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.28e-05/0.4995, allocations: 0.9375 kB / 0.8484 GB, free: 14.66 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.936e-05/0.4996, allocations: 160.4 kB / 0.8485 GB, free: 14.46 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.978e-06/0.4996, allocations: 384 / 0.8485 GB, free: 14.46 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.337e-06/0.4996, allocations: 384 / 0.8485 GB, free: 14.46 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.013e-05/0.4997, allocations: 34.25 kB / 0.8486 GB, free: 14.43 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.602e-06/0.4997, allocations: 192 / 0.8486 GB, free: 14.43 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.297e-06/0.4997, allocations: 3.938 kB / 0.8486 GB, free: 14.42 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.627e-06/0.4997, allocations: 4 kB / 0.8486 GB, free: 14.42 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.231e-05/0.4997, allocations: 7.938 kB / 0.8486 GB, free: 14.41 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001378/0.4999, allocations: 145.7 kB / 0.8487 GB, free: 14.22 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 3.346e-05/0.4999, allocations: 14.58 kB / 0.8487 GB, free: 14.2 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.527e-05/0.5, allocations: 12.89 kB / 0.8488 GB, free: 14.18 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004272/0.5004, allocations: 429.4 kB / 0.8492 GB, free: 13.67 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.505e-05/0.5004, allocations: 38.55 kB / 0.8492 GB, free: 13.62 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=1): time 2.325e-06/0.5004, allocations: 3.984 kB / 0.8492 GB, free: 13.62 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1): time 0.000133/0.5006, allocations: 37.58 kB / 0.8492 GB, free: 13.57 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.521e-05/0.5006, allocations: 51.41 kB / 0.8493 GB, free: 13.51 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.089e-05/0.5007, allocations: 89.86 kB / 0.8494 GB, free: 13.41 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.223e-05/0.5007, allocations: 25.7 kB / 0.8494 GB, free: 13.38 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 3.557e-05/0.5007, allocations: 88.27 kB / 0.8495 GB, free: 13.29 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.608e-05/0.5007, allocations: 4 kB / 0.8495 GB, free: 13.29 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.813e-06/0.5008, allocations: 0 / 0.8495 GB, free: 13.29 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001045/0.5009, allocations: 310.8 kB / 0.8498 GB, free: 12.98 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.634e-06/0.5009, allocations: 0 / 0.8498 GB, free: 12.98 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.338e-06/0.5009, allocations: 0 / 0.8498 GB, free: 12.98 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.404e-05/0.5009, allocations: 12.84 kB / 0.8498 GB, free: 12.96 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.848e-06/0.5009, allocations: 0 / 0.8498 GB, free: 12.96 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.957e-05/0.501, allocations: 41.7 kB / 0.8498 GB, free: 12.91 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.27e-05/0.501, allocations: 9.875 kB / 0.8499 GB, free: 12.91 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.279e-06/0.501, allocations: 0 / 0.8499 GB, free: 12.91 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.198e-05/0.501, allocations: 3.938 kB / 0.8499 GB, free: 12.9 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.54e-05/0.5011, allocations: 0 / 0.8499 GB, free: 12.9 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.5011, allocations: 4 kB / 0.8499 GB, free: 12.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.676e-06/0.5011, allocations: 0 / 0.8499 GB, free: 12.9 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.65e-06/0.5011, allocations: 3.984 kB / 0.8499 GB, free: 12.89 MB / 0.5261 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 7.102e-05/0.5012, allocations: 111.8 kB / 0.85 GB, free: 12.78 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.709e-05/0.5012, allocations: 7.938 kB / 0.85 GB, free: 12.77 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.859e-05/0.5013, allocations: 44.7 kB / 0.85 GB, free: 12.72 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.352e-06/0.5013, allocations: 0 / 0.85 GB, free: 12.72 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.5013, allocations: 0 / 0.85 GB, free: 12.72 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.5013, allocations: 0 / 0.85 GB, free: 12.72 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.974e-05/0.5014, allocations: 149.7 kB / 0.8502 GB, free: 12.53 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.5014, allocations: 0 / 0.8502 GB, free: 12.53 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.239e-05/0.5014, allocations: 4 kB / 0.8502 GB, free: 12.52 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.332e-06/0.5014, allocations: 0 / 0.8502 GB, free: 12.52 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.092e-06/0.5015, allocations: 7.969 kB / 0.8502 GB, free: 12.52 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.5015, allocations: 0 / 0.8502 GB, free: 12.52 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.5015, allocations: 3.938 kB / 0.8502 GB, free: 12.51 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.422e-05/0.5016, allocations: 57.12 kB / 0.8502 GB, free: 12.44 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 3.814e-05/0.5016, allocations: 81.11 kB / 0.8503 GB, free: 12.34 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.289e-05/0.5016, allocations: 7.938 kB / 0.8503 GB, free: 12.33 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.927e-06/0.5016, allocations: 0 / 0.8503 GB, free: 12.33 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.05e-05/0.5016, allocations: 7.969 kB / 0.8503 GB, free: 12.32 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.913e-06/0.5017, allocations: 7.938 kB / 0.8503 GB, free: 12.32 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 2.343e-05/0.5017, allocations: 75.28 kB / 0.8504 GB, free: 12.24 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1e-07/0.5017, allocations: 0 / 0.8504 GB, free: 12.24 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0001786/0.5019, allocations: 15.94 kB / 0.8504 GB, free: 12.23 MB / 0.5261 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.0001626/0.502, allocations: 111.2 kB / 0.8505 GB, free: 12.11 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 5.334e-05/0.5021, allocations: 4 kB / 0.8505 GB, free: 12.11 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.5021, allocations: 0 / 0.8505 GB, free: 12.11 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 5.891e-06/0.5021, allocations: 4.062 kB / 0.8505 GB, free: 12.1 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000118/0.5022, allocations: 7.281 kB / 0.8505 GB, free: 12.1 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001504/0.5024, allocations: 74.75 kB / 0.8506 GB, free: 12 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002308/0.5026, allocations: 0.6692 MB / 0.8513 GB, free: 11.3 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 1.693e-05/0.5027, allocations: 7.938 kB / 0.8513 GB, free: 11.29 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.858e-06/0.5027, allocations: 7.438 kB / 0.8513 GB, free: 11.29 MB / 0.5261 GB Notification: Performance of SimCode: time 2.21e-07/0.5027, allocations: 0 / 0.8513 GB, free: 11.29 MB / 0.5261 GB Notification: Performance of Templates: time 0.002042/0.5047, allocations: 427.7 kB / 0.8517 GB, free: 10.87 MB / 0.5261 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe 2>&1)