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.0007549/0.0007549, allocations: 98.19 kB / 15.36 MB, free: 0.7344 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.005953/0.005953, allocations: 170 kB / 16.27 MB, free: 6.652 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.353/1.353, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001829/0.001829, allocations: 282.1 kB / 291.7 MB, free: 1.879 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9332/0.9332, allocations: 169.5 MB / 0.5004 GB, free: 14.09 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004846/0.0004846, allocations: 13.44 kB / 0.5988 GB, free: 27.95 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1742/0.1747, allocations: 88.55 MB / 0.6852 GB, free: 14.96 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.Bicubic): time 0.001468/0.1762, allocations: 1.196 MB / 0.6864 GB, free: 13.75 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003055/0.1765, allocations: 124.5 kB / 0.6865 GB, free: 13.63 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.38e-05/0.1765, allocations: 0 / 0.6865 GB, free: 13.63 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.598e-05/0.1766, allocations: 3.938 kB / 0.6865 GB, free: 13.62 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.096e-05/0.1766, allocations: 10.75 kB / 0.6865 GB, free: 13.62 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001418/0.1768, allocations: 19.97 kB / 0.6866 GB, free: 13.6 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.661e-05/0.1768, allocations: 47.78 kB / 0.6866 GB, free: 13.55 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.187e-05/0.1769, allocations: 16.27 kB / 0.6866 GB, free: 13.54 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.492e-05/0.177, allocations: 9.453 kB / 0.6866 GB, free: 13.53 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.272e-05/0.177, allocations: 23.86 kB / 0.6867 GB, free: 13.5 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.248e-05/0.177, allocations: 0 / 0.6867 GB, free: 13.5 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.117e-05/0.1771, allocations: 39.95 kB / 0.6867 GB, free: 13.46 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.578e-05/0.1772, allocations: 8.5 kB / 0.6867 GB, free: 13.46 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.956e-05/0.1772, allocations: 50.16 kB / 0.6867 GB, free: 13.4 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001092/0.1773, allocations: 67.7 kB / 0.6868 GB, free: 13.34 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.1773, allocations: 8.531 kB / 0.6868 GB, free: 13.33 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1773, allocations: 2.531 kB / 0.6868 GB, free: 13.33 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.075e-06/0.1773, allocations: 0 / 0.6868 GB, free: 13.33 MB / 494.1 MB 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.0004543/0.1778, allocations: 376.6 kB / 0.6872 GB, free: 12.91 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.566e-05/0.1778, allocations: 12.03 kB / 0.6872 GB, free: 12.9 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.043e-05/0.1779, allocations: 32.91 kB / 0.6872 GB, free: 12.86 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.118e-05/0.1779, allocations: 8.844 kB / 0.6872 GB, free: 12.85 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001117/0.178, allocations: 180.2 kB / 0.6874 GB, free: 12.64 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.558e-06/0.178, allocations: 4.375 kB / 0.6874 GB, free: 12.63 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.201e-05/0.1781, allocations: 4.375 kB / 0.6874 GB, free: 12.63 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002853/0.1784, allocations: 119 kB / 0.6875 GB, free: 12.51 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.873e-06/0.1784, allocations: 3.938 kB / 0.6875 GB, free: 12.51 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.175e-05/0.1784, allocations: 4 kB / 0.6875 GB, free: 12.5 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.809e-05/0.1784, allocations: 11.98 kB / 0.6875 GB, free: 12.49 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003614/0.1788, allocations: 142.6 kB / 0.6877 GB, free: 12.36 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003873/0.1792, allocations: 350 kB / 0.688 GB, free: 11.96 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002087/0.1794, allocations: 69.12 kB / 0.6881 GB, free: 11.89 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000165/0.1796, allocations: 52.86 kB / 0.6881 GB, free: 11.84 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000239/0.1798, allocations: 125.1 kB / 0.6883 GB, free: 11.7 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.927e-05/0.1799, allocations: 34.56 kB / 0.6883 GB, free: 11.65 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.1799, allocations: 3.938 kB / 0.6883 GB, free: 11.65 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005528/0.1804, allocations: 169.4 kB / 0.6884 GB, free: 11.48 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.711e-05/0.1805, allocations: 59.34 kB / 0.6885 GB, free: 11.41 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001056/0.1806, allocations: 143.5 kB / 0.6886 GB, free: 11.26 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.435e-05/0.1806, allocations: 29.7 kB / 0.6887 GB, free: 11.22 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.057e-05/0.1807, allocations: 111.8 kB / 0.6888 GB, free: 11.11 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.337e-05/0.1807, allocations: 19.8 kB / 0.6888 GB, free: 11.09 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.575e-05/0.1807, allocations: 13.72 kB / 0.6888 GB, free: 11.07 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.55e-05/0.1808, allocations: 318.8 kB / 0.6891 GB, free: 10.75 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001705/0.181, allocations: 59.95 kB / 0.6892 GB, free: 10.69 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000206/0.1812, allocations: 121.4 kB / 0.6893 GB, free: 10.54 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003678/0.1816, allocations: 189.2 kB / 0.6895 GB, free: 10.32 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.1816, allocations: 0 / 0.6895 GB, free: 10.32 MB / 494.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000437/0.182, allocations: 213.2 kB / 0.6897 GB, free: 10.11 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/0.1821, allocations: 6.5 kB / 0.6897 GB, free: 10.1 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.1821, allocations: 4 kB / 0.6897 GB, free: 10.1 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.261e-05/0.1821, allocations: 7.938 kB / 0.6897 GB, free: 10.09 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001527/0.1822, allocations: 36.28 kB / 0.6897 GB, free: 10.05 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.825e-06/0.1823, allocations: 8 kB / 0.6897 GB, free: 10.05 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001132/0.1824, allocations: 35.77 kB / 0.6898 GB, free: 10.01 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.791e-05/0.1824, allocations: 8 kB / 0.6898 GB, free: 10 MB / 494.1 MB 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.666e-05/0.1825, allocations: 126.4 kB / 0.6899 GB, free: 9.871 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.618e-05/0.1825, allocations: 4 kB / 0.6899 GB, free: 9.867 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004455/0.183, allocations: 145.8 kB / 0.69 GB, free: 9.711 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/0.183, allocations: 3.938 kB / 0.69 GB, free: 9.707 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.183, allocations: 0 / 0.69 GB, free: 9.707 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.953e-06/0.183, allocations: 0 / 0.69 GB, free: 9.707 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00018/0.1832, allocations: 177.5 kB / 0.6902 GB, free: 9.484 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.1832, allocations: 4 kB / 0.6902 GB, free: 9.48 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001031/0.1833, allocations: 27.97 kB / 0.6902 GB, free: 9.453 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.774e-06/0.1833, allocations: 3.938 kB / 0.6902 GB, free: 9.449 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.466e-06/0.1833, allocations: 4 kB / 0.6902 GB, free: 9.445 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.1833, allocations: 3.938 kB / 0.6903 GB, free: 9.441 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.1833, allocations: 0 / 0.6903 GB, free: 9.441 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003744/0.1837, allocations: 215.8 kB / 0.6905 GB, free: 9.215 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.697e-05/0.1838, allocations: 81.02 kB / 0.6905 GB, free: 9.117 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.792e-05/0.1838, allocations: 3.984 kB / 0.6905 GB, free: 9.113 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001113/0.1839, allocations: 27.91 kB / 0.6906 GB, free: 9.086 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.819e-05/0.184, allocations: 7.984 kB / 0.6906 GB, free: 9.078 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.063e-06/0.184, allocations: 4 kB / 0.6906 GB, free: 9.074 MB / 494.1 MB Notification: Performance of sorting global known variables: time 6.423e-05/0.184, allocations: 111.2 kB / 0.6907 GB, free: 8.965 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.184, allocations: 0 / 0.6907 GB, free: 8.965 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002508/0.1843, allocations: 19.94 kB / 0.6907 GB, free: 8.945 MB / 494.1 MB 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.0007262/0.185, allocations: 0.7592 MB / 0.6914 GB, free: 8.16 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0004104/0.1855, allocations: 127.8 kB / 0.6916 GB, free: 8.035 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.1855, allocations: 4 kB / 0.6916 GB, free: 8.031 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001745/0.1856, allocations: 52.52 kB / 0.6916 GB, free: 7.98 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002984/0.186, allocations: 3.938 kB / 0.6916 GB, free: 7.977 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005615/0.1865, allocations: 234.6 kB / 0.6918 GB, free: 7.711 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002922/0.1868, allocations: 0.6926 MB / 0.6925 GB, free: 6.992 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 9.372e-05/0.1869, allocations: 24.41 kB / 0.6925 GB, free: 6.969 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.092e-05/0.187, allocations: 27.42 kB / 0.6926 GB, free: 6.941 MB / 494.1 MB Notification: Performance of SimCode: time 2.175e-06/0.187, allocations: 0 / 0.6926 GB, free: 6.941 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01135/0.1984, allocations: 1.868 MB / 0.6944 GB, free: 5.199 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003246/0.1987, allocations: 199.9 kB / 0.6946 GB, free: 4.945 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.625/1.824, allocations: 4 kB / 0.6946 GB, free: 4.941 MB / 494.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Examples_Bicubic_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Examples_Bicubic.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Examples.Bicubic.pipe 2>&1)