Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.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.RegNonZeroPowerDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8488/0.8488, allocations: 143.4 MB / 158.3 MB, free: 5.789 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.001206/0.001206, allocations: 180.7 kB / 191.5 MB, free: 5.77 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.492/1.492, allocations: 223.2 MB / 447.7 MB, free: 4.785 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.0008937/0.0008937, allocations: 88.33 kB / 0.5188 GB, free: 1.156 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001741/0.001741, allocations: 276.1 kB / 0.6005 GB, free: 48.73 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005256/0.0005256, allocations: 13.66 kB / 0.6929 GB, free: 59.64 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1887/0.1893, allocations: 82.8 MB / 0.7737 GB, free: 13.8 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1669/0.3562, allocations: 108.7 MB / 0.8798 GB, free: 1.004 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002402/0.3565, allocations: 73.98 kB / 0.8799 GB, free: 0.9336 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.4041/0.7605, allocations: 4.56 MB / 0.8844 GB, free: 109 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.315e-06/0.7606, allocations: 0 / 0.8844 GB, free: 109 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 8.266e-06/0.7606, allocations: 2.938 kB / 0.8844 GB, free: 109 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002958/0.7609, allocations: 340.2 kB / 0.8847 GB, free: 108.6 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.598e-05/0.761, allocations: 8.188 kB / 0.8847 GB, free: 108.6 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.507e-05/0.761, allocations: 0.5156 kB / 0.8847 GB, free: 108.6 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.786e-05/0.7611, allocations: 170.3 kB / 0.8849 GB, free: 108.4 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.856e-05/0.7612, allocations: 11.97 kB / 0.8849 GB, free: 108.4 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.725e-05/0.7612, allocations: 3.672 kB / 0.8849 GB, free: 108.4 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.309e-05/0.7613, allocations: 34.59 kB / 0.8849 GB, free: 108.4 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.376e-06/0.7613, allocations: 3.938 kB / 0.8849 GB, free: 108.4 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.124e-05/0.7613, allocations: 0.6562 kB / 0.8849 GB, free: 108.4 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-06/0.7613, allocations: 3.938 kB / 0.8849 GB, free: 108.4 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.065e-05/0.7614, allocations: 3.672 kB / 0.8849 GB, free: 108.4 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001385/0.7615, allocations: 151.9 kB / 0.8851 GB, free: 108.2 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 4.391e-05/0.7616, allocations: 25.41 kB / 0.8851 GB, free: 108.2 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005447/0.7621, allocations: 462.2 kB / 0.8855 GB, free: 107.7 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.219e-05/0.7621, allocations: 33.28 kB / 0.8856 GB, free: 107.7 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=2): time 1.222e-06/0.7622, allocations: 4 kB / 0.8856 GB, free: 107.7 MB / 0.5417 GB Notification: Performance of matching and sorting (n=3): time 0.0005368/0.7627, allocations: 250.8 kB / 0.8858 GB, free: 107.4 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.935e-05/0.7627, allocations: 55.34 kB / 0.8859 GB, free: 107.4 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.862e-05/0.7628, allocations: 92.78 kB / 0.886 GB, free: 107.3 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.098e-05/0.7628, allocations: 25.7 kB / 0.886 GB, free: 107.2 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 2.303e-05/0.7628, allocations: 81 kB / 0.8861 GB, free: 107.1 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 2.477e-05/0.7629, allocations: 12.06 kB / 0.8861 GB, free: 107.1 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.406e-06/0.7629, allocations: 7.062 kB / 0.8861 GB, free: 107.1 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 4.942e-05/0.7629, allocations: 312 kB / 0.8864 GB, free: 106.8 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.725e-05/0.763, allocations: 6.547 kB / 0.8864 GB, free: 106.8 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.272e-05/0.763, allocations: 18.25 kB / 0.8864 GB, free: 106.8 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.355e-05/0.763, allocations: 5.656 kB / 0.8864 GB, free: 106.8 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.763, allocations: 0 / 0.8864 GB, free: 106.8 MB / 0.5417 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.471e-05/0.7631, allocations: 64.8 kB / 0.8865 GB, free: 106.8 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.603e-05/0.7631, allocations: 7.047 kB / 0.8865 GB, free: 106.8 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.7632, allocations: 4.875 kB / 0.8865 GB, free: 106.8 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.191e-05/0.7632, allocations: 0.875 kB / 0.8865 GB, free: 106.8 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.895e-05/0.7632, allocations: 6.859 kB / 0.8865 GB, free: 106.8 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/0.7632, allocations: 0 / 0.8865 GB, free: 106.8 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.952e-05/0.7633, allocations: 3.484 kB / 0.8865 GB, free: 106.8 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.602e-06/0.7633, allocations: 0 / 0.8865 GB, free: 106.8 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (4): * Single equations (assignments): 4 * 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 5.459e-05/0.7633, allocations: 116.6 kB / 0.8866 GB, free: 106.6 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.054e-05/0.7634, allocations: 5.906 kB / 0.8866 GB, free: 106.6 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001167/0.7635, allocations: 56.69 kB / 0.8867 GB, free: 106.6 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.7635, allocations: 2.594 kB / 0.8867 GB, free: 106.6 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.7635, allocations: 0.5 kB / 0.8867 GB, free: 106.6 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.7635, allocations: 1.031 kB / 0.8867 GB, free: 106.6 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.486e-05/0.7636, allocations: 152 kB / 0.8868 GB, free: 106.4 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.7636, allocations: 6.5 kB / 0.8868 GB, free: 106.4 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.3e-05/0.7637, allocations: 10.86 kB / 0.8868 GB, free: 106.4 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.7637, allocations: 0 / 0.8868 GB, free: 106.4 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.304e-06/0.7637, allocations: 0.75 kB / 0.8868 GB, free: 106.4 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.405e-06/0.7637, allocations: 6.953 kB / 0.8868 GB, free: 106.4 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.7637, allocations: 0 / 0.8868 GB, free: 106.4 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001275/0.7638, allocations: 81.08 kB / 0.8869 GB, free: 106.3 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 1.737e-05/0.7639, allocations: 85.19 kB / 0.887 GB, free: 106.2 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.116e-05/0.7639, allocations: 0 / 0.887 GB, free: 106.2 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.707e-05/0.7639, allocations: 4.062 kB / 0.887 GB, free: 106.2 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.815e-05/0.7639, allocations: 11.39 kB / 0.887 GB, free: 106.2 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.33e-06/0.7639, allocations: 1.078 kB / 0.887 GB, free: 106.2 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 2.037e-05/0.764, allocations: 78.16 kB / 0.8871 GB, free: 106.1 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.1e-07/0.764, allocations: 0 / 0.8871 GB, free: 106.1 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002242/0.7642, allocations: 34.2 kB / 0.8871 GB, free: 106.1 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y) * 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 (3): * Single equations (assignments): 3 * 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.0002034/0.7644, allocations: 138 kB / 0.8872 GB, free: 106 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 8.27e-05/0.7645, allocations: 21.48 kB / 0.8873 GB, free: 106 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.7645, allocations: 3.938 kB / 0.8873 GB, free: 106 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 1.519e-05/0.7645, allocations: 10.86 kB / 0.8873 GB, free: 106 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001147/0.7647, allocations: 3.609 kB / 0.8873 GB, free: 106 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002282/0.7649, allocations: 115 kB / 0.8874 GB, free: 105.9 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001112/0.765, allocations: 0.6788 MB / 0.8881 GB, free: 105.2 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 3.111e-05/0.7651, allocations: 11.5 kB / 0.8881 GB, free: 105.2 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.627e-05/0.7651, allocations: 9.969 kB / 0.8881 GB, free: 105.2 MB / 0.5417 GB Notification: Performance of SimCode: time 2.31e-07/0.7651, allocations: 0 / 0.8881 GB, free: 105.2 MB / 0.5417 GB Notification: Performance of Templates: time 0.003014/0.7681, allocations: 0.8052 MB / 0.8889 GB, free: 105.2 MB / 0.5417 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe 2>&1)