Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.PowerLinearized.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.001127/0.001127, allocations: 72.5 kB / 19.92 MB, free: 4.633 MB / 18.57 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.0008857/0.0008857, allocations: 173.9 kB / 23.21 MB, free: 1.355 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.9497/0.9497, allocations: 177.1 MB / 203.5 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.5582/0.5582, allocations: 114 MB / 373.9 MB, free: 8.723 MB / 346.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Utilities.Math.Functions.Examples.PowerLinearized,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_PowerLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.PowerLinearized,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_PowerLinearized",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 8.51e-07/8.51e-07, allocations: 3.938 kB / 0.5543 GB, free: 2.691 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.759e-05/1.844e-05, allocations: 3.828 kB / 0.5543 GB, free: 2.688 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.PowerLinearized): time 0.001118/0.001136, allocations: 0.5783 MB / 0.5548 GB, free: 2.113 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.0002139/0.00135, allocations: 87.73 kB / 0.5549 GB, free: 2.027 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.42e-05/0.001364, allocations: 0 / 0.5549 GB, free: 2.027 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 1.176e-05/0.001376, allocations: 0 / 0.5549 GB, free: 2.027 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 3.804e-05/0.001414, allocations: 3.938 kB / 0.5549 GB, free: 2.023 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001642/0.001578, allocations: 19.86 kB / 0.5549 GB, free: 2.004 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 3.522e-05/0.001614, allocations: 8 kB / 0.5549 GB, free: 1.996 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 2.774e-05/0.001641, allocations: 4 kB / 0.5549 GB, free: 1.992 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 1.935e-05/0.001661, allocations: 3.984 kB / 0.5549 GB, free: 1.988 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 5.048e-05/0.001711, allocations: 11.98 kB / 0.555 GB, free: 1.977 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 9.809e-06/0.001721, allocations: 0 / 0.555 GB, free: 1.977 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 4.205e-05/0.001763, allocations: 11.98 kB / 0.555 GB, free: 1.965 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 8.095e-06/0.001771, allocations: 0 / 0.555 GB, free: 1.965 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 1.091e-05/0.001782, allocations: 3.938 kB / 0.555 GB, free: 1.961 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 6.566e-05/0.001848, allocations: 19.97 kB / 0.555 GB, free: 1.941 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.353e-06/0.001849, allocations: 0 / 0.555 GB, free: 1.941 MB / 0.5105 GB Notification: Performance of FrontEnd: time 4.91e-07/0.00185, allocations: 4 kB / 0.555 GB, free: 1.938 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 4.078e-06/0.001854, allocations: 3.938 kB / 0.555 GB, free: 1.934 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002787/0.002132, allocations: 246.4 kB / 0.5552 GB, free: 1.66 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 2.76e-05/0.00216, allocations: 8.625 kB / 0.5552 GB, free: 1.652 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.082e-05/0.002181, allocations: 30.75 kB / 0.5553 GB, free: 1.613 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001012/0.002282, allocations: 8.922 kB / 0.5553 GB, free: 1.605 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.373e-05/0.002336, allocations: 109.8 kB / 0.5554 GB, free: 1.473 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.493e-05/0.002351, allocations: 4.359 kB / 0.5554 GB, free: 1.469 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.877e-06/0.002359, allocations: 4.375 kB / 0.5554 GB, free: 1.465 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.27e-05/0.002432, allocations: 46.19 kB / 0.5554 GB, free: 1.414 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.69e-06/0.002438, allocations: 192 / 0.5554 GB, free: 1.414 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.843e-06/0.002445, allocations: 4.375 kB / 0.5554 GB, free: 1.41 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.519e-06/0.002449, allocations: 4.125 kB / 0.5554 GB, free: 1.406 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.623e-05/0.002495, allocations: 15.98 kB / 0.5555 GB, free: 1.391 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.231e-05/0.002588, allocations: 120.8 kB / 0.5556 GB, free: 1.23 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 9.251e-05/0.00268, allocations: 38.59 kB / 0.5556 GB, free: 1.184 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.61e-05/0.002706, allocations: 8.922 kB / 0.5556 GB, free: 1.172 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.153e-05/0.002718, allocations: 4 kB / 0.5556 GB, free: 1.168 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.773e-05/0.002736, allocations: 42.48 kB / 0.5557 GB, free: 1.117 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=3): time 6.71e-07/0.002736, allocations: 0 / 0.5557 GB, free: 1.117 MB / 0.5105 GB Notification: Performance of matching and sorting (n=3): time 0.0001168/0.002853, allocations: 53.69 kB / 0.5557 GB, free: 1.059 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.368e-05/0.002877, allocations: 55.34 kB / 0.5558 GB, free: 0.9922 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.503e-05/0.002902, allocations: 89.86 kB / 0.5559 GB, free: 0.8945 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 8.606e-06/0.00291, allocations: 25.7 kB / 0.5559 GB, free: 0.8633 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 2.575e-05/0.002936, allocations: 84.12 kB / 0.556 GB, free: 0.7773 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.056e-05/0.002957, allocations: 11.91 kB / 0.556 GB, free: 0.7656 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.008e-05/0.002977, allocations: 13.72 kB / 0.556 GB, free: 0.7461 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 8.873e-05/0.003066, allocations: 318.8 kB / 0.5563 GB, free: 436 kB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.767e-05/0.003083, allocations: 7.984 kB / 0.5563 GB, free: 428 kB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.558e-05/0.003099, allocations: 11.94 kB / 0.5563 GB, free: 416 kB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.178e-05/0.003141, allocations: 20.84 kB / 0.5563 GB, free: 392 kB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-06/0.003142, allocations: 0 / 0.5563 GB, free: 392 kB / 0.5105 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.519e-05/0.003197, allocations: 45.69 kB / 0.5564 GB, free: 340 kB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 9.148e-06/0.003206, allocations: 4 kB / 0.5564 GB, free: 336 kB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.977e-06/0.00321, allocations: 4 kB / 0.5564 GB, free: 332 kB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.344e-06/0.003218, allocations: 7.984 kB / 0.5564 GB, free: 324 kB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001903/0.003408, allocations: 43.88 kB / 0.5564 GB, free: 280 kB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008291/0.004237, allocations: 1.297 MB / 0.5577 GB, free: 14.87 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.724e-05/0.004254, allocations: 11.95 kB / 0.5577 GB, free: 14.86 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.198e-06/0.004258, allocations: 7.938 kB / 0.5577 GB, free: 14.85 MB / 0.5261 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 (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 5.54e-05/0.004314, allocations: 109.8 kB / 0.5578 GB, free: 14.73 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.531e-06/0.004319, allocations: 8.125 kB / 0.5578 GB, free: 14.72 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.755e-06/0.004327, allocations: 3.531 kB / 0.5578 GB, free: 14.71 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.11e-07/0.004328, allocations: 0 / 0.5578 GB, free: 14.71 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.41e-07/0.004328, allocations: 0 / 0.5578 GB, free: 14.71 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.953e-06/0.00433, allocations: 0 / 0.5578 GB, free: 14.71 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.037e-05/0.004391, allocations: 128.7 kB / 0.5579 GB, free: 14.55 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.004392, allocations: 0 / 0.5579 GB, free: 14.55 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001595/0.004551, allocations: 51.88 kB / 0.558 GB, free: 14.5 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.132e-06/0.004553, allocations: 0 / 0.558 GB, free: 14.5 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.743e-06/0.004559, allocations: 4 kB / 0.558 GB, free: 14.49 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008028/0.005362, allocations: 1.301 MB / 0.5593 GB, free: 13.08 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.005364, allocations: 3.938 kB / 0.5593 GB, free: 13.07 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.956e-05/0.005433, allocations: 77.08 kB / 0.5594 GB, free: 12.98 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 1.703e-06/0.005435, allocations: 0 / 0.5594 GB, free: 12.98 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.586e-06/0.005438, allocations: 0 / 0.5594 GB, free: 12.98 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.054e-05/0.005449, allocations: 0 / 0.5594 GB, free: 12.98 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.68e-05/0.005466, allocations: 11.94 kB / 0.5594 GB, free: 12.97 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.775e-06/0.005469, allocations: 8.078 kB / 0.5594 GB, free: 12.96 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 1.936e-05/0.005488, allocations: 75.28 kB / 0.5594 GB, free: 12.89 MB / 0.5261 GB Notification: Performance of sort global known variables: time 6e-08/0.005488, allocations: 0 / 0.5594 GB, free: 12.89 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0001262/0.005614, allocations: 4 kB / 0.5594 GB, free: 12.88 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002406/0.005855, allocations: 0.6125 MB / 0.56 GB, free: 12.24 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0002449/0.0061, allocations: 59.88 kB / 0.5601 GB, free: 12.18 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.006102, allocations: 4 kB / 0.5601 GB, free: 12.18 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001203/0.006223, allocations: 35.95 kB / 0.5601 GB, free: 12.14 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001082/0.006331, allocations: 7.938 kB / 0.5601 GB, free: 12.13 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003469/0.006678, allocations: 130.4 kB / 0.5603 GB, free: 11.96 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.947e-05/0.006717, allocations: 63.28 kB / 0.5603 GB, free: 11.88 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 2.385e-05/0.006741, allocations: 4 kB / 0.5603 GB, free: 11.88 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.567e-05/0.006777, allocations: 8.5 kB / 0.5603 GB, free: 11.87 MB / 0.5261 GB Notification: Performance of SimCode: time 7.22e-07/0.006778, allocations: 0 / 0.5603 GB, free: 11.87 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01628/0.02306, allocations: 1.897 MB / 0.5622 GB, free: 10.13 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.713/7.736, allocations: 10.8 kB / 0.5622 GB, free: 10.12 MB / 0.5261 GB " [Timeout remaining time 652] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.PowerLinearized.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.PowerLinearized.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.PowerLinearized_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_PowerLinearized.fmu > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.406054691411555] Failed to read output from testmodel.py, exit status != 0: 7.822275820188224 7.831010359 7.827135654 Calling exit ...