Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check") translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.54/0.54, allocations: 95.61 MB / 110.6 MB, free: 9.367 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001157/0.001157, allocations: 170.4 kB / 134.2 MB, free: 2.266 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.511/1.511, allocations: 170.7 MB / 328.4 MB, free: 12.27 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001676/0.001675, allocations: 113.9 kB / 390.7 MB, free: 13.94 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003809/0.0003809, allocations: 16 kB / 462.7 MB, free: 35.67 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.135/0.1354, allocations: 61.53 MB / 0.512 GB, free: 6.074 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4558/0.5913, allocations: 93.58 MB / 0.6034 GB, free: 13.71 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002852/0.5916, allocations: 74.2 kB / 0.6034 GB, free: 13.67 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009023/0.6006, allocations: 3.093 MB / 0.6065 GB, free: 11.05 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.918e-06/0.6007, allocations: 0 / 0.6065 GB, free: 11.05 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.317e-05/0.6007, allocations: 4 kB / 0.6065 GB, free: 11.05 MB / 410.7 MB 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.0005268/0.6013, allocations: 333.8 kB / 0.6068 GB, free: 10.68 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 8.048e-05/0.6014, allocations: 15.98 kB / 0.6068 GB, free: 10.66 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.078e-05/0.6014, allocations: 2 kB / 0.6068 GB, free: 10.66 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002069/0.6016, allocations: 159.1 kB / 0.607 GB, free: 10.47 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.032e-05/0.6017, allocations: 3.188 kB / 0.607 GB, free: 10.47 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.848e-05/0.6017, allocations: 4 kB / 0.607 GB, free: 10.46 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001663/0.6019, allocations: 37.64 kB / 0.607 GB, free: 10.42 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.305e-05/0.6019, allocations: 4 kB / 0.607 GB, free: 10.42 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.479e-05/0.6019, allocations: 0 / 0.607 GB, free: 10.42 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.853e-06/0.602, allocations: 0 / 0.607 GB, free: 10.42 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.819e-05/0.602, allocations: 11.44 kB / 0.607 GB, free: 10.41 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002378/0.6022, allocations: 157.7 kB / 0.6072 GB, free: 10.21 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.608e-05/0.6023, allocations: 18.58 kB / 0.6072 GB, free: 10.18 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007083/0.603, allocations: 457.5 kB / 0.6076 GB, free: 9.645 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.959e-05/0.6031, allocations: 30.56 kB / 0.6076 GB, free: 9.605 MB / 410.7 MB Notification: Performance of pre-optimization done (n=2): time 1.162e-06/0.6031, allocations: 11.94 kB / 0.6077 GB, free: 9.594 MB / 410.7 MB Notification: Performance of matching and sorting (n=3): time 0.00147/0.6046, allocations: 440.8 kB / 0.6081 GB, free: 9.105 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.821e-05/0.6046, allocations: 51.41 kB / 0.6081 GB, free: 9.043 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.3e-05/0.6047, allocations: 92.98 kB / 0.6082 GB, free: 8.945 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.837e-05/0.6047, allocations: 25.7 kB / 0.6082 GB, free: 8.914 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.455e-05/0.6048, allocations: 87.67 kB / 0.6083 GB, free: 8.828 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.467e-05/0.6048, allocations: 3.906 kB / 0.6083 GB, free: 8.824 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.657e-06/0.6048, allocations: 0 / 0.6083 GB, free: 8.824 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001535/0.605, allocations: 318.3 kB / 0.6086 GB, free: 8.508 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.208e-05/0.605, allocations: 11.92 kB / 0.6086 GB, free: 8.496 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.884e-05/0.6051, allocations: 17.53 kB / 0.6087 GB, free: 8.477 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.663e-05/0.6051, allocations: 4 kB / 0.6087 GB, free: 8.473 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.6051, allocations: 0 / 0.6087 GB, free: 8.473 MB / 410.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 9.492e-05/0.6052, allocations: 65.34 kB / 0.6087 GB, free: 8.406 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.208e-05/0.6052, allocations: 4 kB / 0.6087 GB, free: 8.402 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.191e-06/0.6052, allocations: 0 / 0.6087 GB, free: 8.402 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.933e-05/0.6053, allocations: 7.953 kB / 0.6087 GB, free: 8.395 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.099e-05/0.6054, allocations: 4 kB / 0.6087 GB, free: 8.391 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.127e-06/0.6054, allocations: 4 kB / 0.6087 GB, free: 8.387 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.32e-05/0.6054, allocations: 7.422 kB / 0.6087 GB, free: 8.383 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.054e-05/0.6054, allocations: 4.766 kB / 0.6088 GB, free: 8.379 MB / 410.7 MB 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 0.0001021/0.6055, allocations: 113.9 kB / 0.6089 GB, free: 8.258 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.014e-05/0.6055, allocations: 3.984 kB / 0.6089 GB, free: 8.254 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001848/0.6057, allocations: 76.36 kB / 0.6089 GB, free: 8.184 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.6057, allocations: 3.953 kB / 0.6089 GB, free: 8.18 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/0.6058, allocations: 4.062 kB / 0.6089 GB, free: 8.176 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.6058, allocations: 0 / 0.6089 GB, free: 8.176 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001408/0.6059, allocations: 157 kB / 0.6091 GB, free: 7.977 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.6059, allocations: 4 kB / 0.6091 GB, free: 7.973 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.319e-05/0.606, allocations: 11.62 kB / 0.6091 GB, free: 7.965 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.606, allocations: 0 / 0.6091 GB, free: 7.965 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.776e-06/0.606, allocations: 0 / 0.6091 GB, free: 7.965 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.1e-06/0.606, allocations: 7.969 kB / 0.6091 GB, free: 7.957 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/0.606, allocations: 3.953 kB / 0.6091 GB, free: 7.953 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001687/0.6062, allocations: 98.91 kB / 0.6092 GB, free: 7.852 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.706e-05/0.6063, allocations: 81.14 kB / 0.6093 GB, free: 7.754 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.494e-05/0.6063, allocations: 4.062 kB / 0.6093 GB, free: 7.75 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.509e-05/0.6063, allocations: 0 / 0.6093 GB, free: 7.75 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.809e-05/0.6064, allocations: 7.984 kB / 0.6093 GB, free: 7.742 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.386e-06/0.6064, allocations: 7.016 kB / 0.6093 GB, free: 7.738 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.947e-05/0.6064, allocations: 79.28 kB / 0.6094 GB, free: 7.66 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.6064, allocations: 0 / 0.6094 GB, free: 7.66 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002345/0.6067, allocations: 43.88 kB / 0.6094 GB, free: 7.617 MB / 410.7 MB 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 (5): * Single equations (assignments): 5 * 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.0003079/0.607, allocations: 158.2 kB / 0.6096 GB, free: 7.457 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001011/0.6071, allocations: 27.55 kB / 0.6096 GB, free: 7.434 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.6071, allocations: 0 / 0.6096 GB, free: 7.434 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 2.538e-05/0.6071, allocations: 19.69 kB / 0.6096 GB, free: 7.418 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001111/0.6073, allocations: 0 / 0.6096 GB, free: 7.418 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003295/0.6076, allocations: 127.9 kB / 0.6097 GB, free: 7.273 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003032/0.6079, allocations: 0.6887 MB / 0.6104 GB, free: 6.559 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.096e-05/0.608, allocations: 8.125 kB / 0.6104 GB, free: 6.551 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.304e-05/0.608, allocations: 11.44 kB / 0.6104 GB, free: 6.539 MB / 410.7 MB Notification: Performance of SimCode: time 2.1e-07/0.608, allocations: 0 / 0.6104 GB, free: 6.539 MB / 410.7 MB Notification: Performance of Templates: time 0.00364/0.6116, allocations: 1.291 MB / 0.6117 GB, free: 5.258 MB / 410.7 MB make -j1 -f Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.makefile (rm -f Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.sim & ./Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe 2>&1)