Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.CubicHermite.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.CubicHermite,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.CubicHermite") translateModel(Buildings.Utilities.Math.Functions.Examples.CubicHermite,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.CubicHermite") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.473/1.473, allocations: 252 MB / 268 MB, free: 10.89 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001358/0.001358, allocations: 182.6 kB / 327.6 MB, free: 2.098 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.89/1.89, allocations: 205.4 MB / 0.5786 GB, free: 20.12 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00081/0.0008099, allocations: 82.36 kB / 0.6832 GB, free: 12.78 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003652/0.0003652, allocations: 10.59 kB / 0.7976 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2329/0.2333, allocations: 106.3 MB / 0.9015 GB, free: 63.52 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.CubicHermite): time 0.0007248/0.2341, allocations: 358.2 kB / 0.9018 GB, free: 63.17 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001549/0.2356, allocations: 1.449 MB / 0.9032 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.997e-05/0.2357, allocations: 0 / 0.9032 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 5.07e-05/0.2357, allocations: 7.938 kB / 0.9032 GB, free: 61.7 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.103e-05/0.2358, allocations: 4 kB / 0.9032 GB, free: 61.7 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004449/0.2362, allocations: 134.3 kB / 0.9034 GB, free: 61.57 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.84e-05/0.2363, allocations: 43.95 kB / 0.9034 GB, free: 61.52 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.248e-05/0.2364, allocations: 0 / 0.9034 GB, free: 61.52 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 3.072e-05/0.2364, allocations: 15.98 kB / 0.9034 GB, free: 61.51 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.527e-05/0.2364, allocations: 31.89 kB / 0.9034 GB, free: 61.48 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.397e-05/0.2365, allocations: 8 kB / 0.9034 GB, free: 61.47 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002422/0.2367, allocations: 187.7 kB / 0.9036 GB, free: 61.29 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 3.864e-05/0.2368, allocations: 19.94 kB / 0.9036 GB, free: 61.27 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.82e-05/0.2368, allocations: 49.56 kB / 0.9037 GB, free: 61.21 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001382/0.237, allocations: 123.8 kB / 0.9038 GB, free: 61.09 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.237, allocations: 0 / 0.9038 GB, free: 61.09 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.873e-06/0.237, allocations: 0 / 0.9038 GB, free: 61.09 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.977e-06/0.237, allocations: 3.938 kB / 0.9038 GB, free: 61.09 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0002976/0.2373, allocations: 431 kB / 0.9042 GB, free: 60.61 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.504e-05/0.2373, allocations: 12.03 kB / 0.9042 GB, free: 60.59 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.587e-05/0.2374, allocations: 12.84 kB / 0.9042 GB, free: 60.58 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.09e-05/0.2375, allocations: 176.2 kB / 0.9044 GB, free: 60.37 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.307e-05/0.2375, allocations: 4.375 kB / 0.9044 GB, free: 60.37 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.23e-05/0.2375, allocations: 384 / 0.9044 GB, free: 60.37 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001534/0.2377, allocations: 97.95 kB / 0.9045 GB, free: 60.27 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.302e-06/0.2377, allocations: 0 / 0.9045 GB, free: 60.27 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.187e-05/0.2377, allocations: 4 kB / 0.9045 GB, free: 60.26 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.536e-06/0.2377, allocations: 0 / 0.9045 GB, free: 60.26 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.133e-05/0.2378, allocations: 67.94 kB / 0.9046 GB, free: 60.2 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001343/0.2379, allocations: 173.6 kB / 0.9048 GB, free: 59.98 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 8.723e-05/0.238, allocations: 82.47 kB / 0.9048 GB, free: 59.89 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.71e-05/0.2381, allocations: 68.89 kB / 0.9049 GB, free: 59.82 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 4.649e-06/0.2381, allocations: 0 / 0.9049 GB, free: 59.82 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.94e-05/0.2381, allocations: 42.48 kB / 0.9049 GB, free: 59.77 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=4): time 1.363e-06/0.2381, allocations: 3.938 kB / 0.9049 GB, free: 59.76 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4): time 0.0003115/0.2385, allocations: 247.3 kB / 0.9052 GB, free: 59.51 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.72e-05/0.2385, allocations: 81.14 kB / 0.9053 GB, free: 59.41 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.738e-05/0.2386, allocations: 152 kB / 0.9054 GB, free: 59.25 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.08e-05/0.2386, allocations: 29.7 kB / 0.9054 GB, free: 59.22 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.858e-05/0.2386, allocations: 88.12 kB / 0.9055 GB, free: 59.13 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.995e-05/0.2387, allocations: 19.73 kB / 0.9055 GB, free: 59.11 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.083e-06/0.2387, allocations: 4 kB / 0.9055 GB, free: 59.11 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.616e-05/0.2387, allocations: 314.8 kB / 0.9058 GB, free: 58.79 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.545e-05/0.2388, allocations: 103.9 kB / 0.9059 GB, free: 58.69 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.647e-05/0.2389, allocations: 103.9 kB / 0.906 GB, free: 58.59 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001973/0.2391, allocations: 285.8 kB / 0.9063 GB, free: 58.29 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.2392, allocations: 4 kB / 0.9063 GB, free: 58.28 MB / 0.6042 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002537/0.2394, allocations: 316.8 kB / 0.9066 GB, free: 57.95 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 3.728e-05/0.2395, allocations: 71.39 kB / 0.9067 GB, free: 57.87 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.617e-06/0.2395, allocations: 3.938 kB / 0.9067 GB, free: 57.87 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.034e-05/0.2395, allocations: 0 / 0.9067 GB, free: 57.87 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.81e-07/0.2395, allocations: 3.938 kB / 0.9067 GB, free: 57.86 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.278e-06/0.2395, allocations: 0 / 0.9067 GB, free: 57.86 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000144/0.2396, allocations: 16.05 kB / 0.9067 GB, free: 57.85 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.354e-05/0.2397, allocations: 4 kB / 0.9067 GB, free: 57.84 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (i) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 2 * 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 7.867e-05/0.2397, allocations: 151.5 kB / 0.9068 GB, free: 57.68 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.339e-05/0.2398, allocations: 11.84 kB / 0.9069 GB, free: 57.67 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.281e-05/0.2398, allocations: 4.391 kB / 0.9069 GB, free: 57.66 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.2398, allocations: 3.984 kB / 0.9069 GB, free: 57.65 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.956e-06/0.2398, allocations: 0 / 0.9069 GB, free: 57.65 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.2398, allocations: 3.984 kB / 0.9069 GB, free: 57.65 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.765e-05/0.2399, allocations: 173.6 kB / 0.907 GB, free: 57.43 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.92e-07/0.2399, allocations: 4 kB / 0.907 GB, free: 57.43 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.052e-06/0.2399, allocations: 3.938 kB / 0.907 GB, free: 57.42 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.644e-06/0.2399, allocations: 7.984 kB / 0.9071 GB, free: 57.41 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.897e-06/0.2399, allocations: 0 / 0.9071 GB, free: 57.41 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.42e-07/0.2399, allocations: 0 / 0.9071 GB, free: 57.41 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.2399, allocations: 0 / 0.9071 GB, free: 57.41 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002069/0.2401, allocations: 230.6 kB / 0.9073 GB, free: 57.16 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.817e-05/0.2402, allocations: 84.95 kB / 0.9074 GB, free: 57.06 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.667e-05/0.2402, allocations: 4 kB / 0.9074 GB, free: 57.06 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.703e-05/0.2402, allocations: 8.031 kB / 0.9074 GB, free: 57.05 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.341e-05/0.2403, allocations: 11.98 kB / 0.9074 GB, free: 57.04 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.935e-06/0.2403, allocations: 8 kB / 0.9074 GB, free: 57.03 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 4.603e-05/0.2404, allocations: 105.6 kB / 0.9075 GB, free: 56.93 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2404, allocations: 0 / 0.9075 GB, free: 56.93 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002412/0.2406, allocations: 67.94 kB / 0.9075 GB, free: 56.86 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (i) * Number of discrete states: 1 (i) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0002406/0.2409, allocations: 151.2 kB / 0.9077 GB, free: 56.71 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003092/0.2412, allocations: 370.7 kB / 0.908 GB, free: 56.32 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.2412, allocations: 0 / 0.908 GB, free: 56.32 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 9.841e-05/0.2413, allocations: 143.3 kB / 0.9082 GB, free: 56.17 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001446/0.2414, allocations: 7.938 kB / 0.9082 GB, free: 56.16 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002988/0.2418, allocations: 253 kB / 0.9084 GB, free: 55.88 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001338/0.2419, allocations: 0.6965 MB / 0.9091 GB, free: 55.16 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.312e-06/0.2419, allocations: 7.438 kB / 0.9091 GB, free: 55.15 MB / 0.6042 GB Notification: Performance of SimCode: time 2.21e-07/0.2419, allocations: 0 / 0.9091 GB, free: 55.15 MB / 0.6042 GB Notification: Performance of Templates: time 0.002801/0.2447, allocations: 1.636 MB / 0.9107 GB, free: 53.52 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.CubicHermite.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.CubicHermite.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.CubicHermite -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe 2>&1)