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.001254/0.001254, allocations: 105.2 kB / 19.73 MB, free: 2.113 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.0014/0.0014, allocations: 218.4 kB / 23.03 MB, free: 4.91 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.467/1.467, allocations: 230.6 MB / 256.8 MB, free: 7.82 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.00246/0.00246, allocations: 288.9 kB / 313.5 MB, free: 2.625 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.239/1.239, allocations: 180.6 MB / 0.5377 GB, free: 14.48 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.QuadraticLinear,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_QuadraticLinear",fmuType="cs",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.002766/0.002766, allocations: 103.5 kB / 0.7403 GB, free: 27.9 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1937/0.1965, allocations: 95.39 MB / 0.8334 GB, free: 8.207 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.QuadraticLinear): time 0.002963/0.1994, allocations: 1.497 MB / 0.8349 GB, free: 6.699 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0003732/0.1998, allocations: 104.6 kB / 0.835 GB, free: 6.594 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.666e-05/0.1998, allocations: 4 kB / 0.835 GB, free: 6.59 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 4.527e-05/0.1999, allocations: 7.938 kB / 0.835 GB, free: 6.582 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 6.226e-05/0.1999, allocations: 15.84 kB / 0.835 GB, free: 6.566 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002274/0.2002, allocations: 19.98 kB / 0.835 GB, free: 6.547 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 9.372e-05/0.2003, allocations: 43.84 kB / 0.8351 GB, free: 6.504 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 9.454e-05/0.2004, allocations: 8 kB / 0.8351 GB, free: 6.496 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 5.039e-05/0.2004, allocations: 15.92 kB / 0.8351 GB, free: 6.48 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 5.472e-05/0.2005, allocations: 31.84 kB / 0.8351 GB, free: 6.449 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.719e-05/0.2005, allocations: 4 kB / 0.8351 GB, free: 6.445 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 6.998e-05/0.2006, allocations: 19.98 kB / 0.8351 GB, free: 6.426 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 5.504e-05/0.2006, allocations: 15.94 kB / 0.8352 GB, free: 6.41 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 3.177e-05/0.2006, allocations: 19.91 kB / 0.8352 GB, free: 6.391 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001368/0.2008, allocations: 56.03 kB / 0.8352 GB, free: 6.336 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.2008, allocations: 0 / 0.8352 GB, free: 6.336 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.132e-06/0.2008, allocations: 0 / 0.8352 GB, free: 6.336 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.5e-06/0.2008, allocations: 0 / 0.8352 GB, free: 6.336 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.0005354/0.2013, allocations: 306 kB / 0.8355 GB, free: 6.004 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.248e-05/0.2014, allocations: 13.34 kB / 0.8355 GB, free: 5.992 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.257e-05/0.2014, allocations: 192 / 0.8355 GB, free: 5.992 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.951e-05/0.2014, allocations: 34.75 kB / 0.8356 GB, free: 5.949 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.816e-05/0.2014, allocations: 8.891 kB / 0.8356 GB, free: 5.941 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001247/0.2016, allocations: 122.4 kB / 0.8357 GB, free: 5.797 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.085e-05/0.2016, allocations: 8.375 kB / 0.8357 GB, free: 5.789 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.321e-05/0.2016, allocations: 384 / 0.8357 GB, free: 5.789 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002663/0.2019, allocations: 85.84 kB / 0.8358 GB, free: 5.699 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.695e-06/0.2019, allocations: 4 kB / 0.8358 GB, free: 5.695 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.829e-06/0.2019, allocations: 0 / 0.8358 GB, free: 5.695 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.469e-06/0.2019, allocations: 0 / 0.8358 GB, free: 5.695 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002825/0.2022, allocations: 75.92 kB / 0.8359 GB, free: 5.621 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003732/0.2025, allocations: 259.9 kB / 0.8361 GB, free: 5.324 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002101/0.2027, allocations: 62.47 kB / 0.8362 GB, free: 5.254 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001554/0.2029, allocations: 44.92 kB / 0.8362 GB, free: 5.207 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002112/0.2031, allocations: 35.97 kB / 0.8362 GB, free: 5.172 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.646e-05/0.2031, allocations: 34.5 kB / 0.8363 GB, free: 5.129 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=3): time 9.32e-07/0.2031, allocations: 0 / 0.8363 GB, free: 5.129 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3): time 0.0005355/0.2037, allocations: 145.6 kB / 0.8364 GB, free: 4.98 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.966e-05/0.2037, allocations: 55.34 kB / 0.8365 GB, free: 4.914 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001259/0.2038, allocations: 127.7 kB / 0.8366 GB, free: 4.781 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.985e-05/0.2039, allocations: 25.7 kB / 0.8366 GB, free: 4.75 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 6.142e-05/0.2039, allocations: 100.1 kB / 0.8367 GB, free: 4.648 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.325e-05/0.2039, allocations: 11.89 kB / 0.8367 GB, free: 4.637 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.657e-05/0.204, allocations: 13.72 kB / 0.8367 GB, free: 4.617 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001369/0.2041, allocations: 322.8 kB / 0.837 GB, free: 4.293 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001474/0.2043, allocations: 35.97 kB / 0.8371 GB, free: 4.258 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001329/0.2044, allocations: 39.95 kB / 0.8371 GB, free: 4.219 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002668/0.2047, allocations: 76.78 kB / 0.8372 GB, free: 4.141 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.2047, allocations: 0 / 0.8372 GB, free: 4.141 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003288/0.205, allocations: 113.6 kB / 0.8373 GB, free: 4.023 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.589e-05/0.205, allocations: 8 kB / 0.8373 GB, free: 4.016 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.205, allocations: 3.938 kB / 0.8373 GB, free: 4.012 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.104e-05/0.205, allocations: 0 / 0.8373 GB, free: 4.012 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001221/0.2052, allocations: 15.98 kB / 0.8373 GB, free: 3.996 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.981e-06/0.2052, allocations: 0 / 0.8373 GB, free: 3.996 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.492e-05/0.2052, allocations: 11.98 kB / 0.8373 GB, free: 3.984 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.172e-05/0.2052, allocations: 4 kB / 0.8373 GB, free: 3.98 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.0001113/0.2054, allocations: 122.4 kB / 0.8375 GB, free: 3.852 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.768e-05/0.2054, allocations: 3.953 kB / 0.8375 GB, free: 3.848 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003991/0.2058, allocations: 117.9 kB / 0.8376 GB, free: 3.719 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.103e-06/0.2058, allocations: 8.031 kB / 0.8376 GB, free: 3.711 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.682e-06/0.2058, allocations: 0 / 0.8376 GB, free: 3.711 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.756e-06/0.2058, allocations: 0 / 0.8376 GB, free: 3.711 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001982/0.206, allocations: 148.7 kB / 0.8377 GB, free: 3.523 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.206, allocations: 4 kB / 0.8377 GB, free: 3.52 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.295e-05/0.2061, allocations: 15.92 kB / 0.8377 GB, free: 3.504 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.428e-06/0.2061, allocations: 3.984 kB / 0.8377 GB, free: 3.5 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.22e-05/0.2061, allocations: 4 kB / 0.8377 GB, free: 3.496 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.2061, allocations: 3.938 kB / 0.8377 GB, free: 3.492 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.797e-06/0.2061, allocations: 4 kB / 0.8378 GB, free: 3.488 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004114/0.2065, allocations: 211.4 kB / 0.838 GB, free: 3.266 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.075e-05/0.2065, allocations: 7.938 kB / 0.838 GB, free: 3.258 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.579e-05/0.2066, allocations: 0 / 0.838 GB, free: 3.258 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001083/0.2067, allocations: 11.98 kB / 0.838 GB, free: 3.246 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.264e-05/0.2067, allocations: 7.984 kB / 0.838 GB, free: 3.238 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.332e-06/0.2067, allocations: 4 kB / 0.838 GB, free: 3.234 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 6.952e-05/0.2068, allocations: 97.52 kB / 0.8381 GB, free: 3.141 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.2068, allocations: 0 / 0.8381 GB, free: 3.141 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002343/0.207, allocations: 8 kB / 0.8381 GB, free: 3.133 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.0007857/0.2078, allocations: 0.753 MB / 0.8388 GB, free: 2.355 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0003618/0.2082, allocations: 79.91 kB / 0.8389 GB, free: 2.277 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.2082, allocations: 0 / 0.8389 GB, free: 2.277 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001573/0.2083, allocations: 43.91 kB / 0.8389 GB, free: 2.234 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002773/0.2086, allocations: 8 kB / 0.8389 GB, free: 2.227 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000593/0.2092, allocations: 187.1 kB / 0.8391 GB, free: 2.004 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.009e-05/0.2093, allocations: 71.33 kB / 0.8392 GB, free: 1.914 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 3.495e-05/0.2093, allocations: 7.984 kB / 0.8392 GB, free: 1.906 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.071e-05/0.2094, allocations: 19.42 kB / 0.8392 GB, free: 1.887 MB / 0.5762 GB Notification: Performance of SimCode: time 3.41e-07/0.2094, allocations: 4 kB / 0.8392 GB, free: 1.883 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02223/0.2316, allocations: 2.104 MB / 0.8413 GB, free: 15.94 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.06/11.29, allocations: 6.25 kB / 0.8413 GB, free: 15.93 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Examples_QuadraticLinear_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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.669379167957231] Failed to read output from testmodel.py, exit status != 0: 11.454200435080566 11.479327336 11.274269445 Calling exit ...