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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006271/0.006271, allocations: 97.58 kB / 15.73 MB, free: 5.988 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001256/0.001256, allocations: 192 kB / 16.67 MB, free: 5.918 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.437/1.437, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002544/0.002544, allocations: 294.5 kB / 290.8 MB, free: 1.914 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.009/1.009, allocations: 169.3 MB / 0.4983 GB, free: 13.78 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002698/0.002698, allocations: 92.38 kB / 0.681 GB, free: 15.99 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1721/0.1749, allocations: 86.97 MB / 0.7659 GB, free: 8.938 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.Bicubic): time 0.002723/0.1776, allocations: 1.491 MB / 0.7674 GB, free: 7.438 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0003333/0.178, allocations: 116.5 kB / 0.7675 GB, free: 7.32 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.218e-05/0.178, allocations: 0 / 0.7675 GB, free: 7.32 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 4.324e-05/0.1781, allocations: 3.938 kB / 0.7675 GB, free: 7.316 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 6.475e-05/0.1781, allocations: 11.88 kB / 0.7675 GB, free: 7.305 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002496/0.1784, allocations: 35.95 kB / 0.7675 GB, free: 7.27 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 9.815e-05/0.1785, allocations: 39.86 kB / 0.7676 GB, free: 7.23 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000102/0.1786, allocations: 11.98 kB / 0.7676 GB, free: 7.219 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 5.312e-05/0.1787, allocations: 27.91 kB / 0.7676 GB, free: 7.191 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 5.13e-05/0.1787, allocations: 15.92 kB / 0.7676 GB, free: 7.176 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.751e-05/0.1788, allocations: 7.938 kB / 0.7676 GB, free: 7.168 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 9.531e-05/0.1789, allocations: 39.95 kB / 0.7677 GB, free: 7.129 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 3.772e-05/0.1789, allocations: 8 kB / 0.7677 GB, free: 7.121 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.747e-05/0.1789, allocations: 27.8 kB / 0.7677 GB, free: 7.094 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001554/0.1791, allocations: 75.92 kB / 0.7678 GB, free: 7.02 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.151e-06/0.1791, allocations: 8 kB / 0.7678 GB, free: 7.012 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.303e-06/0.1791, allocations: 0 / 0.7678 GB, free: 7.012 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.21e-06/0.1791, allocations: 0 / 0.7678 GB, free: 7.012 MB / 0.5606 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.0005565/0.1797, allocations: 379.2 kB / 0.7681 GB, free: 6.59 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.57e-05/0.1797, allocations: 8.031 kB / 0.7681 GB, free: 6.582 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.98e-05/0.1798, allocations: 38.75 kB / 0.7682 GB, free: 6.535 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.52e-05/0.1798, allocations: 4.891 kB / 0.7682 GB, free: 6.531 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001396/0.18, allocations: 176.2 kB / 0.7684 GB, free: 6.32 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.255e-05/0.18, allocations: 8.375 kB / 0.7684 GB, free: 6.312 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.047e-05/0.18, allocations: 4.312 kB / 0.7684 GB, free: 6.309 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003176/0.1803, allocations: 118.1 kB / 0.7685 GB, free: 6.188 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.1803, allocations: 3.938 kB / 0.7685 GB, free: 6.184 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.337e-06/0.1804, allocations: 0 / 0.7685 GB, free: 6.184 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.966e-05/0.1804, allocations: 12 kB / 0.7685 GB, free: 6.172 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003562/0.1808, allocations: 127.8 kB / 0.7686 GB, free: 6.047 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004592/0.1812, allocations: 352.6 kB / 0.769 GB, free: 5.652 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002049/0.1814, allocations: 54.55 kB / 0.769 GB, free: 5.59 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001547/0.1816, allocations: 44.91 kB / 0.7691 GB, free: 5.543 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002944/0.1819, allocations: 121.1 kB / 0.7692 GB, free: 5.406 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.375e-05/0.1819, allocations: 34.5 kB / 0.7692 GB, free: 5.363 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.182, allocations: 0 / 0.7692 GB, free: 5.363 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3): time 0.0005547/0.1825, allocations: 129.6 kB / 0.7693 GB, free: 5.23 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.663e-05/0.1826, allocations: 63.34 kB / 0.7694 GB, free: 5.156 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001429/0.1827, allocations: 147.7 kB / 0.7695 GB, free: 5.004 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.888e-05/0.1827, allocations: 29.7 kB / 0.7696 GB, free: 4.969 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 8.864e-05/0.1828, allocations: 120 kB / 0.7697 GB, free: 4.848 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.199e-05/0.1829, allocations: 7.891 kB / 0.7697 GB, free: 4.84 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.679e-05/0.1829, allocations: 37.66 kB / 0.7697 GB, free: 4.797 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001398/0.1831, allocations: 314.8 kB / 0.77 GB, free: 4.48 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001754/0.1832, allocations: 55.94 kB / 0.7701 GB, free: 4.426 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002137/0.1835, allocations: 113.3 kB / 0.7702 GB, free: 4.281 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003713/0.1838, allocations: 169.2 kB / 0.7703 GB, free: 4.082 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.1839, allocations: 0 / 0.7703 GB, free: 4.082 MB / 0.5606 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004529/0.1843, allocations: 189.5 kB / 0.7705 GB, free: 3.891 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/0.1843, allocations: 8 kB / 0.7705 GB, free: 3.883 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.1844, allocations: 0 / 0.7705 GB, free: 3.883 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.742e-05/0.1844, allocations: 7.938 kB / 0.7705 GB, free: 3.875 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00016/0.1845, allocations: 36.28 kB / 0.7706 GB, free: 3.84 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.135e-06/0.1846, allocations: 11.94 kB / 0.7706 GB, free: 3.828 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001088/0.1847, allocations: 19.94 kB / 0.7706 GB, free: 3.809 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.142e-05/0.1847, allocations: 12 kB / 0.7706 GB, free: 3.797 MB / 0.5606 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.0001004/0.1848, allocations: 122.4 kB / 0.7707 GB, free: 3.668 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.964e-05/0.1848, allocations: 15.88 kB / 0.7707 GB, free: 3.652 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003769/0.1852, allocations: 117.8 kB / 0.7709 GB, free: 3.527 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.999e-06/0.1852, allocations: 3.938 kB / 0.7709 GB, free: 3.523 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.135e-06/0.1852, allocations: 0 / 0.7709 GB, free: 3.523 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.1852, allocations: 0 / 0.7709 GB, free: 3.523 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001915/0.1854, allocations: 177.6 kB / 0.771 GB, free: 3.301 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.61e-07/0.1855, allocations: 0 / 0.771 GB, free: 3.301 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.078e-05/0.1856, allocations: 19.98 kB / 0.771 GB, free: 3.281 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.1856, allocations: 0 / 0.771 GB, free: 3.281 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.734e-06/0.1856, allocations: 3.938 kB / 0.771 GB, free: 3.277 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.532e-06/0.1856, allocations: 11.92 kB / 0.7711 GB, free: 3.266 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.1856, allocations: 0 / 0.7711 GB, free: 3.266 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003758/0.186, allocations: 203.4 kB / 0.7713 GB, free: 3.051 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.089e-05/0.186, allocations: 81.06 kB / 0.7713 GB, free: 2.953 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.499e-05/0.1861, allocations: 0 / 0.7713 GB, free: 2.953 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001111/0.1862, allocations: 19.91 kB / 0.7713 GB, free: 2.934 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.793e-05/0.1862, allocations: 4 kB / 0.7714 GB, free: 2.93 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.231e-06/0.1862, allocations: 0 / 0.7714 GB, free: 2.93 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 7.84e-05/0.1863, allocations: 113.8 kB / 0.7715 GB, free: 2.82 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1863, allocations: 0 / 0.7715 GB, free: 2.82 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002601/0.1866, allocations: 24 kB / 0.7715 GB, free: 2.797 MB / 0.5606 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.0007217/0.1873, allocations: 0.7396 MB / 0.7722 GB, free: 2.031 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.000383/0.1877, allocations: 103.8 kB / 0.7723 GB, free: 1.93 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.1877, allocations: 0 / 0.7723 GB, free: 1.93 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001508/0.1879, allocations: 40.53 kB / 0.7723 GB, free: 1.891 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003193/0.1882, allocations: 15.92 kB / 0.7724 GB, free: 1.875 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005403/0.1888, allocations: 195.6 kB / 0.7725 GB, free: 1.645 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003133/0.1891, allocations: 0.6924 MB / 0.7732 GB, free: 0.9258 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 9.016e-05/0.1892, allocations: 24.41 kB / 0.7732 GB, free: 0.9023 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.276e-05/0.1892, allocations: 31.42 kB / 0.7733 GB, free: 0.8711 MB / 0.5606 GB Notification: Performance of SimCode: time 3.21e-07/0.1892, allocations: 0 / 0.7733 GB, free: 0.8711 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3425/0.5317, allocations: 2.196 MB / 0.7754 GB, free: 14.37 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.772/8.304, allocations: 4.734 kB / 0.7754 GB, free: 14.37 MB / 0.5606 GB (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)