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.8952/0.8952, allocations: 141.8 MB / 149.3 MB, free: 9.223 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.001016/0.001016, allocations: 184.8 kB / 182.2 MB, free: 9.441 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.438/1.438, allocations: 221.5 MB / 436.4 MB, free: 13.32 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.0008472/0.0008473, allocations: 85.8 kB / 0.5074 GB, free: 10.15 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001662/0.001662, allocations: 269.6 kB / 0.5889 GB, free: 54.65 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.064e-05/2.069e-05, allocations: 8 kB / 0.6765 GB, free: 12.8 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3832/0.3832, allocations: 82.78 MB / 0.7574 GB, free: 31.99 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1325/0.5158, allocations: 107.9 MB / 0.8628 GB, free: 3.93 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000227/0.5161, allocations: 83.81 kB / 0.8629 GB, free: 3.852 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.01377/0.5299, allocations: 4.534 MB / 0.8673 GB, free: 15.31 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.403e-06/0.5299, allocations: 3.938 kB / 0.8673 GB, free: 15.31 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 6.422e-06/0.5299, allocations: 0 / 0.8673 GB, free: 15.31 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.0003234/0.5302, allocations: 346.4 kB / 0.8676 GB, free: 14.93 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.113e-05/0.5303, allocations: 12.03 kB / 0.8676 GB, free: 14.91 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.202e-05/0.5304, allocations: 0 / 0.8676 GB, free: 14.91 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001212/0.5305, allocations: 159.1 kB / 0.8678 GB, free: 14.72 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.518e-05/0.5305, allocations: 3.953 kB / 0.8678 GB, free: 14.71 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.44e-05/0.5305, allocations: 12 kB / 0.8678 GB, free: 14.7 MB / 0.5417 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.543e-05/0.5306, allocations: 0 / 0.8678 GB, free: 14.7 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.333e-05/0.5307, allocations: 37.69 kB / 0.8678 GB, free: 14.66 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.416e-06/0.5307, allocations: 3.938 kB / 0.8678 GB, free: 14.66 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.288e-05/0.5307, allocations: 0 / 0.8678 GB, free: 14.66 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.66e-06/0.5307, allocations: 3.938 kB / 0.8678 GB, free: 14.65 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001604/0.5309, allocations: 130.2 kB / 0.868 GB, free: 14.49 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 4.677e-05/0.5309, allocations: 22.61 kB / 0.868 GB, free: 14.46 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.318e-05/0.531, allocations: 12.92 kB / 0.868 GB, free: 14.44 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006938/0.5317, allocations: 457.5 kB / 0.8684 GB, free: 13.9 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.227e-05/0.5317, allocations: 34.52 kB / 0.8685 GB, free: 13.86 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=2): time 1.773e-06/0.5317, allocations: 4 kB / 0.8685 GB, free: 13.86 MB / 0.5417 GB Notification: Performance of matching and sorting (n=3): time 0.0007195/0.5325, allocations: 242.3 kB / 0.8687 GB, free: 13.57 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.01e-05/0.5325, allocations: 51.41 kB / 0.8688 GB, free: 13.5 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.842e-05/0.5326, allocations: 93.06 kB / 0.8688 GB, free: 13.41 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.326e-05/0.5326, allocations: 29.83 kB / 0.8689 GB, free: 13.37 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 3.825e-05/0.5327, allocations: 84.12 kB / 0.869 GB, free: 13.29 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 2.398e-05/0.5327, allocations: 7.891 kB / 0.869 GB, free: 13.28 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.466e-06/0.5327, allocations: 0 / 0.869 GB, free: 13.28 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001223/0.5328, allocations: 318.8 kB / 0.8693 GB, free: 12.96 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.376e-05/0.5328, allocations: 0 / 0.8693 GB, free: 12.96 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.733e-05/0.5329, allocations: 25.75 kB / 0.8693 GB, free: 12.93 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.166e-05/0.5329, allocations: 8 kB / 0.8693 GB, free: 12.92 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.788e-06/0.533, allocations: 0 / 0.8693 GB, free: 12.92 MB / 0.5417 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001245/0.5331, allocations: 57.53 kB / 0.8694 GB, free: 12.86 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.598e-05/0.5331, allocations: 5.25 kB / 0.8694 GB, free: 12.85 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.5331, allocations: 3.953 kB / 0.8694 GB, free: 12.85 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.24e-05/0.5331, allocations: 0 / 0.8694 GB, free: 12.85 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.611e-05/0.5332, allocations: 8 kB / 0.8694 GB, free: 12.84 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.5332, allocations: 0 / 0.8694 GB, free: 12.84 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.381e-05/0.5333, allocations: 3.984 kB / 0.8694 GB, free: 12.84 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.897e-06/0.5333, allocations: 8.062 kB / 0.8694 GB, free: 12.83 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 () * 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 6.834e-05/0.5333, allocations: 104.9 kB / 0.8695 GB, free: 12.72 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.408e-05/0.5334, allocations: 0 / 0.8695 GB, free: 12.72 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001582/0.5335, allocations: 49.81 kB / 0.8695 GB, free: 12.66 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.5336, allocations: 3.953 kB / 0.8695 GB, free: 12.66 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.073e-06/0.5336, allocations: 4 kB / 0.8695 GB, free: 12.65 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.5336, allocations: 3.938 kB / 0.8695 GB, free: 12.65 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.376e-05/0.5337, allocations: 130.2 kB / 0.8697 GB, free: 12.48 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.906e-06/0.5337, allocations: 4 kB / 0.8697 GB, free: 12.48 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.641e-05/0.5337, allocations: 4 kB / 0.8697 GB, free: 12.48 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.424e-06/0.5337, allocations: 0 / 0.8697 GB, free: 12.48 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.586e-06/0.5338, allocations: 3.984 kB / 0.8697 GB, free: 12.47 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.5338, allocations: 0 / 0.8697 GB, free: 12.47 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.5338, allocations: 0 / 0.8697 GB, free: 12.47 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001661/0.5339, allocations: 81.02 kB / 0.8698 GB, free: 12.38 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 3.3e-05/0.534, allocations: 81.14 kB / 0.8698 GB, free: 12.28 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.379e-05/0.534, allocations: 4.062 kB / 0.8698 GB, free: 12.27 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.911e-05/0.5341, allocations: 0 / 0.8698 GB, free: 12.27 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.143e-05/0.5341, allocations: 0 / 0.8698 GB, free: 12.27 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.068e-05/0.5341, allocations: 11.98 kB / 0.8698 GB, free: 12.26 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 4.347e-05/0.5341, allocations: 83.17 kB / 0.8699 GB, free: 12.18 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.7e-07/0.5341, allocations: 0 / 0.8699 GB, free: 12.18 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002299/0.5344, allocations: 31.94 kB / 0.87 GB, free: 12.15 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 () * 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.0002246/0.5346, allocations: 139.3 kB / 0.8701 GB, free: 12 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 6.852e-05/0.5347, allocations: 11.94 kB / 0.8701 GB, free: 11.99 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.5347, allocations: 0 / 0.8701 GB, free: 11.99 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 1.413e-05/0.5347, allocations: 12 kB / 0.8701 GB, free: 11.98 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001052/0.5348, allocations: 5.703 kB / 0.8701 GB, free: 11.98 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002105/0.5351, allocations: 73.81 kB / 0.8702 GB, free: 11.88 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002338/0.5353, allocations: 0.6807 MB / 0.8708 GB, free: 11.17 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 3.482e-05/0.5353, allocations: 8.062 kB / 0.8709 GB, free: 11.16 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.039e-05/0.5354, allocations: 11.44 kB / 0.8709 GB, free: 11.15 MB / 0.5417 GB Notification: Performance of SimCode: time 3e-07/0.5354, allocations: 0 / 0.8709 GB, free: 11.15 MB / 0.5417 GB Notification: Performance of Templates: time 0.003017/0.5384, allocations: 0.7994 MB / 0.8716 GB, free: 10.38 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)