Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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) 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 Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check") translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.55/1.55, allocations: 289.9 MB / 297.4 MB, free: 6.387 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009766/0.0009766, allocations: 180.8 kB / 366.7 MB, free: 1.641 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.345/1.345, allocations: 205.3 MB / 0.626 GB, free: 7.16 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009788/0.0009786, allocations: 84.97 kB / 0.74 GB, free: 39.55 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.945e-05/1.947e-05, allocations: 8 kB / 0.8597 GB, free: 13.06 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6436/0.6436, allocations: 116.3 MB / 0.9733 GB, free: 76.1 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.191/0.8347, allocations: 138.4 MB / 1.108 GB, free: 11.81 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002366/0.835, allocations: 75.95 kB / 1.108 GB, free: 11.73 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.01425/0.8493, allocations: 5.059 MB / 1.113 GB, free: 6.715 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.763e-06/0.8493, allocations: 0 / 1.113 GB, free: 6.715 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 8.486e-06/0.8493, allocations: 0.5312 kB / 1.113 GB, free: 6.715 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004053/0.8498, allocations: 359.5 kB / 1.114 GB, free: 6.32 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.789e-05/0.8498, allocations: 9.781 kB / 1.114 GB, free: 6.312 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.85e-05/0.8499, allocations: 11.84 kB / 1.114 GB, free: 6.301 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001508/0.8501, allocations: 167 kB / 1.114 GB, free: 6.098 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.727e-05/0.8501, allocations: 0 / 1.114 GB, free: 6.098 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.196e-05/0.8501, allocations: 8 kB / 1.114 GB, free: 6.09 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.384e-05/0.8502, allocations: 16.58 kB / 1.114 GB, free: 6.074 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001111/0.8503, allocations: 42.22 kB / 1.114 GB, free: 6.027 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.486e-05/0.8504, allocations: 0.8125 kB / 1.114 GB, free: 6.027 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.221e-05/0.8504, allocations: 0 / 1.114 GB, free: 6.027 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.083e-06/0.8504, allocations: 7.984 kB / 1.114 GB, free: 6.02 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001897/0.8506, allocations: 144.3 kB / 1.114 GB, free: 5.848 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001055/0.8507, allocations: 55.91 kB / 1.114 GB, free: 5.785 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.316e-05/0.8508, allocations: 28.84 kB / 1.114 GB, free: 5.754 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006156/0.8514, allocations: 468 kB / 1.115 GB, free: 5.211 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.442e-05/0.8514, allocations: 30.56 kB / 1.115 GB, free: 5.172 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 1.713e-06/0.8514, allocations: 0 / 1.115 GB, free: 5.172 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11): time 0.00104/0.8525, allocations: 0.5219 MB / 1.115 GB, free: 4.559 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.234e-05/0.8525, allocations: 53.97 kB / 1.115 GB, free: 4.496 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.623e-05/0.8526, allocations: 92.98 kB / 1.115 GB, free: 4.398 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.669e-05/0.8526, allocations: 25.7 kB / 1.115 GB, free: 4.367 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.316e-05/0.8527, allocations: 80.14 kB / 1.115 GB, free: 4.285 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.619e-05/0.8527, allocations: 43.45 kB / 1.116 GB, free: 4.242 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.708e-06/0.8527, allocations: 0 / 1.116 GB, free: 4.242 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001034/0.8528, allocations: 314.8 kB / 1.116 GB, free: 3.926 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.117e-05/0.8529, allocations: 20 kB / 1.116 GB, free: 3.906 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.966e-05/0.8529, allocations: 16 kB / 1.116 GB, free: 3.891 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.146e-05/0.853, allocations: 23.98 kB / 1.116 GB, free: 3.867 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.853, allocations: 0 / 1.116 GB, free: 3.867 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001689/0.8532, allocations: 90.89 kB / 1.116 GB, free: 3.773 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.66e-05/0.8532, allocations: 4.938 kB / 1.116 GB, free: 3.77 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.8532, allocations: 8.5 kB / 1.116 GB, free: 3.766 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.476e-05/0.8532, allocations: 0 / 1.116 GB, free: 3.766 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001045/0.8533, allocations: 27.98 kB / 1.116 GB, free: 3.738 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.368e-06/0.8533, allocations: 0 / 1.116 GB, free: 3.738 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.134e-05/0.8534, allocations: 0 / 1.116 GB, free: 3.738 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.628e-06/0.8534, allocations: 4 kB / 1.116 GB, free: 3.734 MB / 0.7136 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 (13): * Single equations (assignments): 13 * 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.398e-05/0.8535, allocations: 101.4 kB / 1.116 GB, free: 3.629 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.789e-05/0.8535, allocations: 15.8 kB / 1.116 GB, free: 3.613 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002165/0.8537, allocations: 98 kB / 1.116 GB, free: 3.508 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.8537, allocations: 0 / 1.116 GB, free: 3.508 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.8537, allocations: 0 / 1.116 GB, free: 3.508 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.8538, allocations: 4 kB / 1.116 GB, free: 3.504 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000388/0.8541, allocations: 326.7 kB / 1.117 GB, free: 3.145 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.8542, allocations: 0 / 1.117 GB, free: 3.145 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001087/0.8543, allocations: 26.67 kB / 1.117 GB, free: 3.121 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.008e-06/0.8543, allocations: 4 kB / 1.117 GB, free: 3.117 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.045e-06/0.8543, allocations: 0 / 1.117 GB, free: 3.117 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.8543, allocations: 0 / 1.117 GB, free: 3.117 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.8543, allocations: 0 / 1.117 GB, free: 3.117 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002657/0.8546, allocations: 212.9 kB / 1.117 GB, free: 2.895 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.756e-05/0.8546, allocations: 96.98 kB / 1.117 GB, free: 2.781 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.445e-05/0.8547, allocations: 0 / 1.117 GB, free: 2.781 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.484e-05/0.8547, allocations: 4 kB / 1.117 GB, free: 2.777 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.195e-05/0.8548, allocations: 3.984 kB / 1.117 GB, free: 2.773 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.603e-06/0.8548, allocations: 4 kB / 1.117 GB, free: 2.77 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 3.052e-05/0.8548, allocations: 83.45 kB / 1.117 GB, free: 2.688 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8548, allocations: 0 / 1.117 GB, free: 2.688 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002773/0.8551, allocations: 56 kB / 1.117 GB, free: 2.633 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (y_comp,der_y_comp) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.0002466/0.8554, allocations: 159 kB / 1.117 GB, free: 2.469 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001469/0.8555, allocations: 48 kB / 1.117 GB, free: 2.422 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.8555, allocations: 0 / 1.117 GB, free: 2.422 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.799e-05/0.8556, allocations: 31.94 kB / 1.117 GB, free: 2.391 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001404/0.8557, allocations: 4 kB / 1.117 GB, free: 2.387 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002886/0.856, allocations: 124 kB / 1.117 GB, free: 2.238 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002222/0.8563, allocations: 0.6963 MB / 1.118 GB, free: 1.516 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 4.814e-05/0.8563, allocations: 9.125 kB / 1.118 GB, free: 1.508 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.236e-05/0.8563, allocations: 11.44 kB / 1.118 GB, free: 1.496 MB / 0.7136 GB Notification: Performance of SimCode: time 2.41e-07/0.8563, allocations: 0 / 1.118 GB, free: 1.496 MB / 0.7136 GB Notification: Performance of Templates: time 0.003485/0.8598, allocations: 1.285 MB / 1.119 GB, free: 256 kB / 0.7136 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.sim & ./Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe 2>&1)