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.004882/0.004882, allocations: 99.34 kB / 15.73 MB, free: 6.008 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.001231/0.001231, allocations: 198.7 kB / 16.67 MB, free: 5.934 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.352/1.352, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002238/0.002238, allocations: 282.7 kB / 290.8 MB, free: 1.926 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.992/0.992, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001675/0.001675, allocations: 92.27 kB / 0.681 GB, free: 15.98 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1748/0.1765, allocations: 86.97 MB / 0.7659 GB, free: 8.93 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.Bicubic): time 0.002626/0.1792, allocations: 1.488 MB / 0.7674 GB, free: 7.434 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0003319/0.1795, allocations: 120.5 kB / 0.7675 GB, free: 7.312 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.482e-05/0.1796, allocations: 0 / 0.7675 GB, free: 7.312 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 5.046e-05/0.1796, allocations: 3.984 kB / 0.7675 GB, free: 7.309 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 6.254e-05/0.1797, allocations: 15.88 kB / 0.7675 GB, free: 7.293 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002383/0.18, allocations: 23.97 kB / 0.7675 GB, free: 7.27 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 9.118e-05/0.1801, allocations: 51.78 kB / 0.7676 GB, free: 7.219 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001064/0.1802, allocations: 8 kB / 0.7676 GB, free: 7.211 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 4.886e-05/0.1802, allocations: 19.97 kB / 0.7676 GB, free: 7.191 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 5.181e-05/0.1803, allocations: 23.84 kB / 0.7676 GB, free: 7.168 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.706e-05/0.1803, allocations: 8 kB / 0.7676 GB, free: 7.16 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 9.127e-05/0.1804, allocations: 35.97 kB / 0.7677 GB, free: 7.125 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 4.185e-05/0.1804, allocations: 11.98 kB / 0.7677 GB, free: 7.113 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.467e-05/0.1805, allocations: 23.81 kB / 0.7677 GB, free: 7.09 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001572/0.1806, allocations: 83.86 kB / 0.7678 GB, free: 7.008 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.92e-06/0.1807, allocations: 0 / 0.7678 GB, free: 7.008 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.563e-06/0.1807, allocations: 0 / 0.7678 GB, free: 7.008 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.881e-06/0.1807, allocations: 4 kB / 0.7678 GB, free: 7.004 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.0005679/0.1812, allocations: 379.2 kB / 0.7681 GB, free: 6.582 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.837e-05/0.1813, allocations: 8.031 kB / 0.7681 GB, free: 6.574 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.101e-05/0.1813, allocations: 42.73 kB / 0.7682 GB, free: 6.523 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.91e-05/0.1814, allocations: 4.891 kB / 0.7682 GB, free: 6.52 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001243/0.1815, allocations: 176.2 kB / 0.7684 GB, free: 6.309 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.648e-05/0.1815, allocations: 8.359 kB / 0.7684 GB, free: 6.301 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.539e-05/0.1815, allocations: 4.375 kB / 0.7684 GB, free: 6.297 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002927/0.1818, allocations: 110.1 kB / 0.7685 GB, free: 6.184 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.277e-06/0.1819, allocations: 3.938 kB / 0.7685 GB, free: 6.18 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.058e-05/0.1819, allocations: 4 kB / 0.7685 GB, free: 6.176 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.985e-05/0.1819, allocations: 15.98 kB / 0.7685 GB, free: 6.16 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003486/0.1823, allocations: 115.9 kB / 0.7686 GB, free: 6.047 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004673/0.1827, allocations: 352.6 kB / 0.7689 GB, free: 5.652 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002081/0.183, allocations: 70.41 kB / 0.769 GB, free: 5.574 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001482/0.1831, allocations: 32.92 kB / 0.769 GB, free: 5.539 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002979/0.1834, allocations: 125.1 kB / 0.7692 GB, free: 5.398 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.208e-05/0.1835, allocations: 34.56 kB / 0.7692 GB, free: 5.355 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=3): time 1.182e-06/0.1835, allocations: 0 / 0.7692 GB, free: 5.355 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3): time 0.0005606/0.184, allocations: 133.6 kB / 0.7693 GB, free: 5.219 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.765e-05/0.1841, allocations: 55.34 kB / 0.7694 GB, free: 5.152 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001261/0.1842, allocations: 152 kB / 0.7695 GB, free: 4.996 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.645e-05/0.1842, allocations: 29.64 kB / 0.7696 GB, free: 4.961 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 7.021e-05/0.1843, allocations: 124 kB / 0.7697 GB, free: 4.836 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.197e-05/0.1843, allocations: 7.891 kB / 0.7697 GB, free: 4.828 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.59e-05/0.1844, allocations: 37.67 kB / 0.7697 GB, free: 4.785 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001174/0.1845, allocations: 318.8 kB / 0.77 GB, free: 4.465 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001691/0.1847, allocations: 47.95 kB / 0.7701 GB, free: 4.418 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002093/0.1849, allocations: 117.4 kB / 0.7702 GB, free: 4.27 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003568/0.1853, allocations: 165.2 kB / 0.7703 GB, free: 4.074 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.1853, allocations: 4 kB / 0.7703 GB, free: 4.07 MB / 0.5606 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004255/0.1857, allocations: 177.6 kB / 0.7705 GB, free: 3.891 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.522e-05/0.1857, allocations: 12.03 kB / 0.7705 GB, free: 3.879 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.182e-06/0.1858, allocations: 0 / 0.7705 GB, free: 3.879 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.966e-05/0.1858, allocations: 11.94 kB / 0.7705 GB, free: 3.867 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001673/0.186, allocations: 39.91 kB / 0.7706 GB, free: 3.828 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.725e-06/0.186, allocations: 0 / 0.7706 GB, free: 3.828 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001128/0.1861, allocations: 27.88 kB / 0.7706 GB, free: 3.801 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.117e-05/0.1861, allocations: 11.98 kB / 0.7706 GB, free: 3.789 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 8.852e-05/0.1862, allocations: 130.4 kB / 0.7707 GB, free: 3.652 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.635e-05/0.1863, allocations: 7.953 kB / 0.7707 GB, free: 3.645 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000384/0.1866, allocations: 113.8 kB / 0.7708 GB, free: 3.523 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.1867, allocations: 7.938 kB / 0.7709 GB, free: 3.516 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.1867, allocations: 0 / 0.7709 GB, free: 3.516 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.357e-06/0.1867, allocations: 288 / 0.7709 GB, free: 3.516 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001845/0.1869, allocations: 177.6 kB / 0.771 GB, free: 3.293 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.1869, allocations: 0 / 0.771 GB, free: 3.293 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.474e-05/0.187, allocations: 15.98 kB / 0.771 GB, free: 3.277 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.07e-06/0.187, allocations: 3.984 kB / 0.771 GB, free: 3.273 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.035e-06/0.187, allocations: 3.938 kB / 0.771 GB, free: 3.27 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.926e-06/0.187, allocations: 3.938 kB / 0.771 GB, free: 3.266 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.187, allocations: 4 kB / 0.7711 GB, free: 3.262 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000367/0.1874, allocations: 199.4 kB / 0.7712 GB, free: 3.051 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.329e-05/0.1874, allocations: 85.06 kB / 0.7713 GB, free: 2.949 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.534e-05/0.1875, allocations: 0 / 0.7713 GB, free: 2.949 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001179/0.1876, allocations: 15.92 kB / 0.7713 GB, free: 2.934 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.632e-05/0.1876, allocations: 11.92 kB / 0.7714 GB, free: 2.922 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.961e-06/0.1876, allocations: 4 kB / 0.7714 GB, free: 2.918 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 7.713e-05/0.1877, allocations: 113.4 kB / 0.7715 GB, free: 2.809 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.31e-07/0.1877, allocations: 0 / 0.7715 GB, free: 2.809 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002621/0.188, allocations: 16 kB / 0.7715 GB, free: 2.793 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.0007782/0.1888, allocations: 0.7435 MB / 0.7722 GB, free: 2.023 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003924/0.1892, allocations: 104.4 kB / 0.7723 GB, free: 1.922 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.1892, allocations: 8 kB / 0.7723 GB, free: 1.914 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001498/0.1894, allocations: 35.95 kB / 0.7723 GB, free: 1.879 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003262/0.1897, allocations: 7.938 kB / 0.7724 GB, free: 1.871 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005591/0.1903, allocations: 199.5 kB / 0.7725 GB, free: 1.637 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002694/0.1905, allocations: 0.6963 MB / 0.7732 GB, free: 0.9141 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 8.084e-05/0.1906, allocations: 24.41 kB / 0.7732 GB, free: 0.8906 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.746e-05/0.1907, allocations: 19.44 kB / 0.7733 GB, free: 0.8711 MB / 0.5606 GB Notification: Performance of SimCode: time 2.2e-07/0.1907, allocations: 7.938 kB / 0.7733 GB, free: 0.8633 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3581/0.5488, allocations: 2.197 MB / 0.7754 GB, free: 14.35 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.391/7.939, allocations: 4.594 kB / 0.7754 GB, free: 14.35 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)