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.731/2.731, allocations: 287.3 MB / 302.3 MB, free: 8.27 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.00153/0.00153, allocations: 174.6 kB / 370.8 MB, free: 10.86 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.138/2.138, allocations: 205.4 MB / 0.6295 GB, free: 10.61 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.001161/0.001161, allocations: 78.72 kB / 0.7428 GB, free: 6.625 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004969/0.000497, allocations: 12.78 kB / 0.8657 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2281/0.2287, allocations: 115.3 MB / 0.9783 GB, free: 28.32 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Bicubic): time 0.001824/0.2305, allocations: 1.199 MB / 0.9794 GB, free: 27.11 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0003407/0.2309, allocations: 120.5 kB / 0.9796 GB, free: 26.98 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.218e-05/0.231, allocations: 0 / 0.9796 GB, free: 26.98 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 4.185e-05/0.231, allocations: 3.938 kB / 0.9796 GB, free: 26.98 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.939e-05/0.2311, allocations: 11.98 kB / 0.9796 GB, free: 26.97 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002164/0.2314, allocations: 15.97 kB / 0.9796 GB, free: 26.95 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 8.51e-05/0.2315, allocations: 31.91 kB / 0.9796 GB, free: 26.92 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001099/0.2316, allocations: 11.98 kB / 0.9796 GB, free: 26.91 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 5.414e-05/0.2316, allocations: 15.92 kB / 0.9796 GB, free: 26.89 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.783e-05/0.2317, allocations: 23.91 kB / 0.9797 GB, free: 26.87 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.835e-05/0.2317, allocations: 0 / 0.9797 GB, free: 26.87 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001049/0.2319, allocations: 31.97 kB / 0.9797 GB, free: 26.84 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.33e-05/0.2319, allocations: 11.98 kB / 0.9797 GB, free: 26.83 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.776e-05/0.2319, allocations: 37.64 kB / 0.9797 GB, free: 26.79 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.000119/0.2321, allocations: 44.2 kB / 0.9798 GB, free: 26.74 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.845e-06/0.2321, allocations: 4 kB / 0.9798 GB, free: 26.74 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.314e-06/0.2321, allocations: 0 / 0.9798 GB, free: 26.74 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.16e-06/0.2321, allocations: 0 / 0.9798 GB, free: 26.74 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.0006271/0.2327, allocations: 389 kB / 0.9802 GB, free: 26.31 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.56e-05/0.2328, allocations: 12.02 kB / 0.9802 GB, free: 26.3 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.48e-05/0.2329, allocations: 42.56 kB / 0.9802 GB, free: 26.25 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.203e-05/0.2329, allocations: 7.906 kB / 0.9802 GB, free: 26.24 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000114/0.233, allocations: 182.9 kB / 0.9804 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.829e-06/0.233, allocations: 4 kB / 0.9804 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.638e-05/0.2331, allocations: 0 / 0.9804 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004537/0.2335, allocations: 124.2 kB / 0.9805 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.094e-05/0.2336, allocations: 0 / 0.9805 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.187e-05/0.2336, allocations: 0 / 0.9805 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.285e-05/0.2336, allocations: 11.98 kB / 0.9805 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005794/0.2342, allocations: 143.9 kB / 0.9807 GB, free: 25.74 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005215/0.2348, allocations: 340.6 kB / 0.981 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003133/0.2351, allocations: 70.47 kB / 0.9811 GB, free: 25.28 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003512/0.2354, allocations: 125.1 kB / 0.9812 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.96e-05/0.2355, allocations: 34.56 kB / 0.9812 GB, free: 25.1 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 2.094e-06/0.2355, allocations: 0 / 0.9812 GB, free: 25.1 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0008907/0.2364, allocations: 177.3 kB / 0.9814 GB, free: 24.92 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.844e-05/0.2364, allocations: 55.41 kB / 0.9814 GB, free: 24.85 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001321/0.2366, allocations: 151.5 kB / 0.9816 GB, free: 24.69 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.321e-05/0.2366, allocations: 25.7 kB / 0.9816 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.477e-05/0.2367, allocations: 115.7 kB / 0.9817 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.78e-05/0.2367, allocations: 15.8 kB / 0.9817 GB, free: 24.53 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.558e-06/0.2367, allocations: 4 kB / 0.9817 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.747e-05/0.2368, allocations: 322.8 kB / 0.982 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003056/0.2371, allocations: 51.95 kB / 0.9821 GB, free: 24.15 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003181/0.2375, allocations: 121.4 kB / 0.9822 GB, free: 24 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003065/0.2378, allocations: 79.88 kB / 0.9823 GB, free: 23.92 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.387e-06/0.2378, allocations: 0 / 0.9823 GB, free: 23.92 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0007092/0.2385, allocations: 201.2 kB / 0.9825 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.208e-05/0.2386, allocations: 13.98 kB / 0.9825 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.704e-06/0.2386, allocations: 0 / 0.9825 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.042e-05/0.2386, allocations: 4 kB / 0.9825 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002761/0.2389, allocations: 43.97 kB / 0.9825 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.588e-06/0.2389, allocations: 4.312 kB / 0.9825 GB, free: 23.65 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001889/0.2391, allocations: 35.81 kB / 0.9826 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.49e-05/0.2391, allocations: 11.94 kB / 0.9826 GB, free: 23.61 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.702e-05/0.2393, allocations: 121.8 kB / 0.9827 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.53e-05/0.2393, allocations: 4 kB / 0.9827 GB, free: 23.47 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00063/0.2399, allocations: 149.7 kB / 0.9828 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.24, allocations: 0 / 0.9828 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/0.24, allocations: 0 / 0.9828 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.24, allocations: 0 / 0.9828 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000189/0.2402, allocations: 177.5 kB / 0.983 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.2402, allocations: 4 kB / 0.983 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001667/0.2404, allocations: 23.98 kB / 0.983 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.537e-06/0.2404, allocations: 7.938 kB / 0.983 GB, free: 23.06 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.18e-05/0.2404, allocations: 0 / 0.983 GB, free: 23.06 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.347e-06/0.2404, allocations: 3.953 kB / 0.9831 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.2404, allocations: 4 kB / 0.9831 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005682/0.241, allocations: 215.5 kB / 0.9833 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.977e-05/0.2411, allocations: 81.02 kB / 0.9833 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.265e-05/0.2411, allocations: 8 kB / 0.9833 GB, free: 22.72 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001764/0.2413, allocations: 15.98 kB / 0.9834 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.157e-05/0.2414, allocations: 15.88 kB / 0.9834 GB, free: 22.69 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.278e-05/0.2414, allocations: 4 kB / 0.9834 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 7.858e-05/0.2415, allocations: 107.2 kB / 0.9835 GB, free: 22.58 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.7e-07/0.2415, allocations: 0 / 0.9835 GB, free: 22.58 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003769/0.2419, allocations: 16 kB / 0.9835 GB, free: 22.56 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.0008299/0.2427, allocations: 0.7609 MB / 0.9842 GB, free: 21.78 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0006287/0.2434, allocations: 128.8 kB / 0.9844 GB, free: 21.65 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.2434, allocations: 0 / 0.9844 GB, free: 21.65 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.000263/0.2436, allocations: 43.97 kB / 0.9844 GB, free: 21.61 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002622/0.2439, allocations: 11.95 kB / 0.9844 GB, free: 21.6 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006512/0.2446, allocations: 218.9 kB / 0.9846 GB, free: 21.34 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001535/0.2448, allocations: 0.6965 MB / 0.9853 GB, free: 20.62 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001569/0.2449, allocations: 28.39 kB / 0.9853 GB, free: 20.59 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.948e-05/0.245, allocations: 23.42 kB / 0.9854 GB, free: 20.57 MB / 0.6198 GB Notification: Performance of SimCode: time 1.973e-06/0.245, allocations: 0 / 0.9854 GB, free: 20.57 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02023/0.2653, allocations: 1.821 MB / 0.9871 GB, free: 18.86 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001997/0.2655, allocations: 172.8 kB / 0.9873 GB, free: 18.62 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.339/2.604, allocations: 0 / 0.9873 GB, free: 18.62 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)