Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,fileNamePrefix="Buildings_maint_7_0_x_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_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.454/1.454, allocations: 249.5 MB / 257 MB, free: 7.012 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001168/0.001168, allocations: 184.1 kB / 316.3 MB, free: 3.293 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.63/1.63, allocations: 205.3 MB / 0.5671 GB, free: 15.83 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008651/0.0008648, allocations: 84.73 kB / 0.6714 GB, free: 4.953 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.704e-05/2.699e-05, allocations: 8 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1992/0.1992, allocations: 106.3 MB / 0.8853 GB, free: 12.18 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6611/0.8604, allocations: 132.1 MB / 1.014 GB, free: 5.406 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002484/0.8607, allocations: 82.73 kB / 1.014 GB, free: 5.355 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01373/0.8744, allocations: 5.041 MB / 1.019 GB, free: 1.184 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.303e-06/0.8745, allocations: 0 / 1.019 GB, free: 1.184 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.941e-06/0.8745, allocations: 0 / 1.019 GB, free: 1.184 MB / 0.6355 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.0003464/0.8748, allocations: 362.4 kB / 1.02 GB, free: 0.7891 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.023e-05/0.8749, allocations: 11.97 kB / 1.02 GB, free: 0.7773 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.428e-05/0.875, allocations: 4 kB / 1.02 GB, free: 0.7734 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001287/0.8751, allocations: 178.9 kB / 1.02 GB, free: 0.5586 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.268e-05/0.8751, allocations: 0 / 1.02 GB, free: 0.5586 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.448e-05/0.8751, allocations: 15.91 kB / 1.02 GB, free: 0.543 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.731e-05/0.8752, allocations: 15.88 kB / 1.02 GB, free: 0.5312 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.728e-05/0.8753, allocations: 42.64 kB / 1.02 GB, free: 500 kB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.8753, allocations: 0 / 1.02 GB, free: 500 kB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.368e-06/0.8753, allocations: 0 / 1.02 GB, free: 500 kB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.8753, allocations: 4 kB / 1.02 GB, free: 496 kB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001554/0.8755, allocations: 142.1 kB / 1.02 GB, free: 320 kB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 8.484e-05/0.8756, allocations: 57.81 kB / 1.02 GB, free: 264 kB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.589e-05/0.8756, allocations: 28.42 kB / 1.02 GB, free: 240 kB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006164/0.8763, allocations: 457.5 kB / 1.021 GB, free: 15.7 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.689e-05/0.8763, allocations: 38.5 kB / 1.021 GB, free: 15.65 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=7): time 1.172e-06/0.8763, allocations: 0 / 1.021 GB, free: 15.65 MB / 0.6511 GB Notification: Performance of matching and sorting (n=11): time 0.0009016/0.8772, allocations: 0.5195 MB / 1.021 GB, free: 15.07 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.498e-05/0.8773, allocations: 51.41 kB / 1.021 GB, free: 15.01 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.322e-05/0.8773, allocations: 92.81 kB / 1.021 GB, free: 14.91 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 1.373e-05/0.8773, allocations: 29.7 kB / 1.021 GB, free: 14.88 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 2.874e-05/0.8774, allocations: 80.98 kB / 1.021 GB, free: 14.8 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 3.732e-05/0.8774, allocations: 39.05 kB / 1.021 GB, free: 14.76 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.498e-06/0.8774, allocations: 0 / 1.021 GB, free: 14.76 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 9.169e-05/0.8775, allocations: 318.8 kB / 1.022 GB, free: 14.45 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.12e-05/0.8776, allocations: 19.73 kB / 1.022 GB, free: 14.43 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.556e-05/0.8776, allocations: 15.69 kB / 1.022 GB, free: 14.42 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.122e-05/0.8777, allocations: 25.14 kB / 1.022 GB, free: 14.4 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.12e-07/0.8777, allocations: 0 / 1.022 GB, free: 14.4 MB / 0.6511 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001552/0.8778, allocations: 91.67 kB / 1.022 GB, free: 14.32 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.304e-05/0.8779, allocations: 8.094 kB / 1.022 GB, free: 14.31 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.8779, allocations: 3.938 kB / 1.022 GB, free: 14.31 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.477e-06/0.8779, allocations: 0 / 1.022 GB, free: 14.31 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001037/0.878, allocations: 23.92 kB / 1.022 GB, free: 14.29 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.571e-06/0.878, allocations: 4 kB / 1.022 GB, free: 14.28 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.197e-05/0.878, allocations: 0 / 1.022 GB, free: 14.28 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.362e-06/0.878, allocations: 0 / 1.022 GB, free: 14.28 MB / 0.6511 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 6.606e-05/0.8781, allocations: 112.8 kB / 1.022 GB, free: 14.17 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001488/0.8783, allocations: 87.72 kB / 1.022 GB, free: 14.09 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.967e-05/0.8783, allocations: 4 kB / 1.022 GB, free: 14.08 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001915/0.8785, allocations: 95.22 kB / 1.022 GB, free: 13.99 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/0.8785, allocations: 4 kB / 1.022 GB, free: 13.98 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.8785, allocations: 0 / 1.022 GB, free: 13.98 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.8785, allocations: 0 / 1.022 GB, free: 13.98 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003458/0.8789, allocations: 325 kB / 1.022 GB, free: 13.64 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.8789, allocations: 4 kB / 1.022 GB, free: 13.64 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001054/0.879, allocations: 16 kB / 1.023 GB, free: 13.62 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.879, allocations: 4.188 kB / 1.023 GB, free: 13.62 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.546e-06/0.879, allocations: 0 / 1.023 GB, free: 13.62 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.24e-06/0.879, allocations: 7.984 kB / 1.023 GB, free: 13.61 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.726e-06/0.8791, allocations: 0 / 1.023 GB, free: 13.61 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002493/0.8793, allocations: 209.3 kB / 1.023 GB, free: 13.42 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 5.476e-05/0.8794, allocations: 96.97 kB / 1.023 GB, free: 13.3 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.465e-05/0.8794, allocations: 0 / 1.023 GB, free: 13.3 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.707e-05/0.8795, allocations: 4.047 kB / 1.023 GB, free: 13.3 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.863e-05/0.8795, allocations: 11 kB / 1.023 GB, free: 13.29 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.275e-06/0.8795, allocations: 4 kB / 1.023 GB, free: 13.29 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 3.158e-05/0.8796, allocations: 79.27 kB / 1.023 GB, free: 13.21 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8796, allocations: 0 / 1.023 GB, free: 13.21 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002724/0.8798, allocations: 51.94 kB / 1.023 GB, free: 13.16 MB / 0.6511 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.0006624/0.8805, allocations: 0.802 MB / 1.024 GB, free: 12.36 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001298/0.8806, allocations: 55.55 kB / 1.024 GB, free: 12.32 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.8807, allocations: 0 / 1.024 GB, free: 12.32 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 3.977e-05/0.8807, allocations: 31.69 kB / 1.024 GB, free: 12.29 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001398/0.8808, allocations: 3.438 kB / 1.024 GB, free: 12.29 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000461/0.8813, allocations: 189.5 kB / 1.024 GB, free: 12.07 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002542/0.8816, allocations: 0.6924 MB / 1.025 GB, free: 11.36 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 4.985e-05/0.8816, allocations: 11.94 kB / 1.025 GB, free: 11.34 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.519e-05/0.8817, allocations: 22.44 kB / 1.025 GB, free: 11.33 MB / 0.6511 GB Notification: Performance of SimCode: time 2.8e-07/0.8817, allocations: 0 / 1.025 GB, free: 11.33 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01792/0.8996, allocations: 1.866 MB / 1.027 GB, free: 9.496 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001851/0.8998, allocations: 187.6 kB / 1.027 GB, free: 9.301 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.47/2.37, allocations: 0.6875 kB / 1.027 GB, free: 9.301 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-08 Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe 2>&1)