Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.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.RegNonZeroPowerDerivativeCheck,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck",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.001246/0.001246, allocations: 109.4 kB / 15.69 MB, free: 128 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.00109/0.00109, allocations: 190 kB / 16.62 MB, free: 6.613 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.374/1.374, allocations: 205.1 MB / 222.5 MB, free: 4.586 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.635/1.635, allocations: 292.3 MB / 0.549 GB, free: 12.73 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.001358/0.001358, allocations: 74.89 kB / 0.6718 GB, free: 26.38 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1945/0.1959, allocations: 114.6 MB / 0.7836 GB, free: 13.24 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.001656/0.1976, allocations: 0.6015 MB / 0.7842 GB, free: 12.63 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0005789/0.1982, allocations: 342.7 kB / 0.7846 GB, free: 12.3 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.768e-05/0.1982, allocations: 0 / 0.7846 GB, free: 12.3 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.04e-05/0.1982, allocations: 0 / 0.7846 GB, free: 12.3 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 2.076e-05/0.1983, allocations: 0 / 0.7846 GB, free: 12.3 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004115/0.1987, allocations: 123.6 kB / 0.7847 GB, free: 12.18 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 3.917e-05/0.1987, allocations: 4 kB / 0.7847 GB, free: 12.17 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.666e-05/0.1988, allocations: 7.984 kB / 0.7847 GB, free: 12.16 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 1.747e-05/0.1988, allocations: 7.938 kB / 0.7847 GB, free: 12.16 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.423e-05/0.1989, allocations: 3.984 kB / 0.7847 GB, free: 12.15 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 9.719e-06/0.1989, allocations: 0 / 0.7847 GB, free: 12.15 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003398/0.1992, allocations: 275.6 kB / 0.785 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.052e-05/0.1992, allocations: 0 / 0.785 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 1.996e-05/0.1993, allocations: 7.938 kB / 0.785 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001673/0.1994, allocations: 91.84 kB / 0.7851 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.586e-06/0.1994, allocations: 4 kB / 0.7851 GB, free: 11.78 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.603e-06/0.1995, allocations: 0 / 0.7851 GB, free: 11.78 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.038e-06/0.1995, allocations: 0 / 0.7851 GB, free: 11.78 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003072/0.1998, allocations: 343.8 kB / 0.7854 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.353e-05/0.1998, allocations: 12.03 kB / 0.7854 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.831e-05/0.1998, allocations: 34.75 kB / 0.7854 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.406e-05/0.1999, allocations: 4.844 kB / 0.7854 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.75e-05/0.2, allocations: 164.3 kB / 0.7856 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.815e-06/0.2, allocations: 4.375 kB / 0.7856 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.011e-05/0.2, allocations: 4.312 kB / 0.7856 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.69e-05/0.2001, allocations: 38.25 kB / 0.7856 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.255e-05/0.2001, allocations: 3.938 kB / 0.7856 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.244e-06/0.2001, allocations: 3.938 kB / 0.7856 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.088e-06/0.2002, allocations: 0 / 0.7856 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.829e-05/0.2002, allocations: 4 kB / 0.7856 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001325/0.2003, allocations: 153.7 kB / 0.7858 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 4.689e-05/0.2004, allocations: 22.61 kB / 0.7858 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.515e-05/0.2004, allocations: 12.86 kB / 0.7858 GB, free: 10.83 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006173/0.201, allocations: 457.5 kB / 0.7863 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.078e-05/0.2011, allocations: 34.56 kB / 0.7863 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.2011, allocations: 4 kB / 0.7863 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.0004338/0.2015, allocations: 254.2 kB / 0.7865 GB, free: 9.941 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.756e-05/0.2015, allocations: 51.41 kB / 0.7866 GB, free: 9.879 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.266e-05/0.2016, allocations: 97.84 kB / 0.7867 GB, free: 9.773 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.239e-05/0.2016, allocations: 33.98 kB / 0.7867 GB, free: 9.734 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 2.897e-05/0.2016, allocations: 84.14 kB / 0.7868 GB, free: 9.648 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.718e-05/0.2017, allocations: 3.906 kB / 0.7868 GB, free: 9.645 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.938e-05/0.2017, allocations: 17.72 kB / 0.7868 GB, free: 9.621 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.239e-05/0.2018, allocations: 314.8 kB / 0.7871 GB, free: 9.305 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.618e-05/0.2018, allocations: 3.984 kB / 0.7871 GB, free: 9.301 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.673e-05/0.2018, allocations: 21.72 kB / 0.7871 GB, free: 9.273 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.22e-05/0.2019, allocations: 29.66 kB / 0.7872 GB, free: 9.238 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.2019, allocations: 0 / 0.7872 GB, free: 9.238 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.217e-05/0.202, allocations: 49.69 kB / 0.7872 GB, free: 9.184 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.336e-05/0.202, allocations: 7.938 kB / 0.7872 GB, free: 9.176 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.202, allocations: 11.94 kB / 0.7872 GB, free: 9.164 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.23e-05/0.202, allocations: 144 / 0.7872 GB, free: 9.164 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.099e-05/0.2021, allocations: 4 kB / 0.7872 GB, free: 9.16 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/0.2021, allocations: 7.984 kB / 0.7872 GB, free: 9.152 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.018e-05/0.2021, allocations: 8.047 kB / 0.7873 GB, free: 9.145 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.913e-06/0.2021, allocations: 4 kB / 0.7873 GB, free: 9.141 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (4): * Single equations (assignments): 4 * 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 5.769e-05/0.2022, allocations: 110.5 kB / 0.7874 GB, free: 9.023 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.409e-05/0.2022, allocations: 7.844 kB / 0.7874 GB, free: 9.016 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001146/0.2024, allocations: 49.19 kB / 0.7874 GB, free: 8.953 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.472e-06/0.2024, allocations: 3.938 kB / 0.7874 GB, free: 8.949 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.98e-06/0.2024, allocations: 0 / 0.7874 GB, free: 8.949 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-06/0.2024, allocations: 3.938 kB / 0.7874 GB, free: 8.945 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.523e-05/0.2025, allocations: 157.7 kB / 0.7876 GB, free: 8.742 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.2025, allocations: 0 / 0.7876 GB, free: 8.742 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.878e-05/0.2025, allocations: 11.98 kB / 0.7876 GB, free: 8.73 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.897e-06/0.2026, allocations: 3.938 kB / 0.7876 GB, free: 8.727 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.181e-06/0.2026, allocations: 0 / 0.7876 GB, free: 8.727 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.2026, allocations: 0 / 0.7876 GB, free: 8.727 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.2026, allocations: 0 / 0.7876 GB, free: 8.727 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001263/0.2027, allocations: 77.16 kB / 0.7877 GB, free: 8.633 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 2.762e-05/0.2027, allocations: 85.11 kB / 0.7877 GB, free: 8.531 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.091e-05/0.2028, allocations: 3.984 kB / 0.7878 GB, free: 8.527 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.705e-05/0.2028, allocations: 4 kB / 0.7878 GB, free: 8.523 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.417e-05/0.2028, allocations: 4 kB / 0.7878 GB, free: 8.52 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.671e-06/0.2028, allocations: 0 / 0.7878 GB, free: 8.52 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 2.942e-05/0.2029, allocations: 79.22 kB / 0.7878 GB, free: 8.441 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2029, allocations: 3.938 kB / 0.7878 GB, free: 8.438 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001998/0.2031, allocations: 20 kB / 0.7879 GB, free: 8.418 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y) * 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 (3): * Single equations (assignments): 3 * 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.0004313/0.2035, allocations: 0.6516 MB / 0.7885 GB, free: 7.734 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 7.439e-05/0.2036, allocations: 11.94 kB / 0.7885 GB, free: 7.723 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.2036, allocations: 0 / 0.7885 GB, free: 7.723 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.558e-05/0.2036, allocations: 11.98 kB / 0.7885 GB, free: 7.711 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001364/0.2038, allocations: 6.438 kB / 0.7885 GB, free: 7.707 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008076/0.2046, allocations: 1.147 MB / 0.7896 GB, free: 6.473 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001928/0.2048, allocations: 0.6768 MB / 0.7903 GB, free: 5.77 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.653e-05/0.2048, allocations: 0 / 0.7903 GB, free: 5.77 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.424e-05/0.2049, allocations: 11.44 kB / 0.7903 GB, free: 5.758 MB / 0.6075 GB Notification: Performance of SimCode: time 2.5e-07/0.2049, allocations: 0 / 0.7903 GB, free: 5.758 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01631/0.2212, allocations: 1.732 MB / 0.792 GB, free: 4.168 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.456/7.677, allocations: 20.8 kB / 0.792 GB, free: 4.148 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck_res.csv --start-time -1 --stop-time 1 --timeout 50 --relative-tolerance 1e-08 Buildings_8_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck.fmu > Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe 2>&1)