Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.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.001152/0.001152, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.001294/0.001294, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8995/0.8995, allocations: 177.1 MB / 202.8 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.69/1.69, allocations: 359 MB / 0.6037 GB, free: 11.07 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/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(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,fileNamePrefix="Buildings_11_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_11_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.755e-06/2.755e-06, allocations: 0 / 0.9506 GB, free: 3.422 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.437e-05/2.712e-05, allocations: 6.219 kB / 0.9506 GB, free: 3.414 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.001947/0.001974, allocations: 0.622 MB / 0.9512 GB, free: 2.789 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0007728/0.002747, allocations: 314.8 kB / 0.9515 GB, free: 2.48 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.241e-05/0.00278, allocations: 0 / 0.9515 GB, free: 2.48 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 2.002e-05/0.0028, allocations: 3.938 kB / 0.9515 GB, free: 2.477 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 3.17e-05/0.002831, allocations: 0 / 0.9515 GB, free: 2.477 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005183/0.00335, allocations: 119.6 kB / 0.9516 GB, free: 2.359 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 8.03e-05/0.00343, allocations: 31.84 kB / 0.9516 GB, free: 2.328 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 4.637e-05/0.003476, allocations: 4 kB / 0.9516 GB, free: 2.324 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 6.338e-05/0.00354, allocations: 7.984 kB / 0.9516 GB, free: 2.316 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 6.342e-05/0.003603, allocations: 11.98 kB / 0.9516 GB, free: 2.305 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.916e-05/0.003622, allocations: 7.938 kB / 0.9516 GB, free: 2.297 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003997/0.004022, allocations: 259.6 kB / 0.9519 GB, free: 2.043 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 2.113e-05/0.004043, allocations: 4 kB / 0.9519 GB, free: 2.039 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 2.652e-05/0.00407, allocations: 15.97 kB / 0.9519 GB, free: 2.023 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0002537/0.004323, allocations: 131.6 kB / 0.952 GB, free: 1.895 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 6.102e-06/0.004329, allocations: 0 / 0.952 GB, free: 1.895 MB / 0.9011 GB Notification: Performance of FrontEnd: time 2.144e-06/0.004331, allocations: 0 / 0.952 GB, free: 1.895 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 5.42e-06/0.004337, allocations: 3.938 kB / 0.952 GB, free: 1.891 MB / 0.9011 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.0004953/0.004832, allocations: 286.1 kB / 0.9523 GB, free: 1.578 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 5.471e-05/0.004887, allocations: 8.031 kB / 0.9523 GB, free: 1.57 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.344e-05/0.00494, allocations: 38.75 kB / 0.9524 GB, free: 1.523 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.147e-05/0.005012, allocations: 4.891 kB / 0.9524 GB, free: 1.52 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001168/0.005129, allocations: 113.7 kB / 0.9525 GB, free: 1.383 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.386e-05/0.005142, allocations: 4.375 kB / 0.9525 GB, free: 1.379 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.562e-05/0.005168, allocations: 4.375 kB / 0.9525 GB, free: 1.375 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001544/0.005322, allocations: 105.6 kB / 0.9526 GB, free: 1.254 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.266e-05/0.005335, allocations: 192 / 0.9526 GB, free: 1.254 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.112e-05/0.005346, allocations: 384 / 0.9526 GB, free: 1.254 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.694e-06/0.005354, allocations: 8.125 kB / 0.9526 GB, free: 1.246 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.953e-05/0.005413, allocations: 15.98 kB / 0.9526 GB, free: 1.23 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001836/0.005597, allocations: 136.7 kB / 0.9527 GB, free: 1.055 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001261/0.005723, allocations: 54.56 kB / 0.9528 GB, free: 0.9922 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.804e-05/0.005771, allocations: 28.84 kB / 0.9528 GB, free: 0.9609 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005014/0.006273, allocations: 76.16 kB / 0.9529 GB, free: 0.8867 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.037e-05/0.006303, allocations: 38.5 kB / 0.9529 GB, free: 0.8398 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=7): time 1.583e-06/0.006305, allocations: 4 kB / 0.9529 GB, free: 0.8359 MB / 0.9011 GB Notification: Performance of matching and sorting (n=11): time 0.001284/0.007589, allocations: 459.2 kB / 0.9534 GB, free: 340 kB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.403e-05/0.007623, allocations: 51.41 kB / 0.9534 GB, free: 276 kB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.455e-05/0.007687, allocations: 101.8 kB / 0.9535 GB, free: 164 kB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 1.548e-05/0.007703, allocations: 25.7 kB / 0.9535 GB, free: 132 kB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 3.143e-05/0.007734, allocations: 84.14 kB / 0.9536 GB, free: 44 kB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 6.121e-05/0.007796, allocations: 47.7 kB / 0.9537 GB, free: 15.99 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.945e-05/0.007845, allocations: 25.72 kB / 0.9537 GB, free: 15.96 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001033/0.007948, allocations: 318.8 kB / 0.954 GB, free: 15.64 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.345e-05/0.007992, allocations: 24 kB / 0.954 GB, free: 15.62 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.398e-05/0.008036, allocations: 23.98 kB / 0.954 GB, free: 15.59 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000102/0.008138, allocations: 60.78 kB / 0.9541 GB, free: 15.53 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.008139, allocations: 0 / 0.9541 GB, free: 15.53 MB / 0.9167 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001616/0.0083, allocations: 90.5 kB / 0.9542 GB, free: 15.44 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.845e-05/0.008319, allocations: 11.94 kB / 0.9542 GB, free: 15.43 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/0.008324, allocations: 0 / 0.9542 GB, free: 15.43 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.412e-05/0.008338, allocations: 0 / 0.9542 GB, free: 15.43 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001112/0.00845, allocations: 19.98 kB / 0.9542 GB, free: 15.41 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.62e-06/0.008455, allocations: 4 kB / 0.9542 GB, free: 15.4 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.448e-05/0.00848, allocations: 4 kB / 0.9542 GB, free: 15.4 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.627e-06/0.008488, allocations: 8 kB / 0.9542 GB, free: 15.39 MB / 0.9167 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 7.696e-05/0.008565, allocations: 113.8 kB / 0.9543 GB, free: 15.27 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.078e-05/0.008596, allocations: 7.953 kB / 0.9543 GB, free: 15.26 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002057/0.008802, allocations: 109.7 kB / 0.9545 GB, free: 15.14 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.305e-06/0.008804, allocations: 0 / 0.9545 GB, free: 15.14 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.008808, allocations: 96 / 0.9545 GB, free: 15.14 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.015e-06/0.008811, allocations: 3.938 kB / 0.9545 GB, free: 15.14 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004066/0.009218, allocations: 321.5 kB / 0.9548 GB, free: 14.78 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.00922, allocations: 0 / 0.9548 GB, free: 14.78 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001081/0.009328, allocations: 19.98 kB / 0.9548 GB, free: 14.76 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.526e-06/0.009331, allocations: 8 kB / 0.9548 GB, free: 14.75 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.016e-05/0.009341, allocations: 4 kB / 0.9548 GB, free: 14.75 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.796e-06/0.009344, allocations: 0 / 0.9548 GB, free: 14.75 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.009345, allocations: 0 / 0.9548 GB, free: 14.75 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002013/0.009547, allocations: 226.6 kB / 0.955 GB, free: 14.51 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 2.887e-05/0.009576, allocations: 15.97 kB / 0.955 GB, free: 14.5 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.234e-05/0.009588, allocations: 4 kB / 0.955 GB, free: 14.49 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.32e-05/0.009641, allocations: 8 kB / 0.955 GB, free: 14.48 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.602e-05/0.009657, allocations: 7.984 kB / 0.955 GB, free: 14.48 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.611e-06/0.009663, allocations: 0 / 0.955 GB, free: 14.48 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 2.372e-05/0.009686, allocations: 83.33 kB / 0.9551 GB, free: 14.39 MB / 0.9167 GB Notification: Performance of sort global known variables: time 8.1e-08/0.009687, allocations: 4 kB / 0.9551 GB, free: 14.39 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001899/0.009876, allocations: 43.88 kB / 0.9552 GB, free: 14.35 MB / 0.9167 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.000491/0.01037, allocations: 0.802 MB / 0.9559 GB, free: 13.52 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001053/0.01047, allocations: 51.98 kB / 0.956 GB, free: 13.47 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.01047, allocations: 4 kB / 0.956 GB, free: 13.47 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 3.022e-05/0.0105, allocations: 27.92 kB / 0.956 GB, free: 13.44 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001649/0.01067, allocations: 10.66 kB / 0.956 GB, free: 13.43 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009056/0.01158, allocations: 1.4 MB / 0.9574 GB, free: 11.95 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001238/0.0117, allocations: 79.23 kB / 0.9575 GB, free: 11.86 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 4.075e-05/0.01174, allocations: 16.28 kB / 0.9575 GB, free: 11.84 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.665e-05/0.01178, allocations: 16.5 kB / 0.9575 GB, free: 11.82 MB / 0.9167 GB Notification: Performance of SimCode: time 7.72e-07/0.01178, allocations: 0 / 0.9575 GB, free: 11.82 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01836/0.03013, allocations: 3.146 MB / 0.9606 GB, free: 8.852 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.685/6.715, allocations: 4.281 kB / 0.9606 GB, free: 8.852 MB / 0.9167 GB " [Timeout remaining time 293] (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.sim & python3 -m fmpy simulate --output-file Buildings_11_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_11_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check.fmu > Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 10.810269637964666] Failed to read output from testmodel.py, exit status != 0: 6.803440621122718 6.812564499 6.805976033 Calling exit ...