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.001848/0.001848, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002352/0.002352, allocations: 210.5 kB / 22.24 MB, free: 5.262 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.492/1.492, allocations: 230.6 MB / 256 MB, free: 7.746 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.002739/0.002739, allocations: 279.8 kB / 312.7 MB, free: 2.574 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.228/1.228, allocations: 180.6 MB / 0.5369 GB, free: 14.38 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.005273/0.005273, allocations: 113 kB / 0.7395 GB, free: 28.52 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2123/0.2175, allocations: 95.39 MB / 0.8327 GB, free: 8.312 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.QuadraticLinear): time 0.00307/0.2206, allocations: 1.496 MB / 0.8341 GB, free: 6.805 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0003655/0.221, allocations: 108.5 kB / 0.8342 GB, free: 6.695 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.858e-05/0.221, allocations: 0 / 0.8342 GB, free: 6.695 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 4.835e-05/0.2211, allocations: 7.922 kB / 0.8342 GB, free: 6.688 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 5.753e-05/0.2211, allocations: 7.938 kB / 0.8342 GB, free: 6.68 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002261/0.2213, allocations: 27.89 kB / 0.8343 GB, free: 6.652 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001034/0.2215, allocations: 43.86 kB / 0.8343 GB, free: 6.609 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001017/0.2216, allocations: 11.98 kB / 0.8343 GB, free: 6.598 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 5.289e-05/0.2216, allocations: 15.94 kB / 0.8343 GB, free: 6.582 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 5.512e-05/0.2217, allocations: 23.91 kB / 0.8344 GB, free: 6.559 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.858e-05/0.2217, allocations: 4 kB / 0.8344 GB, free: 6.555 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 7.866e-05/0.2218, allocations: 19.98 kB / 0.8344 GB, free: 6.535 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 4.871e-05/0.2218, allocations: 11.92 kB / 0.8344 GB, free: 6.523 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 3.119e-05/0.2218, allocations: 11.94 kB / 0.8344 GB, free: 6.512 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001574/0.222, allocations: 64.02 kB / 0.8345 GB, free: 6.449 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.222, allocations: 3.938 kB / 0.8345 GB, free: 6.445 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.844e-06/0.222, allocations: 0 / 0.8345 GB, free: 6.445 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.751e-06/0.222, allocations: 7.938 kB / 0.8345 GB, free: 6.438 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.0005631/0.2226, allocations: 306 kB / 0.8348 GB, free: 6.105 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.581e-05/0.2226, allocations: 13.34 kB / 0.8348 GB, free: 6.094 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.782e-05/0.2227, allocations: 30.75 kB / 0.8348 GB, free: 6.055 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.87e-05/0.2227, allocations: 4.891 kB / 0.8348 GB, free: 6.051 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001351/0.2228, allocations: 122.4 kB / 0.8349 GB, free: 5.906 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.323e-05/0.2228, allocations: 4.375 kB / 0.8349 GB, free: 5.902 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.257e-05/0.2228, allocations: 384 / 0.8349 GB, free: 5.902 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002698/0.2231, allocations: 78.22 kB / 0.835 GB, free: 5.82 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/0.2231, allocations: 3.938 kB / 0.835 GB, free: 5.816 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.494e-06/0.2231, allocations: 0 / 0.835 GB, free: 5.816 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.677e-06/0.2231, allocations: 0 / 0.835 GB, free: 5.816 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002967/0.2234, allocations: 75.86 kB / 0.8351 GB, free: 5.742 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004148/0.2238, allocations: 263.9 kB / 0.8353 GB, free: 5.441 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002228/0.2241, allocations: 66.53 kB / 0.8354 GB, free: 5.367 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001527/0.2242, allocations: 40.92 kB / 0.8354 GB, free: 5.324 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002495/0.2245, allocations: 31.97 kB / 0.8355 GB, free: 5.293 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.399e-05/0.2245, allocations: 34.5 kB / 0.8355 GB, free: 5.25 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=3): time 1.202e-06/0.2245, allocations: 3.938 kB / 0.8355 GB, free: 5.246 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3): time 0.0005772/0.2251, allocations: 149.6 kB / 0.8356 GB, free: 5.094 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.19e-05/0.2251, allocations: 51.41 kB / 0.8357 GB, free: 5.031 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001313/0.2253, allocations: 128.7 kB / 0.8358 GB, free: 4.898 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.67e-05/0.2253, allocations: 25.7 kB / 0.8358 GB, free: 4.867 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 6.736e-05/0.2253, allocations: 96.08 kB / 0.8359 GB, free: 4.77 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.962e-05/0.2254, allocations: 15.89 kB / 0.8359 GB, free: 4.754 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.262e-05/0.2254, allocations: 13.72 kB / 0.836 GB, free: 4.734 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001583/0.2256, allocations: 318.8 kB / 0.8363 GB, free: 4.414 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001457/0.2257, allocations: 31.97 kB / 0.8363 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000138/0.2258, allocations: 39.95 kB / 0.8363 GB, free: 4.344 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000278/0.2261, allocations: 92.92 kB / 0.8364 GB, free: 4.25 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.2261, allocations: 4 kB / 0.8364 GB, free: 4.246 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003218/0.2264, allocations: 109.6 kB / 0.8365 GB, free: 4.133 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.347e-05/0.2265, allocations: 4 kB / 0.8365 GB, free: 4.129 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.887e-06/0.2265, allocations: 0 / 0.8365 GB, free: 4.129 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.315e-05/0.2265, allocations: 0 / 0.8365 GB, free: 4.129 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001164/0.2266, allocations: 19.98 kB / 0.8366 GB, free: 4.109 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.408e-06/0.2266, allocations: 0 / 0.8366 GB, free: 4.109 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.843e-05/0.2267, allocations: 11.98 kB / 0.8366 GB, free: 4.098 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.806e-06/0.2267, allocations: 3.984 kB / 0.8366 GB, free: 4.094 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 0.000102/0.2268, allocations: 122.4 kB / 0.8367 GB, free: 3.965 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.444e-05/0.2268, allocations: 7.953 kB / 0.8367 GB, free: 3.957 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003622/0.2272, allocations: 121.5 kB / 0.8368 GB, free: 3.824 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.2272, allocations: 3.938 kB / 0.8368 GB, free: 3.82 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.2272, allocations: 0 / 0.8368 GB, free: 3.82 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.152e-05/0.2272, allocations: 3.984 kB / 0.8368 GB, free: 3.816 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001795/0.2274, allocations: 148.7 kB / 0.837 GB, free: 3.629 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.2274, allocations: 0 / 0.837 GB, free: 3.629 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.435e-05/0.2275, allocations: 19.97 kB / 0.837 GB, free: 3.609 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.2275, allocations: 0 / 0.837 GB, free: 3.609 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.444e-06/0.2275, allocations: 0 / 0.837 GB, free: 3.609 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.2275, allocations: 0 / 0.837 GB, free: 3.609 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.2275, allocations: 4 kB / 0.837 GB, free: 3.605 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003947/0.2279, allocations: 215.3 kB / 0.8372 GB, free: 3.379 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 8.977e-06/0.2279, allocations: 0 / 0.8372 GB, free: 3.379 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.343e-05/0.2279, allocations: 3.938 kB / 0.8372 GB, free: 3.375 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.933e-05/0.228, allocations: 11.98 kB / 0.8372 GB, free: 3.363 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.464e-05/0.2281, allocations: 7.984 kB / 0.8372 GB, free: 3.355 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.57e-06/0.2281, allocations: 4 kB / 0.8372 GB, free: 3.352 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 6.98e-05/0.2281, allocations: 103.3 kB / 0.8373 GB, free: 3.25 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.2281, allocations: 0 / 0.8373 GB, free: 3.25 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002291/0.2284, allocations: 12 kB / 0.8373 GB, free: 3.238 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.0007942/0.2292, allocations: 0.7413 MB / 0.838 GB, free: 2.473 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0003534/0.2295, allocations: 87.91 kB / 0.8381 GB, free: 2.387 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.2295, allocations: 0 / 0.8381 GB, free: 2.387 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001481/0.2297, allocations: 35.97 kB / 0.8382 GB, free: 2.352 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002375/0.2299, allocations: 9.875 kB / 0.8382 GB, free: 2.344 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005192/0.2304, allocations: 187.1 kB / 0.8384 GB, free: 2.121 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.541e-05/0.2305, allocations: 79.64 kB / 0.8384 GB, free: 2.023 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 3.092e-05/0.2305, allocations: 4 kB / 0.8384 GB, free: 2.02 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.715e-05/0.2306, allocations: 19.42 kB / 0.8385 GB, free: 2 MB / 0.5762 GB Notification: Performance of SimCode: time 2.91e-07/0.2306, allocations: 0 / 0.8385 GB, free: 2 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03238/0.2629, allocations: 2.466 MB / 0.8409 GB, free: 15.68 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.22/11.49, allocations: 4.062 kB / 0.8409 GB, free: 15.67 MB / 0.5919 GB " [Timeout remaining time 648] (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.86021801782772] Failed to read output from testmodel.py, exit status != 0: 11.597883062902838 11.627031314 11.39946368 Calling exit ...