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/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/BuildingSystems 2.0.0-master/package.mo): time 0.9009/0.9009, allocations: 143.4 MB / 158.3 MB, free: 5.656 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001133/0.001133, allocations: 167.3 kB / 191.5 MB, free: 5.668 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.483/1.483, allocations: 223.2 MB / 447.7 MB, free: 4.859 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009558/0.0009558, allocations: 88.33 kB / 0.5187 GB, free: 1.215 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001768/0.001768, allocations: 271.5 kB / 0.6005 GB, free: 48.76 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004374/0.0004374, allocations: 14.09 kB / 0.6929 GB, free: 59.53 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.174/0.1745, allocations: 82.79 MB / 0.7738 GB, free: 13.76 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1764/0.351, allocations: 108.7 MB / 0.8799 GB, free: 0.9336 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002647/0.3513, allocations: 75.95 kB / 0.88 GB, free: 0.8594 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.3784/0.7297, allocations: 1.261 MB / 0.8812 GB, free: 109 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.294e-06/0.7298, allocations: 0 / 0.8812 GB, free: 109 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.635e-05/0.7298, allocations: 1.406 kB / 0.8812 GB, free: 109 MB / 0.5417 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.0006196/0.7305, allocations: 387.6 kB / 0.8816 GB, free: 108.7 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 8.056e-05/0.7306, allocations: 10.91 kB / 0.8816 GB, free: 108.7 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.487e-05/0.7306, allocations: 39.64 kB / 0.8816 GB, free: 108.6 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.263e-05/0.7307, allocations: 7.281 kB / 0.8817 GB, free: 108.6 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000153/0.7308, allocations: 174 kB / 0.8818 GB, free: 108.4 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.187e-05/0.7309, allocations: 8.359 kB / 0.8818 GB, free: 108.4 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.07e-05/0.7309, allocations: 1.906 kB / 0.8818 GB, free: 108.4 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004314/0.7313, allocations: 122.4 kB / 0.8819 GB, free: 108.4 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.308e-05/0.7314, allocations: 0 / 0.8819 GB, free: 108.4 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.72e-05/0.7314, allocations: 0.7812 kB / 0.8819 GB, free: 108.4 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.45e-05/0.7314, allocations: 14.75 kB / 0.882 GB, free: 108.4 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004553/0.7319, allocations: 131.9 kB / 0.8821 GB, free: 108.4 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007307/0.7326, allocations: 377 kB / 0.8824 GB, free: 108.1 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002283/0.7329, allocations: 70.81 kB / 0.8825 GB, free: 108.1 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002669/0.7332, allocations: 115.9 kB / 0.8826 GB, free: 108 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.829e-05/0.7332, allocations: 36 kB / 0.8827 GB, free: 108 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=3): time 1.382e-06/0.7332, allocations: 0 / 0.8827 GB, free: 108 MB / 0.5417 GB Notification: Performance of matching and sorting (n=3): time 0.0006485/0.7339, allocations: 177 kB / 0.8828 GB, free: 107.9 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.318e-05/0.7339, allocations: 53.92 kB / 0.8829 GB, free: 107.8 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001537/0.7341, allocations: 133.3 kB / 0.883 GB, free: 107.8 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.384e-05/0.7341, allocations: 25.7 kB / 0.883 GB, free: 107.7 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 8.454e-05/0.7342, allocations: 117.4 kB / 0.8831 GB, free: 107.6 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 1.801e-05/0.7342, allocations: 15.61 kB / 0.8832 GB, free: 107.6 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.581e-06/0.7342, allocations: 1.031 kB / 0.8832 GB, free: 107.6 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001096/0.7344, allocations: 321.7 kB / 0.8835 GB, free: 107.3 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001647/0.7345, allocations: 55.44 kB / 0.8835 GB, free: 107.3 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002256/0.7348, allocations: 125.3 kB / 0.8836 GB, free: 107.2 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001952/0.735, allocations: 73.03 kB / 0.8837 GB, free: 107.2 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.879e-06/0.735, allocations: 2.688 kB / 0.8837 GB, free: 107.2 MB / 0.5417 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004892/0.7355, allocations: 202.6 kB / 0.8839 GB, free: 107.1 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.261e-05/0.7355, allocations: 6.5 kB / 0.8839 GB, free: 107.1 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.927e-06/0.7355, allocations: 2.438 kB / 0.8839 GB, free: 107.1 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.649e-05/0.7356, allocations: 2.438 kB / 0.8839 GB, free: 107.1 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001807/0.7357, allocations: 51.48 kB / 0.884 GB, free: 107.1 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.356e-05/0.7358, allocations: 6.312 kB / 0.884 GB, free: 107.1 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001257/0.7359, allocations: 34.91 kB / 0.884 GB, free: 107.1 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.012e-05/0.7359, allocations: 9.484 kB / 0.884 GB, free: 107.1 MB / 0.5417 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001027/0.736, allocations: 127.9 kB / 0.8841 GB, free: 107 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.786e-05/0.7361, allocations: 8.578 kB / 0.8841 GB, free: 107 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004244/0.7365, allocations: 144.2 kB / 0.8843 GB, free: 106.9 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.7365, allocations: 0 / 0.8843 GB, free: 106.9 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.605e-06/0.7365, allocations: 3.953 kB / 0.8843 GB, free: 106.9 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.7365, allocations: 0 / 0.8843 GB, free: 106.9 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001429/0.7367, allocations: 178.3 kB / 0.8845 GB, free: 106.8 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.003e-06/0.7367, allocations: 0.6875 kB / 0.8845 GB, free: 106.8 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001037/0.7368, allocations: 27.31 kB / 0.8845 GB, free: 106.7 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.7368, allocations: 0 / 0.8845 GB, free: 106.7 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.015e-05/0.7368, allocations: 3 kB / 0.8845 GB, free: 106.7 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/0.7368, allocations: 1.125 kB / 0.8845 GB, free: 106.7 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.7368, allocations: 0 / 0.8845 GB, free: 106.7 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003349/0.7372, allocations: 224.6 kB / 0.8847 GB, free: 106.6 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 2.857e-05/0.7372, allocations: 85.75 kB / 0.8848 GB, free: 106.5 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.849e-05/0.7372, allocations: 6 kB / 0.8848 GB, free: 106.5 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001096/0.7374, allocations: 19.08 kB / 0.8848 GB, free: 106.5 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.171e-05/0.7374, allocations: 6.672 kB / 0.8848 GB, free: 106.5 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.002e-06/0.7374, allocations: 0 / 0.8848 GB, free: 106.5 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 5.824e-05/0.7375, allocations: 107.8 kB / 0.8849 GB, free: 106.4 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7375, allocations: 6.594 kB / 0.8849 GB, free: 106.4 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002476/0.7378, allocations: 21.83 kB / 0.8849 GB, free: 106.4 MB / 0.5417 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005894/0.7383, allocations: 0.7595 MB / 0.8857 GB, free: 105.7 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0003682/0.7387, allocations: 126.2 kB / 0.8858 GB, free: 105.7 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.7387, allocations: 0 / 0.8858 GB, free: 105.7 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0001387/0.7389, allocations: 53.02 kB / 0.8859 GB, free: 105.7 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001714/0.7391, allocations: 5.562 kB / 0.8859 GB, free: 105.7 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005138/0.7396, allocations: 225.7 kB / 0.8861 GB, free: 105.5 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001459/0.7397, allocations: 0.6918 MB / 0.8868 GB, free: 104.8 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 9.543e-05/0.7398, allocations: 27.14 kB / 0.8868 GB, free: 104.8 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.953e-05/0.7399, allocations: 20.03 kB / 0.8868 GB, free: 104.8 MB / 0.5417 GB Notification: Performance of SimCode: time 3.81e-07/0.7399, allocations: 3.938 kB / 0.8868 GB, free: 104.8 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01348/0.7534, allocations: 1.851 MB / 0.8886 GB, free: 104.7 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000191/0.7537, allocations: 179 kB / 0.8888 GB, free: 104.4 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.545/2.298, allocations: 0 / 0.8888 GB, free: 104.4 MB / 0.5417 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 & /home/hudson/saved_omc/OMSimulator/install/linux/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)