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.001262/0.001262, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.001365/0.001365, allocations: 217.9 kB / 23.05 MB, free: 5.074 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.429/1.429, allocations: 230.6 MB / 256.8 MB, free: 7.984 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.002633/0.002633, allocations: 282.2 kB / 313.5 MB, free: 2.805 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.297/1.297, allocations: 180.6 MB / 0.5377 GB, free: 13.11 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.002819/0.002819, allocations: 94.97 kB / 0.7403 GB, free: 28.11 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1698/0.1727, allocations: 95.39 MB / 0.8335 GB, free: 8.629 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.QuadraticLinear): time 0.002609/0.1753, allocations: 1.528 MB / 0.835 GB, free: 7.09 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0003139/0.1756, allocations: 112.6 kB / 0.8351 GB, free: 6.977 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.292e-05/0.1756, allocations: 4 kB / 0.8351 GB, free: 6.973 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 4.778e-05/0.1757, allocations: 3.938 kB / 0.8351 GB, free: 6.969 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 6.491e-05/0.1757, allocations: 19.84 kB / 0.8351 GB, free: 6.949 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001964/0.1759, allocations: 19.98 kB / 0.8351 GB, free: 6.93 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 8.49e-05/0.176, allocations: 47.78 kB / 0.8352 GB, free: 6.883 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 7.906e-05/0.1761, allocations: 8 kB / 0.8352 GB, free: 6.875 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 4.431e-05/0.1761, allocations: 11.98 kB / 0.8352 GB, free: 6.863 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 5.664e-05/0.1762, allocations: 31.84 kB / 0.8352 GB, free: 6.832 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.552e-05/0.1762, allocations: 4 kB / 0.8352 GB, free: 6.828 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 6.246e-05/0.1763, allocations: 19.98 kB / 0.8353 GB, free: 6.809 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 4.636e-05/0.1763, allocations: 11.98 kB / 0.8353 GB, free: 6.797 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 3.301e-05/0.1763, allocations: 23.86 kB / 0.8353 GB, free: 6.773 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001194/0.1765, allocations: 56.03 kB / 0.8354 GB, free: 6.719 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.1765, allocations: 4 kB / 0.8354 GB, free: 6.715 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.383e-06/0.1765, allocations: 0 / 0.8354 GB, free: 6.715 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.879e-06/0.1765, allocations: 0 / 0.8354 GB, free: 6.715 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.0004992/0.177, allocations: 298.1 kB / 0.8356 GB, free: 6.391 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.758e-05/0.177, allocations: 13.94 kB / 0.8357 GB, free: 6.379 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.437e-05/0.177, allocations: 192 / 0.8357 GB, free: 6.379 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.214e-05/0.1771, allocations: 34.75 kB / 0.8357 GB, free: 6.336 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.854e-05/0.1771, allocations: 12.89 kB / 0.8357 GB, free: 6.324 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001074/0.1772, allocations: 126.3 kB / 0.8358 GB, free: 6.176 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.566e-06/0.1772, allocations: 4.312 kB / 0.8358 GB, free: 6.172 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.062e-05/0.1772, allocations: 4.375 kB / 0.8358 GB, free: 6.168 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002517/0.1775, allocations: 73.97 kB / 0.8359 GB, free: 6.09 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.935e-06/0.1775, allocations: 3.938 kB / 0.8359 GB, free: 6.086 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.084e-05/0.1775, allocations: 4 kB / 0.8359 GB, free: 6.082 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.1775, allocations: 0 / 0.8359 GB, free: 6.082 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002894/0.1778, allocations: 75.92 kB / 0.836 GB, free: 6.008 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003575/0.1781, allocations: 259.9 kB / 0.8362 GB, free: 5.711 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002159/0.1783, allocations: 66.47 kB / 0.8363 GB, free: 5.637 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001594/0.1785, allocations: 48.91 kB / 0.8363 GB, free: 5.586 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002386/0.1787, allocations: 27.98 kB / 0.8364 GB, free: 5.559 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.777e-05/0.1788, allocations: 34.55 kB / 0.8364 GB, free: 5.516 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=3): time 1.392e-06/0.1788, allocations: 0 / 0.8364 GB, free: 5.516 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3): time 0.0005965/0.1794, allocations: 149.5 kB / 0.8365 GB, free: 5.363 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.111e-05/0.1794, allocations: 55.41 kB / 0.8366 GB, free: 5.297 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001142/0.1795, allocations: 123.3 kB / 0.8367 GB, free: 5.168 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.121e-05/0.1796, allocations: 29.7 kB / 0.8367 GB, free: 5.133 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 5.791e-05/0.1796, allocations: 96.09 kB / 0.8368 GB, free: 5.035 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.196e-05/0.1796, allocations: 11.89 kB / 0.8368 GB, free: 5.023 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.697e-05/0.1797, allocations: 13.72 kB / 0.8369 GB, free: 5.004 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001475/0.1798, allocations: 322.8 kB / 0.8372 GB, free: 4.68 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001505/0.18, allocations: 35.95 kB / 0.8372 GB, free: 4.645 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00014/0.1801, allocations: 36.16 kB / 0.8372 GB, free: 4.609 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002795/0.1804, allocations: 84.86 kB / 0.8373 GB, free: 4.523 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.1804, allocations: 0 / 0.8373 GB, free: 4.523 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003396/0.1807, allocations: 113.5 kB / 0.8374 GB, free: 4.406 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.706e-05/0.1808, allocations: 12 kB / 0.8374 GB, free: 4.395 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.697e-06/0.1808, allocations: 0 / 0.8374 GB, free: 4.395 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.279e-05/0.1808, allocations: 0 / 0.8374 GB, free: 4.395 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001239/0.1809, allocations: 11.98 kB / 0.8374 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.619e-06/0.1809, allocations: 4 kB / 0.8374 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.769e-05/0.181, allocations: 11.97 kB / 0.8375 GB, free: 4.367 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.219e-05/0.181, allocations: 8 kB / 0.8375 GB, free: 4.359 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.161e-05/0.1811, allocations: 114.4 kB / 0.8376 GB, free: 4.238 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.65e-05/0.1811, allocations: 7.953 kB / 0.8376 GB, free: 4.23 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003775/0.1815, allocations: 125.5 kB / 0.8377 GB, free: 4.094 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/0.1815, allocations: 0 / 0.8377 GB, free: 4.094 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.1815, allocations: 4 kB / 0.8377 GB, free: 4.09 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.365e-06/0.1815, allocations: 4 kB / 0.8377 GB, free: 4.086 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001859/0.1817, allocations: 152.6 kB / 0.8379 GB, free: 3.895 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.1817, allocations: 0 / 0.8379 GB, free: 3.895 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.295e-05/0.1818, allocations: 19.98 kB / 0.8379 GB, free: 3.875 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.1818, allocations: 3.938 kB / 0.8379 GB, free: 3.871 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.043e-06/0.1818, allocations: 0 / 0.8379 GB, free: 3.871 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.1818, allocations: 0 / 0.8379 GB, free: 3.871 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/0.1818, allocations: 4 kB / 0.8379 GB, free: 3.867 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003841/0.1822, allocations: 211.4 kB / 0.8381 GB, free: 3.645 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 8.395e-06/0.1822, allocations: 0 / 0.8381 GB, free: 3.645 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.351e-05/0.1822, allocations: 4 kB / 0.8381 GB, free: 3.641 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001045/0.1823, allocations: 11.98 kB / 0.8381 GB, free: 3.629 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.816e-05/0.1823, allocations: 7.984 kB / 0.8381 GB, free: 3.621 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.897e-06/0.1823, allocations: 0 / 0.8381 GB, free: 3.621 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 6.731e-05/0.1824, allocations: 100.5 kB / 0.8382 GB, free: 3.523 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.1824, allocations: 0 / 0.8382 GB, free: 3.523 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002297/0.1826, allocations: 20 kB / 0.8382 GB, free: 3.504 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.0007348/0.1834, allocations: 0.7413 MB / 0.8389 GB, free: 2.738 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.000354/0.1837, allocations: 79.92 kB / 0.839 GB, free: 2.66 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.1837, allocations: 3.938 kB / 0.839 GB, free: 2.656 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.000172/0.1839, allocations: 44.23 kB / 0.8391 GB, free: 2.613 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002787/0.1842, allocations: 6.578 kB / 0.8391 GB, free: 2.609 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005651/0.1848, allocations: 195.1 kB / 0.8393 GB, free: 2.379 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003411/0.1851, allocations: 0.6886 MB / 0.8399 GB, free: 1.664 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 3.085e-05/0.1851, allocations: 3.984 kB / 0.8399 GB, free: 1.66 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.105e-05/0.1852, allocations: 19.44 kB / 0.84 GB, free: 1.641 MB / 0.5762 GB Notification: Performance of SimCode: time 7.11e-07/0.1852, allocations: 0 / 0.84 GB, free: 1.641 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02159/0.2068, allocations: 2.051 MB / 0.842 GB, free: 15.74 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.76/10.97, allocations: 1.875 kB / 0.842 GB, free: 15.74 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.31759252998745] Failed to read output from testmodel.py, exit status != 0: 11.125203835021239 11.157865263 10.976085288 Calling exit ...