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.0007937/0.0007937, 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.0007609/0.0007609, 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.845/0.845, allocations: 177.1 MB / 202.8 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] 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.001512/0.001512, allocations: 240.6 kB / 259.4 MB, free: 13.01 MB / 250.7 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 0.654/0.654, allocations: 138.4 MB / 454.3 MB, free: 30.04 MB / 410.7 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: Performance of FrontEnd - loaded program: time 1.302e-06/1.302e-06, allocations: 0 / 0.6463 GB, free: 1.832 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.036e-05/2.166e-05, allocations: 5.234 kB / 0.6464 GB, free: 1.828 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.001173/0.001195, allocations: 0.6239 MB / 0.647 GB, free: 1.203 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.0004507/0.001645, allocations: 323.5 kB / 0.6473 GB, free: 0.8867 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.21e-05/0.001668, allocations: 4 kB / 0.6473 GB, free: 0.8828 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 1.463e-05/0.001682, allocations: 3.938 kB / 0.6473 GB, free: 0.8789 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 2.504e-05/0.001707, allocations: 0 / 0.6473 GB, free: 0.8789 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.000356/0.002063, allocations: 126.7 kB / 0.6474 GB, free: 0.7578 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 5.647e-05/0.00212, allocations: 19.92 kB / 0.6474 GB, free: 0.7383 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 3.664e-05/0.002156, allocations: 4 kB / 0.6474 GB, free: 0.7344 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 4.584e-05/0.002202, allocations: 19.97 kB / 0.6474 GB, free: 0.7148 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 4.657e-05/0.002249, allocations: 11.92 kB / 0.6475 GB, free: 0.7031 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.296e-05/0.002262, allocations: 4 kB / 0.6475 GB, free: 0.6992 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002299/0.002492, allocations: 255.7 kB / 0.6477 GB, free: 460 kB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 1.39e-05/0.002506, allocations: 3.984 kB / 0.6477 GB, free: 456 kB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 1.562e-05/0.002521, allocations: 11.98 kB / 0.6477 GB, free: 444 kB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.000152/0.002673, allocations: 131.6 kB / 0.6478 GB, free: 312 kB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 1.663e-06/0.002675, allocations: 0 / 0.6478 GB, free: 312 kB / 0.5573 GB Notification: Performance of FrontEnd: time 1.142e-06/0.002676, allocations: 0 / 0.6478 GB, free: 312 kB / 0.5573 GB Notification: Performance of Transformations before backend: time 4.178e-06/0.00268, allocations: 0 / 0.6478 GB, free: 312 kB / 0.5573 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.2385/0.2411, allocations: 286 kB / 0.6481 GB, free: 57.08 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 5.469e-05/0.2412, allocations: 12.25 kB / 0.6481 GB, free: 57.08 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.802e-05/0.2412, allocations: 36.22 kB / 0.6482 GB, free: 57.04 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.148e-05/0.2413, allocations: 3.219 kB / 0.6482 GB, free: 57.04 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.123e-05/0.2414, allocations: 106.4 kB / 0.6483 GB, free: 56.91 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.124e-05/0.2414, allocations: 3.75 kB / 0.6483 GB, free: 56.91 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.38e-05/0.2414, allocations: 7.969 kB / 0.6483 GB, free: 56.91 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001194/0.2415, allocations: 102 kB / 0.6484 GB, free: 56.82 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.478e-06/0.2415, allocations: 192 / 0.6484 GB, free: 56.82 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.257e-06/0.2415, allocations: 1.844 kB / 0.6484 GB, free: 56.82 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.563e-06/0.2415, allocations: 5.25 kB / 0.6484 GB, free: 56.82 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.843e-05/0.2416, allocations: 22.28 kB / 0.6484 GB, free: 56.82 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001331/0.2417, allocations: 135.1 kB / 0.6485 GB, free: 56.66 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001018/0.2418, allocations: 54.95 kB / 0.6486 GB, free: 56.64 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.444e-05/0.2419, allocations: 29.45 kB / 0.6486 GB, free: 56.63 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004078/0.2423, allocations: 77.44 kB / 0.6487 GB, free: 56.63 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.412e-05/0.2423, allocations: 35.66 kB / 0.6487 GB, free: 56.59 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=7): time 1.563e-06/0.2423, allocations: 0 / 0.6487 GB, free: 56.59 MB / 0.5573 GB Notification: Performance of matching and sorting (n=11): time 0.0009454/0.2432, allocations: 453.7 kB / 0.6492 GB, free: 56.35 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.712e-05/0.2433, allocations: 53.44 kB / 0.6492 GB, free: 56.29 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.469e-05/0.2433, allocations: 105.4 kB / 0.6493 GB, free: 56.19 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 7.624e-06/0.2433, allocations: 30.67 kB / 0.6493 GB, free: 56.16 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 1.448e-05/0.2433, allocations: 81.52 kB / 0.6494 GB, free: 56.07 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 3.641e-05/0.2434, allocations: 42.92 kB / 0.6495 GB, free: 56.05 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.827e-05/0.2434, allocations: 27.42 kB / 0.6495 GB, free: 56.04 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 2.987e-05/0.2434, allocations: 317.3 kB / 0.6498 GB, free: 55.72 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.31e-05/0.2435, allocations: 20.72 kB / 0.6498 GB, free: 55.72 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.495e-05/0.2435, allocations: 21.53 kB / 0.6498 GB, free: 55.72 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.599e-05/0.2436, allocations: 56.06 kB / 0.6499 GB, free: 55.71 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.2436, allocations: 2.469 kB / 0.6499 GB, free: 55.71 MB / 0.5573 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001278/0.2437, allocations: 99.66 kB / 0.65 GB, free: 55.68 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/0.2437, allocations: 8.688 kB / 0.65 GB, free: 55.68 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.2437, allocations: 1.609 kB / 0.65 GB, free: 55.68 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.487e-05/0.2438, allocations: 0.8125 kB / 0.65 GB, free: 55.68 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.84e-05/0.2438, allocations: 21.14 kB / 0.65 GB, free: 55.68 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/0.2439, allocations: 1.234 kB / 0.65 GB, free: 55.68 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.503e-05/0.2439, allocations: 2.906 kB / 0.65 GB, free: 55.68 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.057e-06/0.2439, allocations: 5.688 kB / 0.65 GB, free: 55.68 MB / 0.5573 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 4.832e-05/0.2439, allocations: 121.2 kB / 0.6501 GB, free: 55.56 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.748e-05/0.2439, allocations: 8.578 kB / 0.6501 GB, free: 55.55 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001646/0.2441, allocations: 107.2 kB / 0.6502 GB, free: 55.52 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.2441, allocations: 1.531 kB / 0.6502 GB, free: 55.52 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.2441, allocations: 2.984 kB / 0.6502 GB, free: 55.52 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.2441, allocations: 0.6562 kB / 0.6502 GB, free: 55.52 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002987/0.2444, allocations: 332.4 kB / 0.6506 GB, free: 55.25 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.2444, allocations: 4.828 kB / 0.6506 GB, free: 55.25 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.062e-05/0.2445, allocations: 19.61 kB / 0.6506 GB, free: 55.25 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.496e-06/0.2445, allocations: 3.672 kB / 0.6506 GB, free: 55.25 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.676e-06/0.2445, allocations: 2.406 kB / 0.6506 GB, free: 55.25 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.2445, allocations: 0 / 0.6506 GB, free: 55.25 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.2445, allocations: 0.7812 kB / 0.6506 GB, free: 55.25 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002133/0.2447, allocations: 223.7 kB / 0.6508 GB, free: 55.11 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 2.912e-05/0.2448, allocations: 11.14 kB / 0.6508 GB, free: 55.11 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.342e-05/0.2448, allocations: 8.438 kB / 0.6508 GB, free: 55.11 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.921e-05/0.2448, allocations: 4.828 kB / 0.6508 GB, free: 55.11 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.843e-05/0.2448, allocations: 6.75 kB / 0.6508 GB, free: 55.11 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.494e-06/0.2448, allocations: 3.703 kB / 0.6508 GB, free: 55.11 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 1.579e-05/0.2449, allocations: 83.12 kB / 0.6509 GB, free: 55.04 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5e-08/0.2449, allocations: 0 / 0.6509 GB, free: 55.04 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0002056/0.2451, allocations: 43.42 kB / 0.651 GB, free: 55.04 MB / 0.5573 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.0003866/0.2455, allocations: 0.7969 MB / 0.6517 GB, free: 54.37 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0001193/0.2456, allocations: 55.94 kB / 0.6518 GB, free: 54.37 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.2456, allocations: 8.484 kB / 0.6518 GB, free: 54.37 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 3.112e-05/0.2456, allocations: 29.53 kB / 0.6518 GB, free: 54.37 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000169/0.2458, allocations: 9.859 kB / 0.6518 GB, free: 54.37 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008094/0.2466, allocations: 1.398 MB / 0.6532 GB, free: 53.15 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.147e-05/0.2466, allocations: 70.94 kB / 0.6533 GB, free: 53.08 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 4.838e-05/0.2467, allocations: 10.52 kB / 0.6533 GB, free: 53.08 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.748e-05/0.2467, allocations: 18.25 kB / 0.6533 GB, free: 53.07 MB / 0.5573 GB Notification: Performance of SimCode: time 1.312e-06/0.2467, allocations: 0.7188 kB / 0.6533 GB, free: 53.07 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01711/0.2638, allocations: 3.146 MB / 0.6564 GB, free: 52.26 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.577/6.841, allocations: 9.016 kB / 0.6564 GB, free: 52.25 MB / 0.5573 GB " [Timeout remaining time 653] (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 os._exit(0), Time elapsed: 9.446451826952398] Failed to read output from testmodel.py, exit status != 0: 6.917479705996811 6.925908242 6.921706683 Calling exit ...