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: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.717/1.717, allocations: 289.9 MB / 297.4 MB, free: 6.348 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.001323/0.001322, allocations: 180.8 kB / 366.7 MB, free: 1.645 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.903/1.903, allocations: 205.2 MB / 0.626 GB, free: 7.184 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.0008751/0.0008752, allocations: 97.12 kB / 0.74 GB, free: 39.55 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.379e-05/2.365e-05, allocations: 8 kB / 0.8598 GB, free: 12.97 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.738/0.7381, allocations: 116.3 MB / 0.9734 GB, free: 76.03 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2092/0.9473, allocations: 138.4 MB / 1.109 GB, free: 11.71 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003038/0.9477, allocations: 77.95 kB / 1.109 GB, free: 11.64 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.01553/0.9632, allocations: 5.056 MB / 1.114 GB, free: 6.621 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.323e-06/0.9633, allocations: 0.5625 kB / 1.114 GB, free: 6.621 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.424e-06/0.9633, allocations: 0 / 1.114 GB, free: 6.621 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.0004116/0.9637, allocations: 367.8 kB / 1.114 GB, free: 6.219 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.557e-05/0.9638, allocations: 10.94 kB / 1.114 GB, free: 6.211 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.242e-05/0.9639, allocations: 7.906 kB / 1.114 GB, free: 6.203 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001294/0.964, allocations: 170.9 kB / 1.114 GB, free: 5.996 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.442e-05/0.964, allocations: 4 kB / 1.114 GB, free: 5.992 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.225e-05/0.964, allocations: 1.969 kB / 1.114 GB, free: 5.992 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.881e-05/0.9641, allocations: 21.86 kB / 1.114 GB, free: 5.973 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.496e-05/0.9642, allocations: 41.69 kB / 1.114 GB, free: 5.926 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.336e-05/0.9642, allocations: 6.781 kB / 1.114 GB, free: 5.922 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.148e-05/0.9643, allocations: 0 / 1.114 GB, free: 5.922 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.9643, allocations: 0 / 1.114 GB, free: 5.922 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001729/0.9644, allocations: 138.2 kB / 1.114 GB, free: 5.75 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 9.34e-05/0.9645, allocations: 54.47 kB / 1.114 GB, free: 5.688 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.411e-05/0.9646, allocations: 30 kB / 1.114 GB, free: 5.656 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006798/0.9653, allocations: 462.4 kB / 1.115 GB, free: 5.117 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.922e-05/0.9653, allocations: 34.56 kB / 1.115 GB, free: 5.074 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 1.093e-06/0.9653, allocations: 0 / 1.115 GB, free: 5.074 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11): time 0.001043/0.9664, allocations: 0.5251 MB / 1.115 GB, free: 4.465 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.571e-05/0.9664, allocations: 55.41 kB / 1.115 GB, free: 4.398 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.813e-05/0.9665, allocations: 96.97 kB / 1.115 GB, free: 4.297 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.777e-05/0.9665, allocations: 25.7 kB / 1.115 GB, free: 4.266 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.332e-05/0.9666, allocations: 84.14 kB / 1.116 GB, free: 4.18 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.069e-05/0.9666, allocations: 37.8 kB / 1.116 GB, free: 4.145 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.609e-06/0.9666, allocations: 3.156 kB / 1.116 GB, free: 4.145 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001235/0.9668, allocations: 314.8 kB / 1.116 GB, free: 3.828 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.315e-05/0.9668, allocations: 16 kB / 1.116 GB, free: 3.812 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.239e-05/0.9668, allocations: 20 kB / 1.116 GB, free: 3.793 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.406e-05/0.9669, allocations: 19.98 kB / 1.116 GB, free: 3.773 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.31e-07/0.9669, allocations: 0 / 1.116 GB, free: 3.773 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001704/0.9671, allocations: 89.64 kB / 1.116 GB, free: 3.68 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/0.9671, allocations: 4.531 kB / 1.116 GB, free: 3.676 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/0.9671, allocations: 0 / 1.116 GB, free: 3.676 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.125e-05/0.9672, allocations: 4 kB / 1.116 GB, free: 3.672 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001093/0.9673, allocations: 27.92 kB / 1.116 GB, free: 3.645 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.538e-06/0.9673, allocations: 0 / 1.116 GB, free: 3.645 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.217e-05/0.9673, allocations: 0 / 1.116 GB, free: 3.645 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.431e-05/0.9673, allocations: 9.375 kB / 1.116 GB, free: 3.637 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.349e-05/0.9674, allocations: 101.9 kB / 1.116 GB, free: 3.531 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001679/0.9676, allocations: 93.41 kB / 1.116 GB, free: 3.434 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.259e-05/0.9676, allocations: 7.906 kB / 1.116 GB, free: 3.426 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002064/0.9678, allocations: 98.86 kB / 1.116 GB, free: 3.32 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.744e-06/0.9678, allocations: 0 / 1.116 GB, free: 3.32 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.9679, allocations: 0 / 1.116 GB, free: 3.32 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.9679, allocations: 3.984 kB / 1.116 GB, free: 3.316 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000404/0.9683, allocations: 319 kB / 1.117 GB, free: 2.961 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.9683, allocations: 0 / 1.117 GB, free: 2.961 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000115/0.9684, allocations: 27.17 kB / 1.117 GB, free: 2.938 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.978e-06/0.9684, allocations: 4 kB / 1.117 GB, free: 2.934 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.888e-06/0.9684, allocations: 2.438 kB / 1.117 GB, free: 2.934 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.9684, allocations: 4 kB / 1.117 GB, free: 2.93 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.9685, allocations: 0 / 1.117 GB, free: 2.93 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002903/0.9687, allocations: 210.6 kB / 1.117 GB, free: 2.711 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.042e-05/0.9688, allocations: 89.12 kB / 1.117 GB, free: 2.605 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.874e-05/0.9688, allocations: 0 / 1.117 GB, free: 2.605 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.796e-05/0.9689, allocations: 7.938 kB / 1.117 GB, free: 2.598 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.78e-05/0.969, allocations: 3.984 kB / 1.117 GB, free: 2.594 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.596e-06/0.969, allocations: 4 kB / 1.117 GB, free: 2.59 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 4.031e-05/0.969, allocations: 87.34 kB / 1.117 GB, free: 2.504 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.51e-07/0.969, allocations: 0 / 1.117 GB, free: 2.504 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002991/0.9693, allocations: 47.92 kB / 1.117 GB, free: 2.457 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.000681/0.97, allocations: 0.7942 MB / 1.118 GB, free: 1.637 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001253/0.9701, allocations: 48 kB / 1.118 GB, free: 1.59 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.9702, allocations: 4.062 kB / 1.118 GB, free: 1.586 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 4.438e-05/0.9702, allocations: 39.92 kB / 1.118 GB, free: 1.547 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000139/0.9704, allocations: 3.938 kB / 1.118 GB, free: 1.543 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004773/0.9708, allocations: 181.6 kB / 1.118 GB, free: 1.324 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002781/0.9711, allocations: 0.6885 MB / 1.119 GB, free: 0.6094 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 5.768e-05/0.9712, allocations: 20.28 kB / 1.119 GB, free: 0.5938 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.299e-05/0.9712, allocations: 15.44 kB / 1.119 GB, free: 0.5781 MB / 0.7136 GB Notification: Performance of SimCode: time 2.5e-07/0.9712, allocations: 0 / 1.119 GB, free: 0.5781 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02173/0.993, allocations: 1.871 MB / 1.121 GB, free: 14.75 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002251/0.9933, allocations: 170.9 kB / 1.121 GB, free: 14.56 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.626/2.619, allocations: 1.938 kB / 1.121 GB, free: 14.56 MB / 0.7292 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-08 Buildings_8_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check.fmu > Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe 2>&1)