Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.0006924/0.0006924, 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.0007635/0.0007635, 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.8753/0.8753, allocations: 177.1 MB / 202.8 MB, free: 5.734 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.001403/0.001403, allocations: 222.5 kB / 259.4 MB, free: 13.02 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.6808/0.6808, 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.PowerLinearized,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_PowerLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_PowerLinearized",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.064e-06/2.064e-06, allocations: 0 / 0.6463 GB, free: 1.793 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.109e-05/2.315e-05, allocations: 2.281 kB / 0.6463 GB, free: 1.789 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized): time 0.001345/0.001369, allocations: 0.5968 MB / 0.6469 GB, free: 1.191 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.0002774/0.001646, allocations: 96.38 kB / 0.647 GB, free: 1.098 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.841e-05/0.001664, allocations: 0 / 0.647 GB, free: 1.098 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 2.149e-05/0.001686, allocations: 3.938 kB / 0.647 GB, free: 1.094 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 4.815e-05/0.001734, allocations: 0 / 0.647 GB, free: 1.094 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002265/0.001961, allocations: 15.98 kB / 0.647 GB, free: 1.078 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 5.454e-05/0.002015, allocations: 8 kB / 0.647 GB, free: 1.07 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 4.48e-05/0.00206, allocations: 3.984 kB / 0.647 GB, free: 1.066 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 3.248e-05/0.002092, allocations: 7.984 kB / 0.6471 GB, free: 1.059 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 6.638e-05/0.002159, allocations: 0 / 0.6471 GB, free: 1.059 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.596e-05/0.002175, allocations: 4 kB / 0.6471 GB, free: 1.055 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 5.503e-05/0.00223, allocations: 15.92 kB / 0.6471 GB, free: 1.039 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 1.314e-05/0.002243, allocations: 0 / 0.6471 GB, free: 1.039 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 1.465e-05/0.002258, allocations: 4 kB / 0.6471 GB, free: 1.035 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 9.187e-05/0.002349, allocations: 23.89 kB / 0.6471 GB, free: 1.012 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.002353, allocations: 7.938 kB / 0.6471 GB, free: 1.004 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.353e-06/0.002354, allocations: 0 / 0.6471 GB, free: 1.004 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 3.737e-06/0.002358, allocations: 4 kB / 0.6471 GB, free: 1 MB / 0.5573 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.000281/0.002639, allocations: 234.4 kB / 0.6473 GB, free: 0.7383 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.17e-05/0.00268, allocations: 13.94 kB / 0.6473 GB, free: 0.7266 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.121e-05/0.002712, allocations: 38.73 kB / 0.6474 GB, free: 0.6797 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001291/0.002841, allocations: 8.922 kB / 0.6474 GB, free: 0.6719 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.809e-05/0.002909, allocations: 101.8 kB / 0.6475 GB, free: 0.5469 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.036e-05/0.002929, allocations: 4.375 kB / 0.6475 GB, free: 0.543 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.276e-06/0.002937, allocations: 4.312 kB / 0.6475 GB, free: 0.5391 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001042/0.003042, allocations: 42.25 kB / 0.6475 GB, free: 0.4922 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.554e-06/0.003049, allocations: 192 / 0.6475 GB, free: 0.4922 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.716e-06/0.003058, allocations: 384 / 0.6475 GB, free: 0.4922 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.003064, allocations: 8.125 kB / 0.6475 GB, free: 496 kB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.188e-05/0.003116, allocations: 11.92 kB / 0.6476 GB, free: 484 kB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001398/0.003255, allocations: 120.8 kB / 0.6477 GB, free: 320 kB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001201/0.003375, allocations: 42.55 kB / 0.6477 GB, free: 268 kB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.268e-05/0.003408, allocations: 16.91 kB / 0.6477 GB, free: 248 kB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 1.94e-05/0.003428, allocations: 7.984 kB / 0.6477 GB, free: 240 kB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.049e-05/0.003448, allocations: 30.56 kB / 0.6478 GB, free: 200 kB / 0.5573 GB Notification: Performance of pre-optimization done (n=3): time 8.51e-07/0.003449, allocations: 0 / 0.6478 GB, free: 200 kB / 0.5573 GB Notification: Performance of matching and sorting (n=3): time 0.0003171/0.003766, allocations: 61.55 kB / 0.6478 GB, free: 132 kB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.411e-05/0.0038, allocations: 59.34 kB / 0.6479 GB, free: 60 kB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2479/0.2517, allocations: 89.86 kB / 0.648 GB, free: 56.98 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 1.912e-05/0.2517, allocations: 25.7 kB / 0.648 GB, free: 56.95 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 1.237e-05/0.2517, allocations: 80.14 kB / 0.6481 GB, free: 56.87 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 5.732e-05/0.2518, allocations: 8.703 kB / 0.6481 GB, free: 56.87 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.152e-05/0.2518, allocations: 14.25 kB / 0.6481 GB, free: 56.86 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 4.461e-05/0.2519, allocations: 315 kB / 0.6484 GB, free: 56.54 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.767e-05/0.2519, allocations: 5.5 kB / 0.6484 GB, free: 56.54 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.139e-05/0.2519, allocations: 9.203 kB / 0.6484 GB, free: 56.54 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.51e-05/0.252, allocations: 23.64 kB / 0.6484 GB, free: 56.54 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.408e-06/0.252, allocations: 0 / 0.6484 GB, free: 56.54 MB / 0.5573 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.97e-05/0.2521, allocations: 46.84 kB / 0.6485 GB, free: 56.5 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.818e-05/0.2521, allocations: 7.281 kB / 0.6485 GB, free: 56.5 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.693e-06/0.2521, allocations: 0.5 kB / 0.6485 GB, free: 56.5 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.76e-05/0.2522, allocations: 1.375 kB / 0.6485 GB, free: 56.5 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002418/0.2524, allocations: 45.47 kB / 0.6485 GB, free: 56.5 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007301/0.2531, allocations: 1.297 MB / 0.6498 GB, free: 55.23 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.146e-05/0.2531, allocations: 2.922 kB / 0.6498 GB, free: 55.23 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.422e-06/0.2532, allocations: 3.562 kB / 0.6498 GB, free: 55.23 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 (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 4.686e-05/0.2532, allocations: 114.4 kB / 0.6499 GB, free: 55.11 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.905e-06/0.2532, allocations: 4.297 kB / 0.6499 GB, free: 55.11 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.398e-06/0.2532, allocations: 6.75 kB / 0.6499 GB, free: 55.11 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.2532, allocations: 0.8438 kB / 0.6499 GB, free: 55.11 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.382e-06/0.2532, allocations: 0.9688 kB / 0.6499 GB, free: 55.11 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.2532, allocations: 1.375 kB / 0.6499 GB, free: 55.11 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.767e-05/0.2533, allocations: 128.3 kB / 0.65 GB, free: 54.95 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.2533, allocations: 3 kB / 0.65 GB, free: 54.95 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001894/0.2535, allocations: 48.77 kB / 0.6501 GB, free: 54.95 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.2535, allocations: 1.375 kB / 0.6501 GB, free: 54.95 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.142e-06/0.2535, allocations: 2.031 kB / 0.6501 GB, free: 54.95 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005292/0.254, allocations: 1.308 MB / 0.6514 GB, free: 53.66 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.254, allocations: 0 / 0.6514 GB, free: 53.66 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.073e-05/0.2541, allocations: 76.42 kB / 0.6514 GB, free: 53.6 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 3.988e-06/0.2541, allocations: 7.891 kB / 0.6515 GB, free: 53.6 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.759e-06/0.2541, allocations: 8.406 kB / 0.6515 GB, free: 53.59 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.435e-05/0.2541, allocations: 6.969 kB / 0.6515 GB, free: 53.59 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.743e-05/0.2541, allocations: 6.219 kB / 0.6515 GB, free: 53.59 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.385e-06/0.2541, allocations: 0 / 0.6515 GB, free: 53.59 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 1.064e-05/0.2541, allocations: 76.09 kB / 0.6515 GB, free: 53.52 MB / 0.5573 GB Notification: Performance of sort global known variables: time 2e-08/0.2541, allocations: 0 / 0.6515 GB, free: 53.52 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0001295/0.2543, allocations: 3.875 kB / 0.6515 GB, free: 53.52 MB / 0.5573 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.0002174/0.2545, allocations: 0.607 MB / 0.6521 GB, free: 52.93 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0002812/0.2548, allocations: 64.67 kB / 0.6522 GB, free: 52.93 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.2548, allocations: 5.469 kB / 0.6522 GB, free: 52.93 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0001235/0.2549, allocations: 37.38 kB / 0.6522 GB, free: 52.93 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001087/0.255, allocations: 7.406 kB / 0.6523 GB, free: 52.92 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004212/0.2554, allocations: 124.6 kB / 0.6524 GB, free: 52.8 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.236e-05/0.2554, allocations: 61.25 kB / 0.6524 GB, free: 52.73 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 3.017e-05/0.2555, allocations: 3.953 kB / 0.6524 GB, free: 52.73 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.556e-05/0.2555, allocations: 12.56 kB / 0.6524 GB, free: 52.72 MB / 0.5573 GB Notification: Performance of SimCode: time 9.81e-07/0.2555, allocations: 0.6875 kB / 0.6524 GB, free: 52.72 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01751/0.273, allocations: 1.915 MB / 0.6543 GB, free: 51.96 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.43/7.703, allocations: 4.844 kB / 0.6543 GB, free: 51.96 MB / 0.5573 GB " [Timeout remaining time 652] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.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 BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_PowerLinearized.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.368486841209233] Failed to read output from testmodel.py, exit status != 0: 7.786799850873649 7.794215635 7.790130606 Calling exit ...