Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.Bicubic.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.001338/0.001338, 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.001597/0.001597, allocations: 213 kB / 22.24 MB, free: 5.258 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 MB, free: 7.801 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.002625/0.002625, allocations: 282.7 kB / 312.7 MB, free: 2.613 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.272/1.272, allocations: 180.6 MB / 0.5369 GB, free: 14.52 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.Bicubic,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_Bicubic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.Bicubic,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_Bicubic",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.002958/0.002958, allocations: 103.1 kB / 0.7395 GB, free: 28.23 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1686/0.1716, allocations: 95.38 MB / 0.8326 GB, free: 8.305 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.Bicubic): time 0.002975/0.1746, allocations: 1.513 MB / 0.8341 GB, free: 6.781 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0003774/0.1749, allocations: 120.4 kB / 0.8342 GB, free: 6.66 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.448e-05/0.175, allocations: 0 / 0.8342 GB, free: 6.66 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 5.091e-05/0.175, allocations: 3.938 kB / 0.8342 GB, free: 6.656 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 5.862e-05/0.1751, allocations: 15.92 kB / 0.8343 GB, free: 6.641 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002259/0.1753, allocations: 35.89 kB / 0.8343 GB, free: 6.605 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 9.914e-05/0.1754, allocations: 35.92 kB / 0.8343 GB, free: 6.57 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 9.067e-05/0.1755, allocations: 7.984 kB / 0.8343 GB, free: 6.562 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 5.465e-05/0.1756, allocations: 19.94 kB / 0.8344 GB, free: 6.543 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 5.068e-05/0.1756, allocations: 19.91 kB / 0.8344 GB, free: 6.523 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.015e-05/0.1756, allocations: 4 kB / 0.8344 GB, free: 6.52 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001007/0.1757, allocations: 31.97 kB / 0.8344 GB, free: 6.488 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 4.59e-05/0.1758, allocations: 23.91 kB / 0.8344 GB, free: 6.465 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 3.414e-05/0.1758, allocations: 19.88 kB / 0.8344 GB, free: 6.445 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001707/0.176, allocations: 79.88 kB / 0.8345 GB, free: 6.367 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.94e-06/0.176, allocations: 0 / 0.8345 GB, free: 6.367 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.633e-06/0.176, allocations: 0 / 0.8345 GB, free: 6.367 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.512e-06/0.176, allocations: 0 / 0.8345 GB, free: 6.367 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0005886/0.1766, allocations: 314 kB / 0.8348 GB, free: 6.027 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.436e-05/0.1766, allocations: 9.938 kB / 0.8348 GB, free: 6.02 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.711e-05/0.1767, allocations: 34.75 kB / 0.8349 GB, free: 5.977 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.771e-05/0.1767, allocations: 12.83 kB / 0.8349 GB, free: 5.965 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001258/0.1768, allocations: 122.4 kB / 0.835 GB, free: 5.82 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.437e-05/0.1769, allocations: 4.375 kB / 0.835 GB, free: 5.816 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.598e-06/0.1769, allocations: 384 / 0.835 GB, free: 5.816 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000312/0.1772, allocations: 110.2 kB / 0.8351 GB, free: 5.703 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.999e-06/0.1772, allocations: 3.938 kB / 0.8351 GB, free: 5.699 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.337e-06/0.1772, allocations: 0 / 0.8351 GB, free: 5.699 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.108e-05/0.1772, allocations: 11.98 kB / 0.8351 GB, free: 5.688 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003527/0.1776, allocations: 123.9 kB / 0.8352 GB, free: 5.566 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004943/0.1781, allocations: 307.7 kB / 0.8355 GB, free: 5.223 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002893/0.1784, allocations: 54.55 kB / 0.8356 GB, free: 5.16 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001454/0.1785, allocations: 36.91 kB / 0.8356 GB, free: 5.121 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002585/0.1788, allocations: 47.95 kB / 0.8357 GB, free: 5.074 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.699e-05/0.1788, allocations: 42.55 kB / 0.8357 GB, free: 5.023 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.1788, allocations: 0 / 0.8357 GB, free: 5.023 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3): time 0.0005535/0.1794, allocations: 141.4 kB / 0.8358 GB, free: 4.879 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.999e-05/0.1794, allocations: 55.34 kB / 0.8359 GB, free: 4.812 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002303/0.1796, allocations: 151.6 kB / 0.836 GB, free: 4.656 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.03e-05/0.1797, allocations: 25.7 kB / 0.8361 GB, free: 4.625 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 8.922e-05/0.1797, allocations: 119.8 kB / 0.8362 GB, free: 4.504 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.069e-05/0.1798, allocations: 7.953 kB / 0.8362 GB, free: 4.496 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.769e-05/0.1798, allocations: 37.66 kB / 0.8362 GB, free: 4.453 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001435/0.18, allocations: 318.8 kB / 0.8365 GB, free: 4.133 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001628/0.1801, allocations: 43.95 kB / 0.8366 GB, free: 4.09 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002174/0.1803, allocations: 113.4 kB / 0.8367 GB, free: 3.945 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000456/0.1808, allocations: 173.4 kB / 0.8368 GB, free: 3.742 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.1808, allocations: 0 / 0.8368 GB, free: 3.742 MB / 0.5762 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004589/0.1813, allocations: 189.3 kB / 0.837 GB, free: 3.551 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.752e-05/0.1813, allocations: 7.984 kB / 0.837 GB, free: 3.543 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.125e-06/0.1813, allocations: 4.312 kB / 0.837 GB, free: 3.539 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.088e-05/0.1813, allocations: 11.94 kB / 0.837 GB, free: 3.527 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001594/0.1815, allocations: 27.98 kB / 0.8371 GB, free: 3.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.079e-05/0.1815, allocations: 11.92 kB / 0.8371 GB, free: 3.488 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001179/0.1816, allocations: 27.88 kB / 0.8371 GB, free: 3.461 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.759e-05/0.1816, allocations: 11.94 kB / 0.8371 GB, free: 3.449 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (13): * Single equations (assignments): 13 * 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.0001017/0.1817, allocations: 118.5 kB / 0.8372 GB, free: 3.324 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.691e-05/0.1817, allocations: 0 / 0.8372 GB, free: 3.324 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003854/0.1821, allocations: 125.9 kB / 0.8373 GB, free: 3.184 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.1821, allocations: 3.938 kB / 0.8374 GB, free: 3.18 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.1821, allocations: 0 / 0.8374 GB, free: 3.18 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.275e-06/0.1821, allocations: 0 / 0.8374 GB, free: 3.18 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001852/0.1823, allocations: 152.6 kB / 0.8375 GB, free: 2.988 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.1823, allocations: 8 kB / 0.8375 GB, free: 2.98 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.54e-05/0.1824, allocations: 15.98 kB / 0.8375 GB, free: 2.965 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.1824, allocations: 0 / 0.8375 GB, free: 2.965 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.784e-06/0.1824, allocations: 0 / 0.8375 GB, free: 2.965 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/0.1824, allocations: 3.938 kB / 0.8375 GB, free: 2.961 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.1824, allocations: 4 kB / 0.8375 GB, free: 2.957 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003727/0.1828, allocations: 199.4 kB / 0.8377 GB, free: 2.746 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.242e-05/0.1828, allocations: 4 kB / 0.8377 GB, free: 2.742 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.781e-05/0.1828, allocations: 4 kB / 0.8377 GB, free: 2.738 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001029/0.1829, allocations: 11.92 kB / 0.8377 GB, free: 2.727 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.335e-05/0.183, allocations: 11.92 kB / 0.8378 GB, free: 2.715 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.111e-06/0.183, allocations: 0 / 0.8378 GB, free: 2.715 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 8.297e-05/0.1831, allocations: 113.1 kB / 0.8379 GB, free: 2.605 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.1831, allocations: 0 / 0.8379 GB, free: 2.605 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002633/0.1833, allocations: 19.95 kB / 0.8379 GB, free: 2.586 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.0007422/0.1841, allocations: 0.7334 MB / 0.8386 GB, free: 1.828 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0003968/0.1845, allocations: 100.4 kB / 0.8387 GB, free: 1.73 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.1845, allocations: 4 kB / 0.8387 GB, free: 1.727 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001919/0.1847, allocations: 35.97 kB / 0.8387 GB, free: 1.691 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003456/0.185, allocations: 11.94 kB / 0.8387 GB, free: 1.68 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006046/0.1856, allocations: 209.1 kB / 0.8389 GB, free: 1.434 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.273e-05/0.1857, allocations: 75.83 kB / 0.839 GB, free: 1.34 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 8.938e-05/0.1858, allocations: 28.41 kB / 0.839 GB, free: 1.312 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.184e-05/0.1859, allocations: 27.38 kB / 0.8391 GB, free: 1.285 MB / 0.5762 GB Notification: Performance of SimCode: time 5.91e-07/0.1859, allocations: 0 / 0.8391 GB, free: 1.285 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03119/0.217, allocations: 2.752 MB / 0.8418 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.27/11.49, allocations: 2.75 kB / 0.8418 GB, free: 14.68 MB / 0.5919 GB " [Timeout remaining time 648] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.Bicubic.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.Bicubic.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.Bicubic.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.Bicubic.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Utilities.Math.Examples.Bicubic_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_Bicubic.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Examples.Bicubic.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.791401280090213] Failed to read output from testmodel.py, exit status != 0: 11.594175693113357 11.610899713 11.431653604 Calling exit ...