Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_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_latest_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.004145/0.004145, allocations: 102 kB / 15.73 MB, free: 6.441 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.001224/0.001224, allocations: 197.7 kB / 16.67 MB, free: 6.352 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.409/1.409, allocations: 222.9 MB / 240.4 MB, free: 4.285 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.866/2.866, allocations: 482.4 MB / 0.7548 GB, free: 10.83 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00195/0.00195, allocations: 71.89 kB / 1.083 GB, free: 12.45 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2809/0.2829, allocations: 162.2 MB / 1.242 GB, free: 10.11 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.001636/0.2845, allocations: 0.6322 MB / 1.242 GB, free: 9.488 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0006856/0.2852, allocations: 350.7 kB / 1.242 GB, free: 9.145 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.27e-05/0.2853, allocations: 0 / 1.242 GB, free: 9.145 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 1.357e-05/0.2853, allocations: 0 / 1.242 GB, free: 9.145 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 2.473e-05/0.2853, allocations: 3.938 kB / 1.242 GB, free: 9.141 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004428/0.2858, allocations: 115.7 kB / 1.243 GB, free: 9.027 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 5.798e-05/0.2858, allocations: 23.92 kB / 1.243 GB, free: 9.004 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.146e-05/0.2859, allocations: 4 kB / 1.243 GB, free: 9 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.205e-05/0.2859, allocations: 15.94 kB / 1.243 GB, free: 8.984 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.136e-05/0.286, allocations: 15.92 kB / 1.243 GB, free: 8.969 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.092e-05/0.286, allocations: 0 / 1.243 GB, free: 8.969 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004184/0.2864, allocations: 279.6 kB / 1.243 GB, free: 8.695 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.319e-05/0.2864, allocations: 4 kB / 1.243 GB, free: 8.691 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.351e-05/0.2865, allocations: 11.94 kB / 1.243 GB, free: 8.68 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001849/0.2867, allocations: 107.6 kB / 1.243 GB, free: 8.574 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 2.805e-06/0.2867, allocations: 0 / 1.243 GB, free: 8.574 MB / 0.9981 GB Notification: Performance of FrontEnd: time 9.91e-07/0.2867, allocations: 0 / 1.243 GB, free: 8.574 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 3.727e-06/0.2867, allocations: 0 / 1.243 GB, free: 8.574 MB / 0.9981 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.0004455/0.2871, allocations: 363.2 kB / 1.243 GB, free: 8.168 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.628e-05/0.2872, allocations: 12.03 kB / 1.243 GB, free: 8.156 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.168e-05/0.2872, allocations: 34.73 kB / 1.243 GB, free: 8.113 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.942e-05/0.2873, allocations: 8.891 kB / 1.243 GB, free: 8.105 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001257/0.2874, allocations: 164.3 kB / 1.244 GB, free: 7.906 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.29e-05/0.2874, allocations: 8.375 kB / 1.244 GB, free: 7.898 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.704e-05/0.2875, allocations: 384 / 1.244 GB, free: 7.898 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001122/0.2876, allocations: 58.17 kB / 1.244 GB, free: 7.836 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.896e-05/0.2876, allocations: 3.938 kB / 1.244 GB, free: 7.832 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.015e-05/0.2876, allocations: 3.984 kB / 1.244 GB, free: 7.828 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.744e-06/0.2876, allocations: 8 kB / 1.244 GB, free: 7.82 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5e-05/0.2877, allocations: 15.98 kB / 1.244 GB, free: 7.805 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001858/0.2879, allocations: 165.7 kB / 1.244 GB, free: 7.594 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001066/0.288, allocations: 62.44 kB / 1.244 GB, free: 7.523 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.319e-05/0.288, allocations: 24.84 kB / 1.244 GB, free: 7.496 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007395/0.2888, allocations: 469.7 kB / 1.244 GB, free: 6.945 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.959e-05/0.2888, allocations: 30.56 kB / 1.244 GB, free: 6.906 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=7): time 1.163e-06/0.2888, allocations: 0 / 1.244 GB, free: 6.906 MB / 0.9981 GB Notification: Performance of matching and sorting (n=11): time 0.001299/0.2901, allocations: 0.5994 MB / 1.245 GB, free: 6.215 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.863e-05/0.2902, allocations: 51.41 kB / 1.245 GB, free: 6.152 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.451e-05/0.2903, allocations: 93.86 kB / 1.245 GB, free: 6.051 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.418e-05/0.2903, allocations: 33.7 kB / 1.245 GB, free: 6.012 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 4.484e-05/0.2903, allocations: 84.12 kB / 1.245 GB, free: 5.926 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 4.136e-05/0.2904, allocations: 43.64 kB / 1.245 GB, free: 5.883 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.813e-05/0.2904, allocations: 29.8 kB / 1.245 GB, free: 5.848 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001352/0.2906, allocations: 318.8 kB / 1.246 GB, free: 5.527 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.453e-05/0.2906, allocations: 23.98 kB / 1.246 GB, free: 5.504 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.79e-05/0.2907, allocations: 23.98 kB / 1.246 GB, free: 5.48 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001033/0.2908, allocations: 56.8 kB / 1.246 GB, free: 5.422 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.61e-07/0.2908, allocations: 0 / 1.246 GB, free: 5.422 MB / 0.9981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001653/0.291, allocations: 96.62 kB / 1.246 GB, free: 5.324 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.356e-05/0.291, allocations: 12 kB / 1.246 GB, free: 5.312 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/0.291, allocations: 0 / 1.246 GB, free: 5.312 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.217e-05/0.291, allocations: 3.984 kB / 1.246 GB, free: 5.309 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001047/0.2911, allocations: 16 kB / 1.246 GB, free: 5.293 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.146e-06/0.2911, allocations: 7.938 kB / 1.246 GB, free: 5.285 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.216e-05/0.2912, allocations: 3.938 kB / 1.246 GB, free: 5.281 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.243e-05/0.2912, allocations: 11.98 kB / 1.246 GB, free: 5.27 MB / 0.9981 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 9.22e-05/0.2913, allocations: 113.8 kB / 1.246 GB, free: 5.148 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.143e-05/0.2913, allocations: 11.89 kB / 1.246 GB, free: 5.137 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001932/0.2915, allocations: 97.64 kB / 1.246 GB, free: 5.027 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.2915, allocations: 4 kB / 1.246 GB, free: 5.023 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.795e-06/0.2915, allocations: 0 / 1.246 GB, free: 5.023 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.2915, allocations: 0 / 1.246 GB, free: 5.023 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004174/0.292, allocations: 358.4 kB / 1.246 GB, free: 4.617 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/0.292, allocations: 3.984 kB / 1.246 GB, free: 4.613 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001076/0.2921, allocations: 16 kB / 1.246 GB, free: 4.598 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.2921, allocations: 0 / 1.246 GB, free: 4.598 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.05e-05/0.2921, allocations: 4 kB / 1.246 GB, free: 4.594 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.2921, allocations: 0 / 1.246 GB, free: 4.594 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.2921, allocations: 8.125 kB / 1.246 GB, free: 4.586 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002791/0.2924, allocations: 223.4 kB / 1.247 GB, free: 4.352 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.241e-05/0.2925, allocations: 93.03 kB / 1.247 GB, free: 4.242 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.642e-05/0.2925, allocations: 4 kB / 1.247 GB, free: 4.238 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.417e-05/0.2926, allocations: 4 kB / 1.247 GB, free: 4.234 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.075e-05/0.2926, allocations: 11.98 kB / 1.247 GB, free: 4.223 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.726e-06/0.2926, allocations: 4 kB / 1.247 GB, free: 4.219 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 3.868e-05/0.2927, allocations: 83.28 kB / 1.247 GB, free: 4.137 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.01e-07/0.2927, allocations: 0 / 1.247 GB, free: 4.137 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002766/0.293, allocations: 47.92 kB / 1.247 GB, free: 4.09 MB / 0.9981 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.0007182/0.2937, allocations: 0.8063 MB / 1.248 GB, free: 3.258 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.000142/0.2939, allocations: 59.91 kB / 1.248 GB, free: 3.199 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.2939, allocations: 4.062 kB / 1.248 GB, free: 3.195 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 5.34e-05/0.2939, allocations: 35.98 kB / 1.248 GB, free: 3.16 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002173/0.2942, allocations: 11.31 kB / 1.248 GB, free: 3.152 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001354/0.2955, allocations: 1.378 MB / 1.249 GB, free: 1.695 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003183/0.2958, allocations: 0.6885 MB / 1.25 GB, free: 0.9805 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 4.787e-05/0.2959, allocations: 11.94 kB / 1.25 GB, free: 0.9688 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.4e-05/0.2959, allocations: 19.44 kB / 1.25 GB, free: 0.9531 MB / 0.9981 GB Notification: Performance of SimCode: time 2.4e-07/0.296, allocations: 0 / 1.25 GB, free: 0.9531 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4893/0.7853, allocations: 2.486 MB / 1.252 GB, free: 14.02 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.571/8.357, allocations: 4.5 kB / 1.252 GB, free: 14.02 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check_res.csv --start-time -1 --stop-time 1 --timeout 400 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.0008 Buildings_latest_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check.fmu > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe 2>&1)