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.001312/0.001312, allocations: 113 kB / 18.94 MB, free: 2.934 MB / 14.72 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.00146/0.00146, allocations: 209.4 kB / 22.25 MB, free: 5.086 MB / 14.72 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 1.497/1.497, allocations: 230.6 MB / 256 MB, free: 8.059 MB / 206.1 MB " [Timeout remaining time 178] 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.002523/0.002523, allocations: 293.9 kB / 312.7 MB, free: 2.84 MB / 238.1 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 1.285/1.285, allocations: 180.6 MB / 0.5369 GB, free: 13.07 MB / 382.1 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: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002746/0.002746, allocations: 111.3 kB / 0.7396 GB, free: 28.35 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2016/0.2043, allocations: 95.39 MB / 0.8327 GB, free: 8.676 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.QuadraticLinear): time 0.003001/0.2073, allocations: 1.517 MB / 0.8342 GB, free: 7.148 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.000389/0.2077, allocations: 116.5 kB / 0.8343 GB, free: 7.031 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.638e-05/0.2078, allocations: 0 / 0.8343 GB, free: 7.031 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 4.806e-05/0.2078, allocations: 7.938 kB / 0.8343 GB, free: 7.023 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 6.589e-05/0.2079, allocations: 7.875 kB / 0.8343 GB, free: 7.016 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002347/0.2081, allocations: 23.97 kB / 0.8344 GB, free: 6.992 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001037/0.2082, allocations: 47.78 kB / 0.8344 GB, free: 6.945 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001055/0.2083, allocations: 8 kB / 0.8344 GB, free: 6.938 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 5.785e-05/0.2084, allocations: 19.97 kB / 0.8344 GB, free: 6.918 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 6.045e-05/0.2084, allocations: 23.86 kB / 0.8345 GB, free: 6.895 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.639e-05/0.2085, allocations: 4 kB / 0.8345 GB, free: 6.891 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 6.89e-05/0.2085, allocations: 19.98 kB / 0.8345 GB, free: 6.871 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 5.851e-05/0.2086, allocations: 15.98 kB / 0.8345 GB, free: 6.855 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 3.829e-05/0.2086, allocations: 23.86 kB / 0.8345 GB, free: 6.832 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001466/0.2088, allocations: 60.02 kB / 0.8346 GB, free: 6.773 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.2088, allocations: 0 / 0.8346 GB, free: 6.773 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.543e-06/0.2088, allocations: 0 / 0.8346 GB, free: 6.773 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.671e-06/0.2088, allocations: 0 / 0.8346 GB, free: 6.773 MB / 0.5762 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.00055/0.2093, allocations: 302.1 kB / 0.8349 GB, free: 6.445 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.642e-05/0.2094, allocations: 13.34 kB / 0.8349 GB, free: 6.434 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.96e-05/0.2094, allocations: 34.75 kB / 0.8349 GB, free: 6.391 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.706e-05/0.2095, allocations: 12.88 kB / 0.8349 GB, free: 6.379 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001315/0.2096, allocations: 118.4 kB / 0.835 GB, free: 6.238 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.269e-05/0.2096, allocations: 384 / 0.835 GB, free: 6.238 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.163e-05/0.2096, allocations: 4.375 kB / 0.835 GB, free: 6.234 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002863/0.2099, allocations: 78.14 kB / 0.8351 GB, free: 6.152 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.197e-05/0.2099, allocations: 3.938 kB / 0.8351 GB, free: 6.148 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.087e-05/0.2099, allocations: 4 kB / 0.8351 GB, free: 6.145 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/0.2099, allocations: 0 / 0.8351 GB, free: 6.145 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000289/0.2102, allocations: 75.92 kB / 0.8352 GB, free: 6.07 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004341/0.2106, allocations: 263.9 kB / 0.8355 GB, free: 5.77 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002337/0.2109, allocations: 70.53 kB / 0.8355 GB, free: 5.691 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001555/0.211, allocations: 36.92 kB / 0.8356 GB, free: 5.652 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000299/0.2113, allocations: 31.97 kB / 0.8356 GB, free: 5.621 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.456e-05/0.2114, allocations: 34.56 kB / 0.8356 GB, free: 5.578 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=3): time 1.202e-06/0.2114, allocations: 4 kB / 0.8356 GB, free: 5.574 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3): time 0.0005626/0.2119, allocations: 145.5 kB / 0.8358 GB, free: 5.426 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.562e-05/0.212, allocations: 55.41 kB / 0.8358 GB, free: 5.359 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001206/0.2121, allocations: 123.1 kB / 0.8359 GB, free: 5.23 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.856e-05/0.2121, allocations: 25.7 kB / 0.836 GB, free: 5.199 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 6.529e-05/0.2122, allocations: 104.1 kB / 0.8361 GB, free: 5.094 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.482e-05/0.2122, allocations: 11.89 kB / 0.8361 GB, free: 5.082 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.487e-05/0.2122, allocations: 13.72 kB / 0.8361 GB, free: 5.062 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001358/0.2124, allocations: 318.8 kB / 0.8364 GB, free: 4.742 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001424/0.2125, allocations: 31.97 kB / 0.8364 GB, free: 4.711 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001334/0.2127, allocations: 47.89 kB / 0.8365 GB, free: 4.664 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002628/0.2129, allocations: 80.72 kB / 0.8365 GB, free: 4.582 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.2129, allocations: 0 / 0.8365 GB, free: 4.582 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003167/0.2132, allocations: 113.5 kB / 0.8366 GB, free: 4.465 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.786e-05/0.2133, allocations: 14.03 kB / 0.8367 GB, free: 4.453 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.2133, allocations: 0 / 0.8367 GB, free: 4.453 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.426e-05/0.2133, allocations: 0 / 0.8367 GB, free: 4.453 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001212/0.2134, allocations: 11.98 kB / 0.8367 GB, free: 4.441 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.554e-06/0.2134, allocations: 4 kB / 0.8367 GB, free: 4.438 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.545e-05/0.2135, allocations: 11.98 kB / 0.8367 GB, free: 4.426 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.077e-06/0.2135, allocations: 4 kB / 0.8367 GB, free: 4.422 MB / 0.5762 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 9.022e-05/0.2136, allocations: 118.4 kB / 0.8368 GB, free: 4.297 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.597e-05/0.2136, allocations: 7.953 kB / 0.8368 GB, free: 4.289 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003597/0.214, allocations: 125.9 kB / 0.8369 GB, free: 4.152 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.836e-06/0.214, allocations: 0 / 0.8369 GB, free: 4.152 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.908e-06/0.214, allocations: 0 / 0.8369 GB, free: 4.152 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/0.214, allocations: 7.938 kB / 0.8369 GB, free: 4.145 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001853/0.2142, allocations: 148.7 kB / 0.8371 GB, free: 3.957 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.2142, allocations: 4 kB / 0.8371 GB, free: 3.953 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.274e-05/0.2143, allocations: 19.97 kB / 0.8371 GB, free: 3.934 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.2143, allocations: 0 / 0.8371 GB, free: 3.934 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.496e-06/0.2143, allocations: 0 / 0.8371 GB, free: 3.934 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.2143, allocations: 0 / 0.8371 GB, free: 3.934 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.2143, allocations: 0 / 0.8371 GB, free: 3.934 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003809/0.2146, allocations: 215.4 kB / 0.8373 GB, free: 3.707 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.119e-05/0.2147, allocations: 0 / 0.8373 GB, free: 3.707 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.783e-05/0.2147, allocations: 4 kB / 0.8373 GB, free: 3.703 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001029/0.2148, allocations: 11.98 kB / 0.8373 GB, free: 3.691 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.444e-05/0.2148, allocations: 11.92 kB / 0.8373 GB, free: 3.68 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.759e-06/0.2148, allocations: 0 / 0.8373 GB, free: 3.68 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 7.675e-05/0.2149, allocations: 100.5 kB / 0.8374 GB, free: 3.582 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.01e-07/0.2149, allocations: 4 kB / 0.8374 GB, free: 3.578 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.000266/0.2152, allocations: 12 kB / 0.8374 GB, free: 3.566 MB / 0.5762 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.0007245/0.2159, allocations: 0.7397 MB / 0.8382 GB, free: 2.801 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0003383/0.2162, allocations: 87.84 kB / 0.8383 GB, free: 2.715 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.195e-06/0.2162, allocations: 0 / 0.8383 GB, free: 2.715 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001726/0.2164, allocations: 39.97 kB / 0.8383 GB, free: 2.676 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002516/0.2167, allocations: 16.44 kB / 0.8383 GB, free: 2.66 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005232/0.2172, allocations: 196.8 kB / 0.8385 GB, free: 2.43 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000379/0.2176, allocations: 0.6807 MB / 0.8392 GB, free: 1.723 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 2.972e-05/0.2176, allocations: 4 kB / 0.8392 GB, free: 1.719 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.519e-05/0.2176, allocations: 19.42 kB / 0.8392 GB, free: 1.699 MB / 0.5762 GB Notification: Performance of SimCode: time 3.2e-07/0.2177, allocations: 0 / 0.8392 GB, free: 1.699 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02877/0.2464, allocations: 2.011 MB / 0.8411 GB, free: 15.83 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.52/10.77, allocations: 4 kB / 0.8411 GB, free: 15.82 MB / 0.5919 GB " [Timeout remaining time 649] (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: 15.148294229002204] Failed to read output from testmodel.py, exit status != 0: 10.868679601997428 10.885680213 10.673723915 Calling exit ...