Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.QuadraticLinear.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.0008106/0.0008106, 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.000867/0.000867, 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.8721/0.8721, 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.001383/0.001383, allocations: 234 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.6687/0.6687, allocations: 138.4 MB / 454.3 MB, free: 29.99 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.Examples.QuadraticLinear,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_QuadraticLinear",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.QuadraticLinear,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_QuadraticLinear",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.743e-06/1.743e-06, allocations: 0 / 0.6463 GB, free: 1.902 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.079e-05/2.253e-05, allocations: 9.453 kB / 0.6463 GB, free: 1.895 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.QuadraticLinear): time 0.001975/0.001998, allocations: 1.507 MB / 0.6478 GB, free: 380 kB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.0002996/0.002298, allocations: 108.6 kB / 0.6479 GB, free: 268 kB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.693e-05/0.002335, allocations: 0 / 0.6479 GB, free: 268 kB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 4.906e-05/0.002384, allocations: 3.938 kB / 0.6479 GB, free: 264 kB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 6.28e-05/0.002446, allocations: 11.86 kB / 0.6479 GB, free: 252 kB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002579/0.002704, allocations: 23.97 kB / 0.6479 GB, free: 228 kB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0001075/0.002812, allocations: 47.84 kB / 0.648 GB, free: 180 kB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001077/0.00292, allocations: 8 kB / 0.648 GB, free: 172 kB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 5.831e-05/0.002978, allocations: 27.91 kB / 0.648 GB, free: 144 kB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 3.915e-05/0.003017, allocations: 11.98 kB / 0.648 GB, free: 132 kB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.676e-05/0.003034, allocations: 8 kB / 0.648 GB, free: 124 kB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 5.691e-05/0.003091, allocations: 23.98 kB / 0.648 GB, free: 100 kB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 5.098e-05/0.003142, allocations: 11.92 kB / 0.648 GB, free: 88 kB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 2.027e-05/0.003162, allocations: 11.98 kB / 0.6481 GB, free: 76 kB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0001285/0.00329, allocations: 63.8 kB / 0.6481 GB, free: 12 kB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.003294, allocations: 0 / 0.6481 GB, free: 12 kB / 0.5573 GB Notification: Performance of FrontEnd: time 8.21e-07/0.003295, allocations: 0 / 0.6481 GB, free: 12 kB / 0.5573 GB Notification: Performance of Transformations before backend: time 4.408e-06/0.003299, allocations: 0 / 0.6481 GB, free: 12 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.2223/0.2256, allocations: 300.8 kB / 0.6484 GB, free: 57.26 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.446e-05/0.2257, allocations: 11.88 kB / 0.6484 GB, free: 57.26 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.65e-05/0.2257, allocations: 35.45 kB / 0.6485 GB, free: 57.22 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.688e-05/0.2257, allocations: 9.781 kB / 0.6485 GB, free: 57.22 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.339e-05/0.2258, allocations: 117.4 kB / 0.6486 GB, free: 57.09 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.022e-05/0.2258, allocations: 2.156 kB / 0.6486 GB, free: 57.09 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.769e-06/0.2258, allocations: 7.938 kB / 0.6486 GB, free: 57.09 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001813/0.226, allocations: 70.75 kB / 0.6486 GB, free: 57.05 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.935e-06/0.226, allocations: 2.266 kB / 0.6487 GB, free: 57.05 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.816e-06/0.226, allocations: 2.531 kB / 0.6487 GB, free: 57.05 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/0.226, allocations: 6.656 kB / 0.6487 GB, free: 57.05 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001563/0.2262, allocations: 76.44 kB / 0.6487 GB, free: 57.05 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000283/0.2265, allocations: 247.6 kB / 0.649 GB, free: 56.82 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001378/0.2266, allocations: 64.2 kB / 0.649 GB, free: 56.8 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.188e-05/0.2267, allocations: 48.83 kB / 0.6491 GB, free: 56.79 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001978/0.2269, allocations: 36.78 kB / 0.6491 GB, free: 56.79 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.499e-05/0.2269, allocations: 34.62 kB / 0.6491 GB, free: 56.75 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=3): time 1.352e-06/0.2269, allocations: 1.344 kB / 0.6491 GB, free: 56.75 MB / 0.5573 GB Notification: Performance of matching and sorting (n=3): time 0.0003306/0.2272, allocations: 144.1 kB / 0.6493 GB, free: 56.71 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.194e-05/0.2272, allocations: 56.55 kB / 0.6493 GB, free: 56.65 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.493e-05/0.2273, allocations: 126 kB / 0.6495 GB, free: 56.55 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 6.873e-06/0.2273, allocations: 27.27 kB / 0.6495 GB, free: 56.52 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 3.179e-05/0.2274, allocations: 103.1 kB / 0.6496 GB, free: 56.44 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 1.501e-05/0.2274, allocations: 5.609 kB / 0.6496 GB, free: 56.43 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.659e-05/0.2274, allocations: 16.52 kB / 0.6496 GB, free: 56.42 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 3.286e-05/0.2274, allocations: 317.5 kB / 0.6499 GB, free: 56.11 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.477e-05/0.2275, allocations: 35.88 kB / 0.6499 GB, free: 56.11 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.181e-05/0.2276, allocations: 39.47 kB / 0.65 GB, free: 56.11 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001525/0.2277, allocations: 78.31 kB / 0.6501 GB, free: 56.1 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.2277, allocations: 4.656 kB / 0.6501 GB, free: 56.09 MB / 0.5573 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001809/0.2279, allocations: 116.4 kB / 0.6502 GB, free: 56.05 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.488e-05/0.2279, allocations: 6.688 kB / 0.6502 GB, free: 56.05 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.2279, allocations: 2.938 kB / 0.6502 GB, free: 56.05 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.388e-05/0.228, allocations: 0.5625 kB / 0.6502 GB, free: 56.05 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.466e-05/0.228, allocations: 16.47 kB / 0.6502 GB, free: 56.05 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.091e-06/0.2281, allocations: 1.312 kB / 0.6502 GB, free: 56.05 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.091e-05/0.2281, allocations: 11.88 kB / 0.6502 GB, free: 56.05 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.315e-06/0.2281, allocations: 4.312 kB / 0.6502 GB, free: 56.05 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): 3 * 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.955e-05/0.2282, allocations: 115.3 kB / 0.6503 GB, free: 55.94 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.523e-05/0.2282, allocations: 10.86 kB / 0.6503 GB, free: 55.93 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002156/0.2284, allocations: 123.8 kB / 0.6504 GB, free: 55.89 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.2284, allocations: 4.219 kB / 0.6505 GB, free: 55.89 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.2284, allocations: 0 / 0.6505 GB, free: 55.89 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.2284, allocations: 1.484 kB / 0.6505 GB, free: 55.89 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.877e-05/0.2285, allocations: 142 kB / 0.6506 GB, free: 55.74 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.714e-06/0.2285, allocations: 5.5 kB / 0.6506 GB, free: 55.74 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.294e-05/0.2285, allocations: 19.02 kB / 0.6506 GB, free: 55.74 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.2285, allocations: 0.7188 kB / 0.6506 GB, free: 55.74 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.264e-06/0.2285, allocations: 2.766 kB / 0.6506 GB, free: 55.74 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.11e-07/0.2285, allocations: 3.25 kB / 0.6506 GB, free: 55.74 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.2285, allocations: 0 / 0.6506 GB, free: 55.74 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001851/0.2287, allocations: 210.7 kB / 0.6508 GB, free: 55.6 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 7.574e-06/0.2287, allocations: 11.59 kB / 0.6508 GB, free: 55.59 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.121e-05/0.2288, allocations: 0.6094 kB / 0.6508 GB, free: 55.59 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.192e-05/0.2288, allocations: 18.08 kB / 0.6508 GB, free: 55.59 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.643e-05/0.2288, allocations: 5.578 kB / 0.6509 GB, free: 55.59 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.086e-06/0.2288, allocations: 0.8125 kB / 0.6509 GB, free: 55.59 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 3.392e-05/0.2289, allocations: 103.4 kB / 0.651 GB, free: 55.52 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5e-08/0.2289, allocations: 0 / 0.651 GB, free: 55.52 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.000149/0.229, allocations: 10.02 kB / 0.651 GB, free: 55.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): 3 * 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.0003272/0.2294, allocations: 0.7421 MB / 0.6517 GB, free: 54.86 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0002001/0.2296, allocations: 80.56 kB / 0.6518 GB, free: 54.86 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.2296, allocations: 0.5625 kB / 0.6518 GB, free: 54.86 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 7.64e-05/0.2296, allocations: 46.84 kB / 0.6518 GB, free: 54.86 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001871/0.2298, allocations: 5.25 kB / 0.6518 GB, free: 54.86 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003712/0.2302, allocations: 183.8 kB / 0.652 GB, free: 54.71 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.733e-05/0.2302, allocations: 76.06 kB / 0.6521 GB, free: 54.63 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 2.16e-05/0.2303, allocations: 1.875 kB / 0.6521 GB, free: 54.63 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.118e-05/0.2303, allocations: 20.12 kB / 0.6521 GB, free: 54.63 MB / 0.5573 GB Notification: Performance of SimCode: time 5.71e-07/0.2303, allocations: 0.875 kB / 0.6521 GB, free: 54.63 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01454/0.2448, allocations: 2.601 MB / 0.6546 GB, free: 53.76 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.316/6.56, allocations: 6.625 kB / 0.6546 GB, free: 53.75 MB / 0.5573 GB " [Timeout remaining time 653] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.QuadraticLinear.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.QuadraticLinear.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.QuadraticLinear.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.QuadraticLinear.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Utilities.Math.Examples.QuadraticLinear_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_Examples_QuadraticLinear.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Examples.QuadraticLinear.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.218844879418612] Failed to read output from testmodel.py, exit status != 0: 6.6382229719311 6.648976438 6.643775019 Calling exit ...