Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.CubicHermite.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.CubicHermite,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.CubicHermite") translateModel(Buildings.Utilities.Math.Functions.Examples.CubicHermite,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.CubicHermite") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 3.59/3.59, allocations: 251.1 MB / 266.7 MB, free: 11.64 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.002216/0.002216, allocations: 172.1 kB / 326.2 MB, free: 2.875 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.709/4.709, allocations: 205.4 MB / 0.5772 GB, free: 20.8 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.001611/0.001611, allocations: 95.98 kB / 0.6817 GB, free: 13.63 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000903/0.0009033, allocations: 13 kB / 0.7957 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3342/0.3351, allocations: 106.3 MB / 0.8995 GB, free: 65.54 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3561/0.6913, allocations: 132.4 MB / 1.029 GB, free: 12.98 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004742/0.6919, allocations: 91.89 kB / 1.029 GB, free: 12.89 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02553/0.7174, allocations: 3.211 MB / 1.032 GB, free: 9.672 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.757e-06/0.7175, allocations: 0 / 1.032 GB, free: 9.672 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 9.839e-06/0.7175, allocations: 0 / 1.032 GB, free: 9.672 MB / 0.6823 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.0008038/0.7184, allocations: 442.6 kB / 1.032 GB, free: 9.176 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.285e-05/0.7184, allocations: 8.031 kB / 1.032 GB, free: 9.168 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.153e-05/0.7185, allocations: 8.844 kB / 1.032 GB, free: 9.16 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002198/0.7188, allocations: 176.3 kB / 1.033 GB, free: 8.949 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.269e-05/0.7188, allocations: 4.375 kB / 1.033 GB, free: 8.945 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.517e-05/0.7188, allocations: 384 / 1.033 GB, free: 8.945 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003635/0.7192, allocations: 98.14 kB / 1.033 GB, free: 8.844 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.969e-06/0.7192, allocations: 192 / 1.033 GB, free: 8.844 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.785e-05/0.7193, allocations: 7.938 kB / 1.033 GB, free: 8.836 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.7193, allocations: 3.938 kB / 1.033 GB, free: 8.832 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002505/0.7196, allocations: 63.95 kB / 1.033 GB, free: 8.77 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003474/0.7199, allocations: 173.6 kB / 1.033 GB, free: 8.551 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002498/0.7202, allocations: 82.53 kB / 1.033 GB, free: 8.461 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002189/0.7204, allocations: 64.89 kB / 1.033 GB, free: 8.395 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.514e-05/0.7205, allocations: 4 kB / 1.033 GB, free: 8.391 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.104e-05/0.7205, allocations: 38.5 kB / 1.033 GB, free: 8.344 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=4): time 3.998e-06/0.7206, allocations: 4 kB / 1.033 GB, free: 8.34 MB / 0.6823 GB Notification: Performance of matching and sorting (n=4): time 0.0009115/0.7215, allocations: 255.1 kB / 1.033 GB, free: 8.078 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.859e-05/0.7216, allocations: 81.09 kB / 1.033 GB, free: 7.98 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00025/0.7219, allocations: 139.2 kB / 1.034 GB, free: 7.836 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.695e-05/0.722, allocations: 25.7 kB / 1.034 GB, free: 7.805 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 9.867e-05/0.7221, allocations: 96.03 kB / 1.034 GB, free: 7.707 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 4.445e-05/0.7221, allocations: 11.84 kB / 1.034 GB, free: 7.695 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.413e-05/0.7222, allocations: 0 / 1.034 GB, free: 7.695 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.000219/0.7224, allocations: 322.8 kB / 1.034 GB, free: 7.371 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003139/0.7227, allocations: 95.97 kB / 1.034 GB, free: 7.277 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003167/0.7231, allocations: 103.9 kB / 1.034 GB, free: 7.176 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001881/0.725, allocations: 167.2 kB / 1.034 GB, free: 7 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.693e-06/0.725, allocations: 0 / 1.034 GB, free: 7 MB / 0.6823 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0009524/0.726, allocations: 308.9 kB / 1.035 GB, free: 6.68 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001218/0.7261, allocations: 75.33 kB / 1.035 GB, free: 6.594 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.468e-06/0.7262, allocations: 0 / 1.035 GB, free: 6.594 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.238e-05/0.7262, allocations: 0 / 1.035 GB, free: 6.594 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.392e-06/0.7262, allocations: 0 / 1.035 GB, free: 6.594 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.689e-05/0.7263, allocations: 7.922 kB / 1.035 GB, free: 6.586 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001885/0.7265, allocations: 19.95 kB / 1.035 GB, free: 6.566 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.661e-05/0.7265, allocations: 4 kB / 1.035 GB, free: 6.562 MB / 0.6823 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002229/0.7268, allocations: 151.5 kB / 1.035 GB, free: 6.398 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.081e-05/0.7268, allocations: 11.84 kB / 1.035 GB, free: 6.387 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.362e-05/0.7269, allocations: 12.25 kB / 1.035 GB, free: 6.371 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.429e-06/0.7269, allocations: 0 / 1.035 GB, free: 6.371 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.7269, allocations: 0 / 1.035 GB, free: 6.371 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.7269, allocations: 0 / 1.035 GB, free: 6.371 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002453/0.7272, allocations: 181.6 kB / 1.035 GB, free: 6.145 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.604e-06/0.7272, allocations: 0 / 1.035 GB, free: 6.145 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.214e-06/0.7272, allocations: 0 / 1.035 GB, free: 6.145 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.444e-06/0.7272, allocations: 3.938 kB / 1.035 GB, free: 6.141 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.549e-05/0.7273, allocations: 7.984 kB / 1.035 GB, free: 6.133 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.314e-06/0.7273, allocations: 3.938 kB / 1.035 GB, free: 6.129 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.7273, allocations: 0 / 1.035 GB, free: 6.129 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006782/0.728, allocations: 222.8 kB / 1.035 GB, free: 5.887 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 7.929e-05/0.7281, allocations: 89 kB / 1.035 GB, free: 5.781 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.219e-05/0.7282, allocations: 7.969 kB / 1.035 GB, free: 5.773 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001341/0.7283, allocations: 4 kB / 1.035 GB, free: 5.77 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001113/0.7285, allocations: 11.98 kB / 1.035 GB, free: 5.758 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.059e-05/0.7285, allocations: 4 kB / 1.035 GB, free: 5.754 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0001529/0.7287, allocations: 105.3 kB / 1.036 GB, free: 5.652 MB / 0.6823 GB Notification: Performance of sort global known variables: time 5.81e-07/0.7287, allocations: 0 / 1.036 GB, free: 5.652 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.000805/0.7295, allocations: 79.94 kB / 1.036 GB, free: 5.574 MB / 0.6823 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 (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.0005833/0.7301, allocations: 163.1 kB / 1.036 GB, free: 5.406 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0009357/0.7311, allocations: 366.6 kB / 1.036 GB, free: 5.023 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/0.7311, allocations: 0 / 1.036 GB, free: 5.023 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0003114/0.7314, allocations: 135.3 kB / 1.036 GB, free: 4.879 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003962/0.7318, allocations: 8 kB / 1.036 GB, free: 4.871 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007273/0.7326, allocations: 211.5 kB / 1.036 GB, free: 4.629 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000453/0.733, allocations: 0.6887 MB / 1.037 GB, free: 3.914 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 1.781e-05/0.7331, allocations: 7.984 kB / 1.037 GB, free: 3.906 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.229e-05/0.7331, allocations: 11.38 kB / 1.037 GB, free: 3.898 MB / 0.6823 GB Notification: Performance of SimCode: time 1.563e-06/0.7331, allocations: 0 / 1.037 GB, free: 3.898 MB / 0.6823 GB Notification: Performance of Templates: time 0.009648/0.7428, allocations: 1.858 MB / 1.039 GB, free: 2.047 MB / 0.6823 GB make -j1 -f Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.CubicHermite.makefile (rm -f Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe ; mkfifo Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe >> ../files/Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.CubicHermite.sim & ./Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.CubicHermite -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe 2>&1)