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.001266/0.001266, allocations: 101.8 kB / 16.27 MB, free: 5.969 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.001428/0.001428, allocations: 193.2 kB / 17.2 MB, free: 5.594 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.542/1.542, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.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.822/1.822, allocations: 292.3 MB / 0.5495 GB, free: 17.52 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.001721/0.001721, allocations: 74.88 kB / 0.6722 GB, free: 6.574 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2809/0.2827, allocations: 114.5 MB / 0.784 GB, free: 3.91 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.CubicHermite): time 0.002267/0.285, allocations: 0.6136 MB / 0.7846 GB, free: 3.285 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.002562/0.2876, allocations: 1.416 MB / 0.786 GB, free: 1.852 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.478e-05/0.2877, allocations: 0 / 0.786 GB, free: 1.852 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 9.708e-05/0.2878, allocations: 7.938 kB / 0.786 GB, free: 1.844 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 7.098e-05/0.2879, allocations: 8 kB / 0.786 GB, free: 1.836 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.001278/0.2892, allocations: 167.6 kB / 0.7862 GB, free: 1.672 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001864/0.2894, allocations: 55.89 kB / 0.7862 GB, free: 1.617 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 7.549e-05/0.2895, allocations: 3.984 kB / 0.7862 GB, free: 1.613 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 6.802e-05/0.2895, allocations: 23.92 kB / 0.7863 GB, free: 1.59 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 8.809e-05/0.2896, allocations: 23.86 kB / 0.7863 GB, free: 1.566 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.416e-05/0.2897, allocations: 4 kB / 0.7863 GB, free: 1.562 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005602/0.2902, allocations: 207.7 kB / 0.7865 GB, free: 1.359 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 7.926e-05/0.2903, allocations: 8 kB / 0.7865 GB, free: 1.352 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 8.028e-05/0.2904, allocations: 31.8 kB / 0.7865 GB, free: 1.32 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0005205/0.291, allocations: 187.8 kB / 0.7867 GB, free: 1.137 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 9.668e-06/0.291, allocations: 0 / 0.7867 GB, free: 1.137 MB / 0.6544 GB Notification: Performance of FrontEnd: time 3.326e-06/0.291, allocations: 0 / 0.7867 GB, free: 1.137 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.202e-05/0.291, allocations: 0 / 0.7867 GB, free: 1.137 MB / 0.6544 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.0008582/0.2919, allocations: 434.7 kB / 0.7871 GB, free: 0.6523 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 6.704e-05/0.2919, allocations: 8.031 kB / 0.7871 GB, free: 0.6445 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.339e-05/0.292, allocations: 12.84 kB / 0.7871 GB, free: 0.6328 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002688/0.2923, allocations: 176.2 kB / 0.7873 GB, free: 432 kB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.003e-05/0.2923, allocations: 384 / 0.7873 GB, free: 432 kB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.013e-05/0.2924, allocations: 4.375 kB / 0.7873 GB, free: 428 kB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00027/0.2926, allocations: 105.9 kB / 0.7874 GB, free: 316 kB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.249e-05/0.2927, allocations: 0 / 0.7874 GB, free: 316 kB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.733e-05/0.2927, allocations: 0 / 0.7874 GB, free: 316 kB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.768e-06/0.2927, allocations: 0 / 0.7874 GB, free: 316 kB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001392/0.2928, allocations: 63.95 kB / 0.7875 GB, free: 252 kB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002833/0.2931, allocations: 173.6 kB / 0.7876 GB, free: 28 kB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.464/0.7571, allocations: 78.92 kB / 0.7877 GB, free: 48.83 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001086/0.7573, allocations: 70.86 kB / 0.7878 GB, free: 48.82 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.154e-05/0.7573, allocations: 0 / 0.7878 GB, free: 48.82 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.379e-05/0.7573, allocations: 37.53 kB / 0.7878 GB, free: 48.78 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=4): time 1.683e-06/0.7574, allocations: 0 / 0.7878 GB, free: 48.78 MB / 0.6544 GB Notification: Performance of matching and sorting (n=4): time 0.0004097/0.7578, allocations: 254.7 kB / 0.7881 GB, free: 48.72 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.11e-05/0.7578, allocations: 81.89 kB / 0.7881 GB, free: 48.62 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001225/0.7579, allocations: 142 kB / 0.7883 GB, free: 48.53 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.278e-05/0.758, allocations: 26.33 kB / 0.7883 GB, free: 48.5 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 3.921e-05/0.758, allocations: 96.72 kB / 0.7884 GB, free: 48.41 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.643e-05/0.758, allocations: 11.19 kB / 0.7884 GB, free: 48.41 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.492e-05/0.7581, allocations: 31.94 kB / 0.7884 GB, free: 48.4 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 6.727e-05/0.7582, allocations: 321.7 kB / 0.7887 GB, free: 48.09 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001029/0.7583, allocations: 104.4 kB / 0.7888 GB, free: 48.09 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001051/0.7584, allocations: 97.2 kB / 0.7889 GB, free: 48.09 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002054/0.7586, allocations: 280.7 kB / 0.7892 GB, free: 47.98 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.7586, allocations: 0 / 0.7892 GB, free: 47.98 MB / 0.6544 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002665/0.7589, allocations: 322.6 kB / 0.7895 GB, free: 47.89 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 4.799e-05/0.759, allocations: 70.95 kB / 0.7896 GB, free: 47.82 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.759, allocations: 2.438 kB / 0.7896 GB, free: 47.82 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.659e-05/0.759, allocations: 3.062 kB / 0.7896 GB, free: 47.82 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.363e-06/0.759, allocations: 0.6562 kB / 0.7896 GB, free: 47.82 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.783e-06/0.759, allocations: 3.797 kB / 0.7896 GB, free: 47.82 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001903/0.7592, allocations: 17.52 kB / 0.7896 GB, free: 47.82 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.395e-05/0.7592, allocations: 3.219 kB / 0.7896 GB, free: 47.82 MB / 0.6544 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 8.236e-05/0.7593, allocations: 151.4 kB / 0.7898 GB, free: 47.67 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.623e-05/0.7593, allocations: 7.844 kB / 0.7898 GB, free: 47.67 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.603e-05/0.7594, allocations: 11.11 kB / 0.7898 GB, free: 47.66 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.077e-06/0.7594, allocations: 8.297 kB / 0.7898 GB, free: 47.66 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.7594, allocations: 0 / 0.7898 GB, free: 47.66 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.7594, allocations: 2.438 kB / 0.7898 GB, free: 47.66 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.641e-05/0.7595, allocations: 179.4 kB / 0.79 GB, free: 47.47 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.7595, allocations: 1.062 kB / 0.79 GB, free: 47.47 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.11e-07/0.7595, allocations: 0 / 0.79 GB, free: 47.47 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.203e-06/0.7595, allocations: 0 / 0.79 GB, free: 47.47 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.009e-05/0.7595, allocations: 3.797 kB / 0.79 GB, free: 47.47 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.7595, allocations: 0 / 0.79 GB, free: 47.47 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.7595, allocations: 2.75 kB / 0.79 GB, free: 47.47 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002179/0.7597, allocations: 233 kB / 0.7902 GB, free: 47.37 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 1.864e-05/0.7598, allocations: 77.11 kB / 0.7903 GB, free: 47.28 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.915e-05/0.7598, allocations: 9.953 kB / 0.7903 GB, free: 47.28 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.409e-05/0.7598, allocations: 2.625 kB / 0.7903 GB, free: 47.28 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.279e-05/0.7599, allocations: 14.03 kB / 0.7903 GB, free: 47.28 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.961e-06/0.7599, allocations: 2.875 kB / 0.7903 GB, free: 47.28 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 4.478e-05/0.76, allocations: 107.4 kB / 0.7904 GB, free: 47.2 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.76, allocations: 0.5312 kB / 0.7904 GB, free: 47.2 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003046/0.7603, allocations: 66.05 kB / 0.7905 GB, free: 47.2 MB / 0.6544 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.0002574/0.7606, allocations: 154 kB / 0.7906 GB, free: 47.11 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0003299/0.7609, allocations: 372.9 kB / 0.791 GB, free: 46.98 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.7609, allocations: 0.5 kB / 0.791 GB, free: 46.98 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 9.59e-05/0.761, allocations: 141 kB / 0.7911 GB, free: 46.92 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000156/0.7612, allocations: 5.844 kB / 0.7911 GB, free: 46.92 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003163/0.7615, allocations: 238.2 kB / 0.7913 GB, free: 46.78 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001184/0.7616, allocations: 0.6949 MB / 0.792 GB, free: 46.08 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.866e-06/0.7616, allocations: 7.438 kB / 0.792 GB, free: 46.08 MB / 0.6544 GB Notification: Performance of SimCode: time 2.01e-07/0.7616, allocations: 0 / 0.792 GB, free: 46.08 MB / 0.6544 GB Notification: Performance of Templates: time 0.003006/0.7646, allocations: 1.657 MB / 0.7936 GB, free: 46.01 MB / 0.6544 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)