Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.Examples.Bicubic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Bicubic,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Math_Examples_Bicubic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Bicubic,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Math_Examples_Bicubic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.688/2.688, allocations: 287.5 MB / 302.4 MB, free: 8.328 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00288/0.002879, allocations: 188.8 kB / 371 MB, free: 10.87 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.136/2.136, allocations: 205.4 MB / 0.6297 GB, free: 10.6 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008913/0.0008909, allocations: 90.84 kB / 0.743 GB, free: 6.613 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005115/0.0005119, allocations: 17.62 kB / 0.8659 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2347/0.2352, allocations: 115.3 MB / 0.9785 GB, free: 28.29 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Bicubic): time 0.001793/0.2371, allocations: 1.191 MB / 0.9796 GB, free: 27.08 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0003423/0.2375, allocations: 116.5 kB / 0.9797 GB, free: 26.96 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.528e-05/0.2375, allocations: 4 kB / 0.9797 GB, free: 26.96 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.006e-05/0.2376, allocations: 0 / 0.9797 GB, free: 26.96 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.735e-05/0.2376, allocations: 11.92 kB / 0.9797 GB, free: 26.95 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002043/0.2379, allocations: 27.91 kB / 0.9798 GB, free: 26.92 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 8.779e-05/0.238, allocations: 39.84 kB / 0.9798 GB, free: 26.88 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.644e-05/0.2381, allocations: 8 kB / 0.9798 GB, free: 26.88 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 5.113e-05/0.2381, allocations: 15.92 kB / 0.9798 GB, free: 26.86 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.387e-05/0.2382, allocations: 19.92 kB / 0.9798 GB, free: 26.84 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.14e-05/0.2382, allocations: 4 kB / 0.9799 GB, free: 26.84 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001128/0.2384, allocations: 35.95 kB / 0.9799 GB, free: 26.8 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 5.426e-05/0.2384, allocations: 11.94 kB / 0.9799 GB, free: 26.79 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.758e-05/0.2385, allocations: 29.7 kB / 0.9799 GB, free: 26.75 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001262/0.2386, allocations: 52.19 kB / 0.98 GB, free: 26.7 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.723e-06/0.2386, allocations: 0 / 0.98 GB, free: 26.7 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.507e-06/0.2386, allocations: 3.984 kB / 0.98 GB, free: 26.7 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.37e-06/0.2386, allocations: 0 / 0.98 GB, free: 26.7 MB / 0.6198 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.0006206/0.2393, allocations: 387.1 kB / 0.9803 GB, free: 26.27 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.863e-05/0.2393, allocations: 12.02 kB / 0.9804 GB, free: 26.26 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.442e-05/0.2394, allocations: 42.55 kB / 0.9804 GB, free: 26.21 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.296e-05/0.2394, allocations: 3.906 kB / 0.9804 GB, free: 26.21 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001129/0.2396, allocations: 174.9 kB / 0.9806 GB, free: 26 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.435e-05/0.2396, allocations: 0 / 0.9806 GB, free: 26 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.524e-05/0.2396, allocations: 4 kB / 0.9806 GB, free: 25.99 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004247/0.24, allocations: 125.6 kB / 0.9807 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.156e-05/0.2401, allocations: 0 / 0.9807 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.435e-05/0.2401, allocations: 3.984 kB / 0.9807 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.264e-05/0.2401, allocations: 8 kB / 0.9807 GB, free: 25.85 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005872/0.2407, allocations: 147.8 kB / 0.9808 GB, free: 25.71 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005268/0.2413, allocations: 340.7 kB / 0.9812 GB, free: 25.32 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000324/0.2416, allocations: 62.53 kB / 0.9812 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002647/0.2419, allocations: 56.88 kB / 0.9813 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003498/0.2423, allocations: 125 kB / 0.9814 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.604e-05/0.2423, allocations: 38.5 kB / 0.9814 GB, free: 25.01 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 2.224e-06/0.2423, allocations: 0 / 0.9814 GB, free: 25.01 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0009638/0.2433, allocations: 169.7 kB / 0.9816 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.317e-05/0.2433, allocations: 55.41 kB / 0.9817 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001454/0.2435, allocations: 160.3 kB / 0.9818 GB, free: 24.6 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.403e-05/0.2435, allocations: 25.7 kB / 0.9818 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.246e-05/0.2436, allocations: 111.7 kB / 0.9819 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.69e-05/0.2436, allocations: 15.81 kB / 0.982 GB, free: 24.44 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.596e-06/0.2436, allocations: 0 / 0.982 GB, free: 24.44 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.489e-05/0.2437, allocations: 318.8 kB / 0.9823 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002848/0.244, allocations: 59.95 kB / 0.9823 GB, free: 24.06 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003195/0.2443, allocations: 127.3 kB / 0.9824 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003097/0.2447, allocations: 71.94 kB / 0.9825 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.257e-06/0.2447, allocations: 0 / 0.9825 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0007316/0.2454, allocations: 209.2 kB / 0.9827 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.151e-05/0.2455, allocations: 8 kB / 0.9827 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.677e-06/0.2455, allocations: 0 / 0.9827 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.131e-05/0.2455, allocations: 4 kB / 0.9827 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002825/0.2458, allocations: 47.91 kB / 0.9828 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.055e-05/0.2458, allocations: 4.312 kB / 0.9828 GB, free: 23.56 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001884/0.246, allocations: 35.83 kB / 0.9828 GB, free: 23.53 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.657e-05/0.2461, allocations: 11.98 kB / 0.9828 GB, free: 23.52 MB / 0.6198 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 9.577e-05/0.2462, allocations: 121.7 kB / 0.9829 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.853e-05/0.2462, allocations: 7.953 kB / 0.9829 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006752/0.2469, allocations: 141.8 kB / 0.9831 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.2469, allocations: 0 / 0.9831 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.441e-06/0.2469, allocations: 0 / 0.9831 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.2469, allocations: 0 / 0.9831 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001875/0.2471, allocations: 181.5 kB / 0.9832 GB, free: 23 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.2472, allocations: 4 kB / 0.9832 GB, free: 23 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001691/0.2473, allocations: 19.98 kB / 0.9833 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.97e-06/0.2474, allocations: 4 kB / 0.9833 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.162e-05/0.2474, allocations: 3.953 kB / 0.9833 GB, free: 22.97 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.2474, allocations: 0 / 0.9833 GB, free: 22.97 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.2474, allocations: 0 / 0.9833 GB, free: 22.97 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005803/0.248, allocations: 223.4 kB / 0.9835 GB, free: 22.74 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.308e-05/0.248, allocations: 81.02 kB / 0.9836 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.28e-05/0.2481, allocations: 7.938 kB / 0.9836 GB, free: 22.63 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001747/0.2483, allocations: 19.94 kB / 0.9836 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.007e-05/0.2483, allocations: 7.984 kB / 0.9836 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.292e-05/0.2483, allocations: 4 kB / 0.9836 GB, free: 22.6 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 7.889e-05/0.2484, allocations: 107.2 kB / 0.9837 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.61e-07/0.2484, allocations: 0 / 0.9837 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003612/0.2488, allocations: 23.98 kB / 0.9837 GB, free: 22.47 MB / 0.6198 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.0008781/0.2497, allocations: 0.7592 MB / 0.9845 GB, free: 21.69 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000692/0.2504, allocations: 124.5 kB / 0.9846 GB, free: 21.57 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.2504, allocations: 4 kB / 0.9846 GB, free: 21.56 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002718/0.2507, allocations: 51.91 kB / 0.9846 GB, free: 21.51 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003693/0.2511, allocations: 10.45 kB / 0.9847 GB, free: 21.5 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00067/0.2518, allocations: 219 kB / 0.9849 GB, free: 21.25 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001606/0.252, allocations: 0.6965 MB / 0.9855 GB, free: 20.53 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001572/0.2521, allocations: 24.41 kB / 0.9856 GB, free: 20.5 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.256e-05/0.2522, allocations: 23.44 kB / 0.9856 GB, free: 20.48 MB / 0.6198 GB Notification: Performance of SimCode: time 1.373e-06/0.2522, allocations: 0 / 0.9856 GB, free: 20.48 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02284/0.2751, allocations: 1.838 MB / 0.9874 GB, free: 18.75 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002538/0.2754, allocations: 181.1 kB / 0.9876 GB, free: 18.52 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.536/2.812, allocations: 3.938 kB / 0.9876 GB, free: 18.51 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Utilities.Math.Examples.Bicubic.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Math.Examples.Bicubic.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Math.Examples.Bicubic.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Math.Examples.Bicubic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Utilities_Math_Examples_Bicubic_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Utilities_Math_Examples_Bicubic.fmu > Buildings_8.0.0_Buildings.Utilities.Math.Examples.Bicubic.pipe 2>&1)