Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.conf.json 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/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/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,fileNamePrefix="Buildings_9_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_9_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006075/0.006081, allocations: 95.48 kB / 15.73 MB, free: 6.484 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001263/0.001263, allocations: 191.1 kB / 16.67 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.627/1.627, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.528/2.528, allocations: 390.2 MB / 0.6648 GB, free: 212 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001462/0.001462, allocations: 72.12 kB / 0.9504 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2632/0.2647, allocations: 140.4 MB / 1.088 GB, free: 1.93 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.001757/0.2665, allocations: 0.6116 MB / 1.088 GB, free: 1.32 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.000728/0.2672, allocations: 355 kB / 1.088 GB, free: 0.9727 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.681e-05/0.2673, allocations: 0 / 1.088 GB, free: 0.9727 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 1.662e-05/0.2673, allocations: 3.938 kB / 1.088 GB, free: 0.9688 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 3.206e-05/0.2673, allocations: 0 / 1.088 GB, free: 0.9688 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005164/0.2679, allocations: 123.6 kB / 1.089 GB, free: 0.8477 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 6.361e-05/0.2679, allocations: 27.89 kB / 1.089 GB, free: 0.8203 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 3.674e-05/0.268, allocations: 4 kB / 1.089 GB, free: 0.8164 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 3.524e-05/0.268, allocations: 4 kB / 1.089 GB, free: 0.8125 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 5.869e-05/0.2681, allocations: 15.92 kB / 1.089 GB, free: 0.7969 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.236e-05/0.2681, allocations: 0 / 1.089 GB, free: 0.7969 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003989/0.2685, allocations: 279.6 kB / 1.089 GB, free: 0.5234 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.545e-05/0.2685, allocations: 3.984 kB / 1.089 GB, free: 0.5195 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 2.601e-05/0.2686, allocations: 11.94 kB / 1.089 GB, free: 0.5078 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001869/0.2688, allocations: 111.9 kB / 1.089 GB, free: 408 kB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.2688, allocations: 0 / 1.089 GB, free: 408 kB / 0.8419 GB Notification: Performance of FrontEnd: time 2.876e-06/0.2688, allocations: 0 / 1.089 GB, free: 408 kB / 0.8419 GB Notification: Performance of Transformations before backend: time 6.502e-06/0.2688, allocations: 7.922 kB / 1.089 GB, free: 400 kB / 0.8419 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.000433/0.2692, allocations: 359.4 kB / 1.089 GB, free: 15.99 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.501e-05/0.2693, allocations: 8.031 kB / 1.089 GB, free: 15.98 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.469e-05/0.2693, allocations: 38.73 kB / 1.089 GB, free: 15.93 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.37e-05/0.2694, allocations: 4.938 kB / 1.089 GB, free: 15.93 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001099/0.2695, allocations: 168.3 kB / 1.09 GB, free: 15.73 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.234e-05/0.2695, allocations: 8.375 kB / 1.09 GB, free: 15.72 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.247e-05/0.2695, allocations: 4.375 kB / 1.09 GB, free: 15.71 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001137/0.2696, allocations: 50 kB / 1.09 GB, free: 15.66 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.305e-05/0.2697, allocations: 7.938 kB / 1.09 GB, free: 15.65 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.145e-05/0.2697, allocations: 4 kB / 1.09 GB, free: 15.65 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.2697, allocations: 0 / 1.09 GB, free: 15.65 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.793e-05/0.2698, allocations: 19.98 kB / 1.09 GB, free: 15.63 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001641/0.2699, allocations: 161.7 kB / 1.09 GB, free: 15.42 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001138/0.27, allocations: 62.5 kB / 1.09 GB, free: 15.35 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.57e-05/0.2701, allocations: 28.84 kB / 1.09 GB, free: 15.32 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006982/0.2708, allocations: 457.5 kB / 1.09 GB, free: 14.78 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.99e-05/0.2708, allocations: 38.48 kB / 1.09 GB, free: 14.73 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 1.312e-06/0.2709, allocations: 0 / 1.09 GB, free: 14.73 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11): time 0.001283/0.2721, allocations: 0.5957 MB / 1.091 GB, free: 14.05 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.768e-05/0.2722, allocations: 59.41 kB / 1.091 GB, free: 13.98 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.726e-05/0.2723, allocations: 89.86 kB / 1.091 GB, free: 13.88 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.163e-05/0.2723, allocations: 33.7 kB / 1.091 GB, free: 13.84 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.937e-05/0.2723, allocations: 84.08 kB / 1.091 GB, free: 13.75 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.658e-05/0.2724, allocations: 39.64 kB / 1.091 GB, free: 13.71 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.242e-05/0.2724, allocations: 29.7 kB / 1.091 GB, free: 13.68 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001014/0.2725, allocations: 318.8 kB / 1.092 GB, free: 13.36 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.264e-05/0.2726, allocations: 19.98 kB / 1.092 GB, free: 13.34 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.926e-05/0.2726, allocations: 28.48 kB / 1.092 GB, free: 13.31 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.37e-05/0.2727, allocations: 51.61 kB / 1.092 GB, free: 13.26 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.2727, allocations: 0 / 1.092 GB, free: 13.26 MB / 0.8575 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001574/0.2729, allocations: 101.6 kB / 1.092 GB, free: 13.16 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.272e-05/0.2729, allocations: 8 kB / 1.092 GB, free: 13.15 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/0.2729, allocations: 0 / 1.092 GB, free: 13.15 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.117e-05/0.2729, allocations: 4.031 kB / 1.092 GB, free: 13.14 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001066/0.2731, allocations: 31.86 kB / 1.092 GB, free: 13.11 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.58e-06/0.2731, allocations: 3.984 kB / 1.092 GB, free: 13.11 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.52e-05/0.2731, allocations: 4 kB / 1.092 GB, free: 13.11 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.805e-06/0.2731, allocations: 8 kB / 1.092 GB, free: 13.1 MB / 0.8575 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.149e-05/0.2732, allocations: 117.8 kB / 1.092 GB, free: 12.97 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.838e-05/0.2732, allocations: 4 kB / 1.092 GB, free: 12.97 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001913/0.2734, allocations: 113.6 kB / 1.092 GB, free: 12.85 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.2734, allocations: 0 / 1.092 GB, free: 12.85 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.2735, allocations: 0 / 1.092 GB, free: 12.85 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.2735, allocations: 0 / 1.092 GB, free: 12.85 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003665/0.2738, allocations: 354.5 kB / 1.092 GB, free: 12.45 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.2738, allocations: 4 kB / 1.092 GB, free: 12.44 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001126/0.274, allocations: 23.92 kB / 1.092 GB, free: 12.42 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.274, allocations: 0 / 1.092 GB, free: 12.42 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.238e-05/0.274, allocations: 8 kB / 1.092 GB, free: 12.41 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.274, allocations: 0 / 1.092 GB, free: 12.41 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.274, allocations: 0 / 1.092 GB, free: 12.41 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002614/0.2743, allocations: 223.3 kB / 1.093 GB, free: 12.18 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 7.003e-05/0.2743, allocations: 85.12 kB / 1.093 GB, free: 12.07 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.647e-05/0.2744, allocations: 4.062 kB / 1.093 GB, free: 12.07 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.591e-05/0.2745, allocations: 4 kB / 1.093 GB, free: 12.07 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.936e-05/0.2745, allocations: 7.984 kB / 1.093 GB, free: 12.06 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.368e-06/0.2745, allocations: 7.938 kB / 1.093 GB, free: 12.05 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.44e-05/0.2746, allocations: 83.28 kB / 1.093 GB, free: 11.97 MB / 0.8575 GB Notification: Performance of sort global known variables: time 4.01e-07/0.2746, allocations: 0 / 1.093 GB, free: 11.97 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003041/0.2749, allocations: 47.8 kB / 1.093 GB, free: 11.92 MB / 0.8575 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008282/0.2757, allocations: 0.7871 MB / 1.094 GB, free: 11.11 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001686/0.2759, allocations: 67.03 kB / 1.094 GB, free: 11.05 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 6.933e-06/0.2759, allocations: 4 kB / 1.094 GB, free: 11.04 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 5.308e-05/0.276, allocations: 31.92 kB / 1.094 GB, free: 11.01 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002448/0.2762, allocations: 11.94 kB / 1.094 GB, free: 11 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001416/0.2776, allocations: 1.401 MB / 1.095 GB, free: 9.523 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005158/0.2782, allocations: 0.6924 MB / 1.096 GB, free: 8.805 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 5.252e-05/0.2782, allocations: 4 kB / 1.096 GB, free: 8.801 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.701e-05/0.2783, allocations: 23.44 kB / 1.096 GB, free: 8.777 MB / 0.8575 GB Notification: Performance of SimCode: time 3.2e-07/0.2783, allocations: 0 / 1.096 GB, free: 8.777 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02163/0.2999, allocations: 2.475 MB / 1.098 GB, free: 6.449 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.705/8.005, allocations: 20.3 kB / 1.098 GB, free: 6.434 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check_res.csv --start-time -1 --stop-time 1 --timeout 50 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.0008 Buildings_9_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check.fmu > Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe 2>&1)