Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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: translateModel(Buildings.Utilities.Math.Examples.Bicubic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.Bicubic") translateModel(Buildings.Utilities.Math.Examples.Bicubic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.Bicubic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009382/0.0009384, allocations: 98.03 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.007489/0.007489, allocations: 168.9 kB / 16.26 MB, free: 6.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.462/1.462, allocations: 205.4 MB / 222.4 MB, free: 5.57 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.701/1.701, allocations: 292.7 MB / 0.5502 GB, free: 14.47 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005151/0.0005151, allocations: 16.88 kB / 0.6743 GB, free: 25.92 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2369/0.2375, allocations: 116.3 MB / 0.7879 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Bicubic): time 0.001775/0.2393, allocations: 1.203 MB / 0.789 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0004069/0.2397, allocations: 124.5 kB / 0.7892 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.658e-05/0.2398, allocations: 0 / 0.7892 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.738e-05/0.2399, allocations: 7.938 kB / 0.7892 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.954e-05/0.2399, allocations: 11.86 kB / 0.7892 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000196/0.2401, allocations: 23.97 kB / 0.7892 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 8.692e-05/0.2402, allocations: 43.86 kB / 0.7892 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.543e-05/0.2403, allocations: 11.98 kB / 0.7893 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 5.365e-05/0.2404, allocations: 15.92 kB / 0.7893 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.208e-05/0.2405, allocations: 15.92 kB / 0.7893 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.808e-05/0.2405, allocations: 4 kB / 0.7893 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 9.699e-05/0.2406, allocations: 39.91 kB / 0.7893 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.22e-05/0.2406, allocations: 15.92 kB / 0.7893 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.903e-05/0.2407, allocations: 53.55 kB / 0.7894 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001469/0.2408, allocations: 63.78 kB / 0.7895 GB, free: 9.961 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.2409, allocations: 0 / 0.7895 GB, free: 9.961 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.523e-06/0.2409, allocations: 0 / 0.7895 GB, free: 9.961 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.989e-06/0.2409, allocations: 0 / 0.7895 GB, free: 9.961 MB / 0.6075 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.0005675/0.2414, allocations: 391.5 kB / 0.7898 GB, free: 9.527 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.128e-05/0.2415, allocations: 8.031 kB / 0.7898 GB, free: 9.52 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.474e-05/0.2415, allocations: 4.938 kB / 0.7898 GB, free: 9.516 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001283/0.2417, allocations: 172.2 kB / 0.79 GB, free: 9.309 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.099e-05/0.2417, allocations: 8.297 kB / 0.79 GB, free: 9.301 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.458e-05/0.2417, allocations: 4.375 kB / 0.79 GB, free: 9.297 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000315/0.242, allocations: 129.2 kB / 0.7901 GB, free: 9.168 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.534e-06/0.242, allocations: 192 / 0.7901 GB, free: 9.168 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.41e-05/0.2421, allocations: 7.922 kB / 0.7902 GB, free: 9.16 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.73e-05/0.2421, allocations: 8 kB / 0.7902 GB, free: 9.152 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003776/0.2425, allocations: 143.9 kB / 0.7903 GB, free: 9.012 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004802/0.243, allocations: 348.5 kB / 0.7906 GB, free: 8.621 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002177/0.2432, allocations: 66.53 kB / 0.7907 GB, free: 8.547 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001636/0.2434, allocations: 52.92 kB / 0.7907 GB, free: 8.492 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002811/0.2437, allocations: 117.1 kB / 0.7909 GB, free: 8.359 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.201e-05/0.2437, allocations: 34.56 kB / 0.7909 GB, free: 8.316 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 1.392e-06/0.2437, allocations: 4 kB / 0.7909 GB, free: 8.312 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.0005949/0.2443, allocations: 173.4 kB / 0.7911 GB, free: 8.137 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.585e-05/0.2443, allocations: 55.34 kB / 0.7911 GB, free: 8.07 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001359/0.2445, allocations: 152.9 kB / 0.7913 GB, free: 7.914 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.498e-05/0.2445, allocations: 25.7 kB / 0.7913 GB, free: 7.883 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.319e-05/0.2446, allocations: 119.6 kB / 0.7914 GB, free: 7.762 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.406e-05/0.2446, allocations: 11.91 kB / 0.7914 GB, free: 7.75 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.024e-05/0.2447, allocations: 17.72 kB / 0.7914 GB, free: 7.727 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001022/0.2448, allocations: 314.8 kB / 0.7917 GB, free: 7.41 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001759/0.2449, allocations: 55.95 kB / 0.7918 GB, free: 7.355 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000222/0.2452, allocations: 132 kB / 0.7919 GB, free: 7.195 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003926/0.2456, allocations: 189.2 kB / 0.7921 GB, free: 6.977 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.2456, allocations: 0 / 0.7921 GB, free: 6.977 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004658/0.2461, allocations: 201.3 kB / 0.7923 GB, free: 6.773 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/0.2461, allocations: 12.25 kB / 0.7923 GB, free: 6.762 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.057e-06/0.2461, allocations: 4 kB / 0.7923 GB, free: 6.758 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.53e-05/0.2461, allocations: 4 kB / 0.7923 GB, free: 6.754 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001649/0.2463, allocations: 43.91 kB / 0.7923 GB, free: 6.711 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.173e-05/0.2463, allocations: 7.984 kB / 0.7923 GB, free: 6.703 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001209/0.2464, allocations: 31.77 kB / 0.7924 GB, free: 6.672 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.94e-05/0.2465, allocations: 15.94 kB / 0.7924 GB, free: 6.656 MB / 0.6075 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 0.0001001/0.2466, allocations: 129.8 kB / 0.7925 GB, free: 6.52 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.919e-05/0.2466, allocations: 7.906 kB / 0.7925 GB, free: 6.512 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004206/0.247, allocations: 141.7 kB / 0.7927 GB, free: 6.359 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.247, allocations: 3.938 kB / 0.7927 GB, free: 6.355 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.2471, allocations: 4 kB / 0.7927 GB, free: 6.352 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.2471, allocations: 3.984 kB / 0.7927 GB, free: 6.348 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000173/0.2472, allocations: 173.6 kB / 0.7928 GB, free: 6.129 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.2473, allocations: 0 / 0.7928 GB, free: 6.129 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001019/0.2474, allocations: 23.97 kB / 0.7929 GB, free: 6.105 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.2474, allocations: 0 / 0.7929 GB, free: 6.105 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.614e-06/0.2474, allocations: 0 / 0.7929 GB, free: 6.105 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.857e-06/0.2474, allocations: 7.938 kB / 0.7929 GB, free: 6.098 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.2474, allocations: 4 kB / 0.7929 GB, free: 6.094 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004054/0.2478, allocations: 219.4 kB / 0.7931 GB, free: 5.863 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.41e-05/0.2479, allocations: 81.11 kB / 0.7932 GB, free: 5.766 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.472e-05/0.2479, allocations: 0 / 0.7932 GB, free: 5.766 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001165/0.248, allocations: 23.92 kB / 0.7932 GB, free: 5.742 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.404e-05/0.248, allocations: 11.92 kB / 0.7932 GB, free: 5.73 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.572e-06/0.2481, allocations: 4 kB / 0.7932 GB, free: 5.727 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 7.455e-05/0.2481, allocations: 111.2 kB / 0.7933 GB, free: 5.617 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2481, allocations: 0 / 0.7933 GB, free: 5.617 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000263/0.2484, allocations: 16 kB / 0.7933 GB, free: 5.602 MB / 0.6075 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.0001471/0.2486, allocations: 103.2 kB / 0.7934 GB, free: 5.492 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004214/0.249, allocations: 132.7 kB / 0.7935 GB, free: 5.363 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.249, allocations: 0 / 0.7935 GB, free: 5.363 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001597/0.2492, allocations: 43.97 kB / 0.7936 GB, free: 5.32 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002743/0.2495, allocations: 10.97 kB / 0.7936 GB, free: 5.312 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003614/0.2498, allocations: 190.3 kB / 0.7938 GB, free: 5.105 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002554/0.2501, allocations: 0.6887 MB / 0.7944 GB, free: 4.391 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0001002/0.2502, allocations: 36.39 kB / 0.7945 GB, free: 4.352 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.978e-05/0.2503, allocations: 15.44 kB / 0.7945 GB, free: 4.34 MB / 0.6075 GB Notification: Performance of SimCode: time 2.5e-07/0.2503, allocations: 0 / 0.7945 GB, free: 4.34 MB / 0.6075 GB Notification: Performance of Templates: time 0.003209/0.2535, allocations: 0.8183 MB / 0.7953 GB, free: 3.527 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Examples.Bicubic.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Utilities.Math.Examples.Bicubic.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Examples.Bicubic.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Examples.Bicubic.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Examples.Bicubic.sim & ./Buildings_8_Buildings.Utilities.Math.Examples.Bicubic -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Examples.Bicubic.pipe 2>&1) Environment - environmentSimulation: