Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001277/0.001277, allocations: 114.3 kB / 18.94 MB, free: 2.934 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001478/0.001478, allocations: 215.2 kB / 22.25 MB, free: 5.082 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.42/1.42, allocations: 230.6 MB / 256 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.003568/0.003568, allocations: 281.9 kB / 312.7 MB, free: 2.809 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.206/1.206, allocations: 180.6 MB / 0.5369 GB, free: 13.12 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00293/0.00293, allocations: 113 kB / 0.7396 GB, free: 28.04 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1951/0.198, allocations: 95.37 MB / 0.8328 GB, free: 8.605 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.002206/0.2002, allocations: 0.6423 MB / 0.8334 GB, free: 7.965 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0008066/0.201, allocations: 355.1 kB / 0.8337 GB, free: 7.617 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.579e-05/0.201, allocations: 0 / 0.8337 GB, free: 7.617 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.796e-05/0.2011, allocations: 0 / 0.8337 GB, free: 7.617 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 3.172e-05/0.2011, allocations: 3.938 kB / 0.8337 GB, free: 7.613 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005045/0.2016, allocations: 123.7 kB / 0.8339 GB, free: 7.492 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 6.904e-05/0.2017, allocations: 23.97 kB / 0.8339 GB, free: 7.469 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.753e-05/0.2017, allocations: 0 / 0.8339 GB, free: 7.469 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 3.788e-05/0.2017, allocations: 7.938 kB / 0.8339 GB, free: 7.461 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 5.669e-05/0.2018, allocations: 15.92 kB / 0.8339 GB, free: 7.445 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.573e-05/0.2018, allocations: 4 kB / 0.8339 GB, free: 7.441 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004004/0.2022, allocations: 271.7 kB / 0.8342 GB, free: 7.176 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.878e-05/0.2022, allocations: 11.97 kB / 0.8342 GB, free: 7.164 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.408e-05/0.2023, allocations: 15.88 kB / 0.8342 GB, free: 7.148 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001965/0.2025, allocations: 107.9 kB / 0.8343 GB, free: 7.043 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.2025, allocations: 0 / 0.8343 GB, free: 7.043 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.443e-06/0.2025, allocations: 4 kB / 0.8343 GB, free: 7.039 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.789e-06/0.2025, allocations: 0 / 0.8343 GB, free: 7.039 MB / 0.5762 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.0004363/0.2029, allocations: 286.1 kB / 0.8346 GB, free: 6.727 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.634e-05/0.2029, allocations: 9.344 kB / 0.8346 GB, free: 6.719 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.365e-05/0.203, allocations: 34.75 kB / 0.8346 GB, free: 6.676 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.88e-05/0.203, allocations: 8.891 kB / 0.8346 GB, free: 6.668 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001115/0.2032, allocations: 110.5 kB / 0.8347 GB, free: 6.535 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.405e-05/0.2032, allocations: 8.375 kB / 0.8347 GB, free: 6.527 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.082e-05/0.2032, allocations: 384 / 0.8347 GB, free: 6.527 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00012/0.2033, allocations: 54.25 kB / 0.8348 GB, free: 6.469 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.398e-05/0.2033, allocations: 3.938 kB / 0.8348 GB, free: 6.465 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.237e-06/0.2033, allocations: 0 / 0.8348 GB, free: 6.465 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.202e-06/0.2033, allocations: 4 kB / 0.8348 GB, free: 6.461 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.992e-05/0.2034, allocations: 19.92 kB / 0.8348 GB, free: 6.441 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001742/0.2036, allocations: 136.7 kB / 0.835 GB, free: 6.266 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001128/0.2037, allocations: 58.55 kB / 0.835 GB, free: 6.199 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.914e-05/0.2037, allocations: 24.86 kB / 0.835 GB, free: 6.172 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000536/0.2043, allocations: 79.91 kB / 0.8351 GB, free: 6.094 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.215e-05/0.2043, allocations: 34.56 kB / 0.8351 GB, free: 6.051 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=7): time 1.192e-06/0.2043, allocations: 0 / 0.8351 GB, free: 6.051 MB / 0.5762 GB Notification: Performance of matching and sorting (n=11): time 0.001243/0.2055, allocations: 467.7 kB / 0.8356 GB, free: 5.539 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.236e-05/0.2056, allocations: 55.41 kB / 0.8356 GB, free: 5.473 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.322e-05/0.2057, allocations: 97.86 kB / 0.8357 GB, free: 5.367 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.068e-05/0.2057, allocations: 29.7 kB / 0.8358 GB, free: 5.332 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 3.818e-05/0.2057, allocations: 84.12 kB / 0.8358 GB, free: 5.246 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.843e-05/0.2058, allocations: 35.66 kB / 0.8359 GB, free: 5.211 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.765e-05/0.2058, allocations: 33.7 kB / 0.8359 GB, free: 5.172 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001421/0.2059, allocations: 318.8 kB / 0.8362 GB, free: 4.852 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.221e-05/0.206, allocations: 19.98 kB / 0.8362 GB, free: 4.832 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.131e-05/0.206, allocations: 25.36 kB / 0.8363 GB, free: 4.809 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.658e-05/0.2061, allocations: 55.11 kB / 0.8363 GB, free: 4.754 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.51e-07/0.2061, allocations: 0 / 0.8363 GB, free: 4.754 MB / 0.5762 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001648/0.2063, allocations: 109.5 kB / 0.8364 GB, free: 4.641 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.416e-05/0.2063, allocations: 4 kB / 0.8364 GB, free: 4.637 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.007e-06/0.2063, allocations: 0 / 0.8364 GB, free: 4.637 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.459e-05/0.2063, allocations: 0 / 0.8364 GB, free: 4.637 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001021/0.2064, allocations: 20 kB / 0.8364 GB, free: 4.617 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.2064, allocations: 0 / 0.8364 GB, free: 4.617 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.795e-05/0.2065, allocations: 7.984 kB / 0.8364 GB, free: 4.609 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.166e-06/0.2065, allocations: 4 kB / 0.8364 GB, free: 4.605 MB / 0.5762 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.503e-05/0.2066, allocations: 118.4 kB / 0.8366 GB, free: 4.48 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.937e-05/0.2066, allocations: 7.938 kB / 0.8366 GB, free: 4.473 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001956/0.2068, allocations: 109.8 kB / 0.8367 GB, free: 4.355 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.2068, allocations: 0 / 0.8367 GB, free: 4.355 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.2068, allocations: 0 / 0.8367 GB, free: 4.355 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.079e-06/0.2068, allocations: 3.984 kB / 0.8367 GB, free: 4.352 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004112/0.2072, allocations: 337.5 kB / 0.837 GB, free: 3.973 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.163e-06/0.2072, allocations: 0 / 0.837 GB, free: 3.973 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001052/0.2073, allocations: 16 kB / 0.837 GB, free: 3.957 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.937e-06/0.2073, allocations: 8 kB / 0.837 GB, free: 3.949 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.004e-05/0.2073, allocations: 4 kB / 0.837 GB, free: 3.945 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.2073, allocations: 0 / 0.837 GB, free: 3.945 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.2073, allocations: 3.984 kB / 0.837 GB, free: 3.941 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000278/0.2076, allocations: 219.4 kB / 0.8372 GB, free: 3.711 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 2.982e-05/0.2076, allocations: 11.97 kB / 0.8372 GB, free: 3.699 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.428e-05/0.2077, allocations: 0 / 0.8372 GB, free: 3.699 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.46e-05/0.2077, allocations: 12.06 kB / 0.8373 GB, free: 3.688 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.118e-05/0.2078, allocations: 7.922 kB / 0.8373 GB, free: 3.68 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.001e-05/0.2078, allocations: 8 kB / 0.8373 GB, free: 3.672 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.935e-05/0.2078, allocations: 83.28 kB / 0.8374 GB, free: 3.59 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8.1e-08/0.2078, allocations: 0 / 0.8374 GB, free: 3.59 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002686/0.2081, allocations: 43.86 kB / 0.8374 GB, free: 3.547 MB / 0.5762 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.0006903/0.2088, allocations: 0.7904 MB / 0.8382 GB, free: 2.73 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001542/0.2089, allocations: 55.92 kB / 0.8382 GB, free: 2.676 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 7.374e-06/0.2089, allocations: 0 / 0.8382 GB, free: 2.676 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 5.387e-05/0.209, allocations: 35.92 kB / 0.8383 GB, free: 2.641 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002315/0.2092, allocations: 4 kB / 0.8383 GB, free: 2.637 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00139/0.2106, allocations: 1.398 MB / 0.8396 GB, free: 1.164 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003234/0.2109, allocations: 0.6849 MB / 0.8403 GB, free: 464 kB / 0.5762 GB Notification: Performance of simCode: alias equations: time 5.242e-05/0.211, allocations: 16 kB / 0.8403 GB, free: 448 kB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.287e-05/0.211, allocations: 23.41 kB / 0.8403 GB, free: 424 kB / 0.5762 GB Notification: Performance of SimCode: time 2.91e-07/0.211, allocations: 0 / 0.8403 GB, free: 424 kB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02922/0.2403, allocations: 2.63 MB / 0.8429 GB, free: 13.95 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.51/10.75, allocations: 11.62 kB / 0.8429 GB, free: 13.95 MB / 0.5919 GB " [Timeout remaining time 649] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.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 BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.996141898998758] Failed to read output from testmodel.py, exit status != 0: 10.855693551999138 10.881420746 10.674460707 Calling exit ...