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/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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001092/0.001092, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001171/0.001171, allocations: 199.2 kB / 16.54 MB, free: 6.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.523/1.523, allocations: 205.1 MB / 222.4 MB, free: 4.625 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.812/1.812, allocations: 292.3 MB / 0.5489 GB, free: 12.79 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00147/0.00147, allocations: 76.91 kB / 0.6716 GB, free: 26.21 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2734/0.2749, allocations: 114.6 MB / 0.7835 GB, free: 13.34 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.002101/0.277, allocations: 0.6251 MB / 0.7841 GB, free: 12.71 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0007391/0.2778, allocations: 342.7 kB / 0.7844 GB, free: 12.37 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.139e-05/0.2778, allocations: 8 kB / 0.7844 GB, free: 12.36 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.411e-05/0.2779, allocations: 0 / 0.7844 GB, free: 12.36 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 3.223e-05/0.2779, allocations: 3.938 kB / 0.7844 GB, free: 12.36 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004928/0.2784, allocations: 111.7 kB / 0.7845 GB, free: 12.25 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 5.549e-05/0.2785, allocations: 27.86 kB / 0.7846 GB, free: 12.22 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.951e-05/0.2785, allocations: 4 kB / 0.7846 GB, free: 12.22 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.673e-05/0.2786, allocations: 11.98 kB / 0.7846 GB, free: 12.21 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.572e-05/0.2786, allocations: 23.91 kB / 0.7846 GB, free: 12.18 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.772e-05/0.2787, allocations: 0 / 0.7846 GB, free: 12.18 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003555/0.279, allocations: 267.7 kB / 0.7849 GB, free: 11.92 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.015e-05/0.279, allocations: 11.94 kB / 0.7849 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.981e-05/0.2791, allocations: 15.92 kB / 0.7849 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000209/0.2793, allocations: 99.77 kB / 0.785 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.2793, allocations: 0 / 0.785 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.384e-06/0.2793, allocations: 0 / 0.785 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.013e-06/0.2793, allocations: 4 kB / 0.785 GB, free: 11.79 MB / 0.6075 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.0005048/0.2799, allocations: 359.7 kB / 0.7853 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.532e-05/0.2799, allocations: 16.03 kB / 0.7853 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.501e-05/0.28, allocations: 30.75 kB / 0.7854 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.939e-05/0.28, allocations: 4.938 kB / 0.7854 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001406/0.2802, allocations: 160.4 kB / 0.7855 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.377e-06/0.2802, allocations: 384 / 0.7855 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.698e-05/0.2802, allocations: 16.27 kB / 0.7856 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001607/0.2804, allocations: 50.19 kB / 0.7856 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.717e-05/0.2804, allocations: 3.938 kB / 0.7856 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.621e-05/0.2804, allocations: 4 kB / 0.7856 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.2804, allocations: 0 / 0.7856 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.314e-05/0.2805, allocations: 19.98 kB / 0.7856 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001768/0.2807, allocations: 165.7 kB / 0.7858 GB, free: 10.83 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001136/0.2808, allocations: 62.48 kB / 0.7858 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.265e-05/0.2809, allocations: 28.86 kB / 0.7859 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007308/0.2816, allocations: 465.5 kB / 0.7863 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.406e-05/0.2816, allocations: 30.56 kB / 0.7863 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.042e-06/0.2817, allocations: 0 / 0.7863 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11): time 0.001297/0.283, allocations: 0.5956 MB / 0.7869 GB, free: 9.453 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.661e-05/0.283, allocations: 51.41 kB / 0.787 GB, free: 9.391 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.622e-05/0.2831, allocations: 105.8 kB / 0.7871 GB, free: 9.277 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.154e-05/0.2831, allocations: 25.7 kB / 0.7871 GB, free: 9.246 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.469e-05/0.2831, allocations: 84.14 kB / 0.7872 GB, free: 9.16 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.573e-05/0.2832, allocations: 43.36 kB / 0.7872 GB, free: 9.117 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.691e-05/0.2833, allocations: 29.72 kB / 0.7872 GB, free: 9.082 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001041/0.2834, allocations: 314.8 kB / 0.7875 GB, free: 8.766 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.001e-05/0.2834, allocations: 20 kB / 0.7876 GB, free: 8.746 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.898e-05/0.2835, allocations: 20.86 kB / 0.7876 GB, free: 8.727 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.806e-05/0.2836, allocations: 67.86 kB / 0.7877 GB, free: 8.66 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.21e-07/0.2836, allocations: 4.094 kB / 0.7877 GB, free: 8.656 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001559/0.2837, allocations: 97.55 kB / 0.7877 GB, free: 8.555 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/0.2837, allocations: 4 kB / 0.7878 GB, free: 8.551 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.744e-06/0.2838, allocations: 4 kB / 0.7878 GB, free: 8.547 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.964e-05/0.2838, allocations: 4 kB / 0.7878 GB, free: 8.543 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001131/0.2839, allocations: 23.98 kB / 0.7878 GB, free: 8.52 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.793e-06/0.2839, allocations: 0 / 0.7878 GB, free: 8.52 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.693e-05/0.284, allocations: 4 kB / 0.7878 GB, free: 8.516 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.677e-06/0.284, allocations: 7.938 kB / 0.7878 GB, free: 8.508 MB / 0.6075 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.126e-05/0.2841, allocations: 118.5 kB / 0.7879 GB, free: 8.383 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.032e-05/0.2841, allocations: 11.84 kB / 0.7879 GB, free: 8.371 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002534/0.2844, allocations: 105.6 kB / 0.788 GB, free: 8.258 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.2844, allocations: 0 / 0.788 GB, free: 8.258 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.574e-06/0.2844, allocations: 4 kB / 0.788 GB, free: 8.254 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.618e-06/0.2844, allocations: 0 / 0.788 GB, free: 8.254 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004329/0.2848, allocations: 354.4 kB / 0.7884 GB, free: 7.852 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-06/0.2848, allocations: 0 / 0.7884 GB, free: 7.852 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001129/0.285, allocations: 27.98 kB / 0.7884 GB, free: 7.824 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.285, allocations: 0 / 0.7884 GB, free: 7.824 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.016e-05/0.285, allocations: 0 / 0.7884 GB, free: 7.824 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.285, allocations: 0 / 0.7884 GB, free: 7.824 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/0.285, allocations: 11.94 kB / 0.7884 GB, free: 7.812 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002713/0.2853, allocations: 215.3 kB / 0.7886 GB, free: 7.586 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.542e-05/0.2853, allocations: 85.12 kB / 0.7887 GB, free: 7.484 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.121e-05/0.2854, allocations: 4 kB / 0.7887 GB, free: 7.48 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.928e-05/0.2855, allocations: 4 kB / 0.7887 GB, free: 7.477 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.336e-05/0.2855, allocations: 7.984 kB / 0.7887 GB, free: 7.469 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.177e-06/0.2855, allocations: 4 kB / 0.7887 GB, free: 7.465 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.68e-05/0.2856, allocations: 83.34 kB / 0.7888 GB, free: 7.383 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2856, allocations: 0 / 0.7888 GB, free: 7.383 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003335/0.2859, allocations: 47.98 kB / 0.7888 GB, free: 7.336 MB / 0.6075 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.0008809/0.2868, allocations: 0.7981 MB / 0.7896 GB, free: 6.512 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001992/0.287, allocations: 60.47 kB / 0.7897 GB, free: 6.453 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.858e-06/0.2871, allocations: 4.062 kB / 0.7897 GB, free: 6.449 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 5.574e-05/0.2871, allocations: 39.92 kB / 0.7897 GB, free: 6.41 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002914/0.2874, allocations: 6.656 kB / 0.7897 GB, free: 6.406 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001644/0.2891, allocations: 1.398 MB / 0.7911 GB, free: 4.934 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003496/0.2894, allocations: 0.6885 MB / 0.7918 GB, free: 4.219 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 6.85e-05/0.2895, allocations: 8 kB / 0.7918 GB, free: 4.211 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.174e-05/0.2896, allocations: 23.44 kB / 0.7918 GB, free: 4.188 MB / 0.6075 GB Notification: Performance of SimCode: time 3.21e-07/0.2896, allocations: 0 / 0.7918 GB, free: 4.188 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02356/0.3132, allocations: 2.45 MB / 0.7942 GB, free: 1.867 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.081/7.394, allocations: 4.859 kB / 0.7942 GB, free: 1.863 MB / 0.6075 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 & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check_res.csv --start-time -1 --stop-time 1 --timeout 50 --relative-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)