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.8725/0.8725, allocations: 143.4 MB / 158.3 MB, free: 5.832 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001352/0.001352, allocations: 193 kB / 191.5 MB, free: 5.762 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.541/1.541, allocations: 223.2 MB / 447.7 MB, free: 4.816 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.001143/0.001143, allocations: 88.31 kB / 0.5188 GB, free: 1.18 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001766/0.001766, allocations: 271.9 kB / 0.6005 GB, free: 48.76 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004545/0.0004545, allocations: 16.06 kB / 0.6929 GB, free: 59.54 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1887/0.1892, allocations: 82.8 MB / 0.7737 GB, free: 13.85 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1694/0.3587, allocations: 108.5 MB / 0.8797 GB, free: 1.164 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002466/0.359, allocations: 73.98 kB / 0.8798 GB, free: 1.094 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.4198/0.7788, allocations: 4.023 MB / 0.8837 GB, free: 109.3 MB / 0.5417 GB Notification: Performance of FrontEnd: time 3.246e-06/0.7789, allocations: 0 / 0.8837 GB, free: 109.3 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 6.953e-06/0.7789, allocations: 4 kB / 0.8837 GB, free: 109.3 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.0003257/0.7792, allocations: 342 kB / 0.8841 GB, free: 108.9 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.755e-05/0.7793, allocations: 9.266 kB / 0.8841 GB, free: 108.9 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.799e-05/0.7794, allocations: 0 / 0.8841 GB, free: 108.9 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.984e-05/0.7795, allocations: 168.6 kB / 0.8842 GB, free: 108.7 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.79e-05/0.7795, allocations: 5.016 kB / 0.8842 GB, free: 108.7 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.273e-05/0.7795, allocations: 0 / 0.8842 GB, free: 108.7 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001167/0.7797, allocations: 28.39 kB / 0.8843 GB, free: 108.7 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.076e-05/0.7797, allocations: 4 kB / 0.8843 GB, free: 108.7 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.148e-05/0.7797, allocations: 2.344 kB / 0.8843 GB, free: 108.7 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/0.7797, allocations: 0 / 0.8843 GB, free: 108.7 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.724e-05/0.7798, allocations: 2.719 kB / 0.8843 GB, free: 108.7 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001597/0.7799, allocations: 151.5 kB / 0.8844 GB, free: 108.5 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 5.167e-05/0.78, allocations: 20.5 kB / 0.8844 GB, free: 108.5 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000553/0.7806, allocations: 429.1 kB / 0.8848 GB, free: 108 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.572e-05/0.7806, allocations: 37.48 kB / 0.8849 GB, free: 107.9 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=1): time 1.954e-06/0.7806, allocations: 0 / 0.8849 GB, free: 107.9 MB / 0.5417 GB Notification: Performance of matching and sorting (n=1): time 0.000193/0.7808, allocations: 37.48 kB / 0.8849 GB, free: 107.9 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.756e-05/0.7809, allocations: 55.34 kB / 0.885 GB, free: 107.8 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.339e-05/0.7809, allocations: 85 kB / 0.8851 GB, free: 107.8 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.272e-05/0.7809, allocations: 29.25 kB / 0.8851 GB, free: 107.7 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 1.866e-05/0.781, allocations: 84.14 kB / 0.8852 GB, free: 107.6 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 3.431e-05/0.781, allocations: 0 / 0.8852 GB, free: 107.6 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.535e-06/0.781, allocations: 3.938 kB / 0.8852 GB, free: 107.6 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 6.615e-05/0.7811, allocations: 313.9 kB / 0.8855 GB, free: 107.3 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.322e-05/0.7811, allocations: 0 / 0.8855 GB, free: 107.3 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.764e-06/0.7812, allocations: 0 / 0.8855 GB, free: 107.3 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.833e-05/0.7812, allocations: 5.719 kB / 0.8855 GB, free: 107.3 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.574e-06/0.7812, allocations: 0 / 0.8855 GB, free: 107.3 MB / 0.5417 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.359e-05/0.7813, allocations: 36.55 kB / 0.8855 GB, free: 107.3 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.19e-05/0.7813, allocations: 9.016 kB / 0.8855 GB, free: 107.3 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.267e-06/0.7814, allocations: 3.953 kB / 0.8855 GB, free: 107.3 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.755e-05/0.7814, allocations: 0.875 kB / 0.8855 GB, free: 107.3 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.762e-05/0.7814, allocations: 2.688 kB / 0.8855 GB, free: 107.3 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.795e-06/0.7815, allocations: 0 / 0.8855 GB, free: 107.3 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.729e-05/0.7815, allocations: 0 / 0.8855 GB, free: 107.3 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.286e-06/0.7815, allocations: 3.938 kB / 0.8855 GB, free: 107.3 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 () * 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.208e-05/0.7816, allocations: 108.7 kB / 0.8856 GB, free: 107.2 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.96e-05/0.7816, allocations: 8.594 kB / 0.8856 GB, free: 107.2 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001126/0.7818, allocations: 40.06 kB / 0.8857 GB, free: 107.1 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.7818, allocations: 3.953 kB / 0.8857 GB, free: 107.1 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.862e-06/0.7818, allocations: 0.75 kB / 0.8857 GB, free: 107.1 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.7818, allocations: 0 / 0.8857 GB, free: 107.1 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.242e-05/0.7819, allocations: 148.9 kB / 0.8858 GB, free: 106.9 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.7819, allocations: 0 / 0.8858 GB, free: 106.9 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.866e-05/0.782, allocations: 2.812 kB / 0.8858 GB, free: 106.9 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.168e-06/0.782, allocations: 3.188 kB / 0.8858 GB, free: 106.9 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.586e-06/0.782, allocations: 4.031 kB / 0.8858 GB, free: 106.9 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.782, allocations: 0 / 0.8858 GB, free: 106.9 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.782, allocations: 3.953 kB / 0.8858 GB, free: 106.9 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001102/0.7821, allocations: 71.91 kB / 0.8859 GB, free: 106.9 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 2.264e-05/0.7822, allocations: 77.11 kB / 0.886 GB, free: 106.8 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.575e-05/0.7822, allocations: 0 / 0.886 GB, free: 106.8 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.267e-05/0.7822, allocations: 0 / 0.886 GB, free: 106.8 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.283e-05/0.7823, allocations: 10.45 kB / 0.886 GB, free: 106.8 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.236e-06/0.7823, allocations: 0 / 0.886 GB, free: 106.8 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 1.959e-05/0.7823, allocations: 78.53 kB / 0.8861 GB, free: 106.7 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.61e-07/0.7823, allocations: 0 / 0.8861 GB, free: 106.7 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0003569/0.7827, allocations: 13.83 kB / 0.8861 GB, free: 106.7 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 () * 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.0002189/0.7829, allocations: 114.3 kB / 0.8862 GB, free: 106.6 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 8.66e-05/0.783, allocations: 3.281 kB / 0.8862 GB, free: 106.6 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 4.949e-06/0.7831, allocations: 64 / 0.8862 GB, free: 106.6 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 1.363e-05/0.7831, allocations: 11.22 kB / 0.8862 GB, free: 106.6 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001325/0.7832, allocations: 0 / 0.8862 GB, free: 106.6 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001991/0.7834, allocations: 86.36 kB / 0.8863 GB, free: 106.5 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001149/0.7836, allocations: 0.6748 MB / 0.8869 GB, free: 105.8 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 3.324e-05/0.7836, allocations: 0 / 0.8869 GB, free: 105.8 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.787e-05/0.7837, allocations: 10.47 kB / 0.8869 GB, free: 105.8 MB / 0.5417 GB Notification: Performance of SimCode: time 3.71e-07/0.7837, allocations: 0 / 0.8869 GB, free: 105.8 MB / 0.5417 GB Notification: Performance of Templates: time 0.00347/0.7872, allocations: 417.8 kB / 0.8873 GB, free: 105.7 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)