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 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 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.7794/0.7794, allocations: 141.7 MB / 154.3 MB, free: 15.5 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001149/0.001149, allocations: 177.5 kB / 187.3 MB, free: 11.89 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.502/1.502, allocations: 221.3 MB / 441.4 MB, free: 4.609 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008455/0.0008456, allocations: 88.67 kB / 0.5124 GB, free: 24.15 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001712/0.001712, allocations: 272.8 kB / 0.5939 GB, free: 7.969 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.108e-05/3.11e-05, allocations: 4 kB / 0.6835 GB, free: 12.24 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4539/0.4539, allocations: 82.77 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1743/0.6283, allocations: 108.5 MB / 0.8702 GB, free: 84 kB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000352/0.6287, allocations: 75.81 kB / 0.8703 GB, free: 12 kB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.01718/0.6459, allocations: 4.031 MB / 0.8742 GB, free: 11.98 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.174e-06/0.646, allocations: 7.938 kB / 0.8742 GB, free: 11.98 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 6.552e-06/0.646, allocations: 0 / 0.8742 GB, free: 11.98 MB / 0.5417 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.0003574/0.6464, allocations: 334.4 kB / 0.8745 GB, free: 11.61 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.419e-05/0.6464, allocations: 12.03 kB / 0.8746 GB, free: 11.59 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.462e-05/0.6465, allocations: 0 / 0.8746 GB, free: 11.59 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001167/0.6466, allocations: 163.1 kB / 0.8747 GB, free: 11.39 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.752e-05/0.6467, allocations: 3.953 kB / 0.8747 GB, free: 11.39 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.296e-05/0.6467, allocations: 0 / 0.8747 GB, free: 11.39 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001068/0.6468, allocations: 29.7 kB / 0.8747 GB, free: 11.36 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.095e-06/0.6468, allocations: 4 kB / 0.8748 GB, free: 11.35 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.042e-05/0.6469, allocations: 0 / 0.8748 GB, free: 11.35 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.282e-06/0.6469, allocations: 3.938 kB / 0.8748 GB, free: 11.35 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.969e-05/0.6469, allocations: 7.938 kB / 0.8748 GB, free: 11.34 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001723/0.6471, allocations: 145.7 kB / 0.8749 GB, free: 11.15 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 5.107e-05/0.6472, allocations: 18.56 kB / 0.8749 GB, free: 11.12 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.91e-05/0.6472, allocations: 16.89 kB / 0.8749 GB, free: 11.1 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006126/0.6478, allocations: 425.5 kB / 0.8753 GB, free: 10.59 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.98e-05/0.6479, allocations: 34.56 kB / 0.8754 GB, free: 10.55 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=1): time 1.513e-06/0.6479, allocations: 0 / 0.8754 GB, free: 10.55 MB / 0.5417 GB Notification: Performance of matching and sorting (n=1): time 0.000163/0.6481, allocations: 37.64 kB / 0.8754 GB, free: 10.51 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.634e-05/0.6481, allocations: 51.41 kB / 0.8755 GB, free: 10.45 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.945e-05/0.6482, allocations: 89.03 kB / 0.8755 GB, free: 10.35 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.601e-05/0.6482, allocations: 25.7 kB / 0.8756 GB, free: 10.32 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 3.222e-05/0.6483, allocations: 80.14 kB / 0.8756 GB, free: 10.24 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 3.655e-05/0.6483, allocations: 3.984 kB / 0.8756 GB, free: 10.23 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.344e-06/0.6483, allocations: 0 / 0.8756 GB, free: 10.23 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001356/0.6485, allocations: 314.8 kB / 0.8759 GB, free: 9.918 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.16e-05/0.6485, allocations: 0 / 0.8759 GB, free: 9.918 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.194e-06/0.6485, allocations: 0 / 0.8759 GB, free: 9.918 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.109e-05/0.6485, allocations: 8.047 kB / 0.876 GB, free: 9.91 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.6486, allocations: 4 kB / 0.876 GB, free: 9.906 MB / 0.5417 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.427e-05/0.6487, allocations: 29.7 kB / 0.876 GB, free: 9.871 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.6487, allocations: 7.953 kB / 0.876 GB, free: 9.863 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.386e-06/0.6487, allocations: 0 / 0.876 GB, free: 9.863 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.357e-05/0.6487, allocations: 3.938 kB / 0.876 GB, free: 9.859 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.265e-05/0.6488, allocations: 7.938 kB / 0.876 GB, free: 9.852 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/0.6488, allocations: 0 / 0.876 GB, free: 9.852 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.596e-05/0.6488, allocations: 4 kB / 0.876 GB, free: 9.848 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.524e-06/0.6488, allocations: 0 / 0.876 GB, free: 9.848 MB / 0.5417 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 8.255e-05/0.6489, allocations: 109 kB / 0.8761 GB, free: 9.734 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.05e-05/0.649, allocations: 3.984 kB / 0.8761 GB, free: 9.73 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001058/0.6491, allocations: 36.78 kB / 0.8762 GB, free: 9.691 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.774e-06/0.6491, allocations: 0 / 0.8762 GB, free: 9.691 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.6491, allocations: 0 / 0.8762 GB, free: 9.691 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.277e-06/0.6491, allocations: 0 / 0.8762 GB, free: 9.691 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001249/0.6493, allocations: 149.7 kB / 0.8763 GB, free: 9.496 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.6493, allocations: 0 / 0.8763 GB, free: 9.496 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.667e-05/0.6493, allocations: 8.031 kB / 0.8763 GB, free: 9.488 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.6493, allocations: 0 / 0.8763 GB, free: 9.488 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.337e-06/0.6493, allocations: 0 / 0.8763 GB, free: 9.488 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.23e-06/0.6493, allocations: 11.89 kB / 0.8763 GB, free: 9.477 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.6494, allocations: 0 / 0.8763 GB, free: 9.477 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001167/0.6495, allocations: 61.03 kB / 0.8764 GB, free: 9.398 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 4.047e-05/0.6495, allocations: 81.05 kB / 0.8765 GB, free: 9.301 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.354e-05/0.6496, allocations: 4 kB / 0.8765 GB, free: 9.297 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.085e-05/0.6496, allocations: 4.031 kB / 0.8765 GB, free: 9.293 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.956e-05/0.6496, allocations: 3.953 kB / 0.8765 GB, free: 9.289 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.875e-06/0.6496, allocations: 0 / 0.8765 GB, free: 9.289 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 4.282e-05/0.6497, allocations: 75.28 kB / 0.8765 GB, free: 9.215 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.8e-07/0.6497, allocations: 0 / 0.8765 GB, free: 9.215 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0003169/0.65, allocations: 23.94 kB / 0.8766 GB, free: 9.191 MB / 0.5417 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.0002246/0.6503, allocations: 111.2 kB / 0.8767 GB, free: 9.074 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 7.046e-05/0.6503, allocations: 7.938 kB / 0.8767 GB, free: 9.066 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.6504, allocations: 4.062 kB / 0.8767 GB, free: 9.062 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 1.286e-05/0.6504, allocations: 4 kB / 0.8767 GB, free: 9.059 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001202/0.6505, allocations: 0 / 0.8767 GB, free: 9.059 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001775/0.6507, allocations: 49.19 kB / 0.8767 GB, free: 8.988 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002872/0.651, allocations: 0.677 MB / 0.8774 GB, free: 8.285 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 2.947e-05/0.651, allocations: 3.047 kB / 0.8774 GB, free: 8.285 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.638e-05/0.6511, allocations: 7.438 kB / 0.8774 GB, free: 8.277 MB / 0.5417 GB Notification: Performance of SimCode: time 3e-07/0.6511, allocations: 4.062 kB / 0.8774 GB, free: 8.273 MB / 0.5417 GB Notification: Performance of Templates: time 0.00295/0.654, allocations: 427.6 kB / 0.8778 GB, free: 7.855 MB / 0.5417 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)