Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Functions.Examples.CubicHermite.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.Functions.Examples.CubicHermite,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.CubicHermite") translateModel(Buildings.Utilities.Math.Functions.Examples.CubicHermite,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.CubicHermite") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001387/0.001387, allocations: 99.78 kB / 15.98 MB, free: 6.359 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.001731/0.001731, allocations: 194.5 kB / 16.91 MB, free: 6.191 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.436/1.436, allocations: 205.1 MB / 222.8 MB, free: 4.703 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.673/1.673, allocations: 292.3 MB / 0.5492 GB, free: 13.64 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.001349/0.001349, allocations: 78.45 kB / 0.6717 GB, free: 26.42 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2335/0.2349, allocations: 114.5 MB / 0.7835 GB, free: 13.92 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.CubicHermite): time 0.001841/0.2367, allocations: 0.6782 MB / 0.7842 GB, free: 13.23 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001652/0.2384, allocations: 1.418 MB / 0.7856 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.255e-05/0.2385, allocations: 0 / 0.7856 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 5.462e-05/0.2385, allocations: 0 / 0.7856 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 3.879e-05/0.2386, allocations: 7.922 kB / 0.7856 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005973/0.2392, allocations: 159.8 kB / 0.7857 GB, free: 11.63 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 9.424e-05/0.2393, allocations: 51.95 kB / 0.7858 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.202e-05/0.2393, allocations: 4 kB / 0.7858 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.391e-05/0.2394, allocations: 23.91 kB / 0.7858 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.969e-05/0.2394, allocations: 23.91 kB / 0.7858 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.404e-05/0.2394, allocations: 4 kB / 0.7858 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002743/0.2397, allocations: 195.7 kB / 0.786 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.63e-05/0.2398, allocations: 15.92 kB / 0.786 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.346e-05/0.2398, allocations: 31.78 kB / 0.7861 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001714/0.24, allocations: 124 kB / 0.7862 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.24, allocations: 3.938 kB / 0.7862 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.253e-06/0.24, allocations: 0 / 0.7862 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.488e-06/0.24, allocations: 4 kB / 0.7862 GB, free: 11.16 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004088/0.2405, allocations: 430.7 kB / 0.7866 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.428e-05/0.2405, allocations: 12.03 kB / 0.7866 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.88e-05/0.2405, allocations: 8.844 kB / 0.7866 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001166/0.2407, allocations: 184.2 kB / 0.7868 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.119e-05/0.2407, allocations: 4.375 kB / 0.7868 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.491e-05/0.2407, allocations: 4.375 kB / 0.7868 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001663/0.2409, allocations: 93.95 kB / 0.7869 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.454e-06/0.2409, allocations: 7.984 kB / 0.7869 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.959e-06/0.2409, allocations: 0 / 0.7869 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.2409, allocations: 0 / 0.7869 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.517e-05/0.241, allocations: 63.89 kB / 0.787 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001766/0.2412, allocations: 177.6 kB / 0.7871 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001244/0.2413, allocations: 86.53 kB / 0.7872 GB, free: 9.949 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001005/0.2414, allocations: 72.89 kB / 0.7873 GB, free: 9.875 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 8.817e-06/0.2414, allocations: 0 / 0.7873 GB, free: 9.875 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.773e-05/0.2415, allocations: 34.5 kB / 0.7873 GB, free: 9.832 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=4): time 7.61e-07/0.2415, allocations: 0 / 0.7873 GB, free: 9.832 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4): time 0.0004062/0.2419, allocations: 255.1 kB / 0.7876 GB, free: 9.57 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.211e-05/0.2419, allocations: 85.09 kB / 0.7876 GB, free: 9.469 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001422/0.2421, allocations: 148.5 kB / 0.7878 GB, free: 9.316 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.101e-05/0.2421, allocations: 29.7 kB / 0.7878 GB, free: 9.281 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.786e-05/0.2422, allocations: 96.12 kB / 0.7879 GB, free: 9.184 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.05e-05/0.2422, allocations: 7.812 kB / 0.7879 GB, free: 9.176 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.08e-05/0.2423, allocations: 29.7 kB / 0.7879 GB, free: 9.141 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001442/0.2424, allocations: 318.8 kB / 0.7882 GB, free: 8.82 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001185/0.2426, allocations: 103.9 kB / 0.7883 GB, free: 8.719 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001109/0.2427, allocations: 103.9 kB / 0.7884 GB, free: 8.617 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002458/0.2429, allocations: 273.9 kB / 0.7887 GB, free: 8.328 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.2429, allocations: 4 kB / 0.7887 GB, free: 8.324 MB / 0.6075 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003382/0.2433, allocations: 328.7 kB / 0.789 GB, free: 7.984 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 5.277e-05/0.2433, allocations: 71.39 kB / 0.7891 GB, free: 7.902 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/0.2434, allocations: 3.984 kB / 0.7891 GB, free: 7.898 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.069e-05/0.2434, allocations: 0 / 0.7891 GB, free: 7.898 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.51e-07/0.2434, allocations: 0 / 0.7891 GB, free: 7.898 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.318e-06/0.2434, allocations: 0 / 0.7891 GB, free: 7.898 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001456/0.2435, allocations: 7.938 kB / 0.7891 GB, free: 7.891 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.201e-05/0.2436, allocations: 4 kB / 0.7891 GB, free: 7.887 MB / 0.6075 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 0.0001048/0.2437, allocations: 156.2 kB / 0.7893 GB, free: 7.719 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.784e-05/0.2437, allocations: 11.84 kB / 0.7893 GB, free: 7.707 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.945e-05/0.2437, allocations: 16.17 kB / 0.7893 GB, free: 7.684 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.072e-06/0.2437, allocations: 0 / 0.7893 GB, free: 7.684 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.2437, allocations: 0 / 0.7893 GB, free: 7.684 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.954e-06/0.2437, allocations: 0 / 0.7893 GB, free: 7.684 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001097/0.2438, allocations: 173.6 kB / 0.7894 GB, free: 7.465 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.2438, allocations: 0 / 0.7894 GB, free: 7.465 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.903e-06/0.2439, allocations: 3.938 kB / 0.7895 GB, free: 7.461 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.182e-06/0.2439, allocations: 0 / 0.7895 GB, free: 7.461 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.19e-05/0.2439, allocations: 8 kB / 0.7895 GB, free: 7.453 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.91e-07/0.2439, allocations: 0 / 0.7895 GB, free: 7.453 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.2439, allocations: 0 / 0.7895 GB, free: 7.453 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002453/0.2441, allocations: 230.6 kB / 0.7897 GB, free: 7.203 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.319e-05/0.2442, allocations: 84.95 kB / 0.7898 GB, free: 7.102 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.933e-05/0.2442, allocations: 4 kB / 0.7898 GB, free: 7.098 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.213e-05/0.2442, allocations: 0 / 0.7898 GB, free: 7.098 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.27e-05/0.2443, allocations: 11.98 kB / 0.7898 GB, free: 7.086 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.795e-06/0.2443, allocations: 11.97 kB / 0.7898 GB, free: 7.074 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.074e-05/0.2444, allocations: 107.2 kB / 0.7899 GB, free: 6.969 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2444, allocations: 0 / 0.7899 GB, free: 6.969 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002628/0.2447, allocations: 60 kB / 0.7899 GB, free: 6.91 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: 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.0002676/0.2449, allocations: 151.2 kB / 0.7901 GB, free: 6.754 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003674/0.2453, allocations: 374.6 kB / 0.7904 GB, free: 6.363 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.2453, allocations: 0 / 0.7904 GB, free: 6.363 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001139/0.2455, allocations: 139.4 kB / 0.7906 GB, free: 6.215 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001554/0.2456, allocations: 7.125 kB / 0.7906 GB, free: 6.211 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003435/0.246, allocations: 258.5 kB / 0.7908 GB, free: 5.93 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002454/0.2462, allocations: 0.6962 MB / 0.7915 GB, free: 5.207 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.097e-05/0.2462, allocations: 11.44 kB / 0.7915 GB, free: 5.195 MB / 0.6075 GB Notification: Performance of SimCode: time 2.31e-07/0.2462, allocations: 64 / 0.7915 GB, free: 5.195 MB / 0.6075 GB Notification: Performance of Templates: time 0.00309/0.2493, allocations: 1.669 MB / 0.7932 GB, free: 3.523 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.CubicHermite.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.CubicHermite.sim & ./Buildings_8_Buildings.Utilities.Math.Functions.Examples.CubicHermite -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe 2>&1)