Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_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 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/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_1.6_Buildings.Utilities.Math.Functions.Examples.CubicHermite") translateModel(Buildings.Utilities.Math.Functions.Examples.CubicHermite,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.001135/0.001135, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.001216/0.001216, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.419/1.419, allocations: 205.4 MB / 222.1 MB, free: 5.656 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.5895/0.5895, allocations: 95.57 MB / 365.9 MB, free: 10.41 MB / 302.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: Buildings requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005806/0.0005808, allocations: 20 kB / 446.8 MB, free: 9.41 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3169/0.3175, allocations: 70.34 MB / 0.505 GB, free: 16.52 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.CubicHermite): time 0.0006013/0.3182, allocations: 297.7 kB / 0.5053 GB, free: 16.22 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00126/0.3194, allocations: 1.372 MB / 0.5066 GB, free: 14.84 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.699e-05/0.3195, allocations: 3.938 kB / 0.5066 GB, free: 14.84 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 6.663e-05/0.3196, allocations: 0 / 0.5066 GB, free: 14.84 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 4.846e-05/0.3196, allocations: 3.984 kB / 0.5066 GB, free: 14.83 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004939/0.3201, allocations: 127.8 kB / 0.5068 GB, free: 14.71 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.897e-05/0.3202, allocations: 19.97 kB / 0.5068 GB, free: 14.69 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.826e-05/0.3202, allocations: 8 kB / 0.5068 GB, free: 14.68 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.496e-05/0.3203, allocations: 23.91 kB / 0.5068 GB, free: 14.66 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.064e-05/0.3203, allocations: 31.91 kB / 0.5068 GB, free: 14.62 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.25e-05/0.3204, allocations: 0 / 0.5068 GB, free: 14.62 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002136/0.3206, allocations: 167.8 kB / 0.507 GB, free: 14.46 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.02e-05/0.3206, allocations: 15.92 kB / 0.507 GB, free: 14.45 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.726e-05/0.3207, allocations: 25.7 kB / 0.507 GB, free: 14.41 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001366/0.3208, allocations: 117.8 kB / 0.5071 GB, free: 14.3 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.455e-06/0.3208, allocations: 4 kB / 0.5071 GB, free: 14.3 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.3208, allocations: 0 / 0.5071 GB, free: 14.3 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.534e-06/0.3208, allocations: 0 / 0.5071 GB, free: 14.3 MB / 382.1 MB 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.0002805/0.3211, allocations: 438.5 kB / 0.5076 GB, free: 13.81 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.898e-05/0.3212, allocations: 11.98 kB / 0.5076 GB, free: 13.8 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.067e-05/0.3212, allocations: 7.906 kB / 0.5076 GB, free: 13.79 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.024e-05/0.3213, allocations: 185 kB / 0.5078 GB, free: 13.57 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.284e-05/0.3213, allocations: 3.953 kB / 0.5078 GB, free: 13.57 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.355e-05/0.3213, allocations: 4 kB / 0.5078 GB, free: 13.56 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001395/0.3215, allocations: 101.6 kB / 0.5079 GB, free: 13.46 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.272e-06/0.3215, allocations: 0 / 0.5079 GB, free: 13.46 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.016e-05/0.3215, allocations: 3.938 kB / 0.5079 GB, free: 13.45 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.067e-06/0.3215, allocations: 4 kB / 0.5079 GB, free: 13.45 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.427e-05/0.3216, allocations: 63.95 kB / 0.5079 GB, free: 13.39 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001029/0.3217, allocations: 165.7 kB / 0.5081 GB, free: 13.18 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.848e-05/0.3218, allocations: 86.45 kB / 0.5082 GB, free: 13.08 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.814e-06/0.3218, allocations: 3.953 kB / 0.5082 GB, free: 13.08 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.527e-05/0.3218, allocations: 30.56 kB / 0.5082 GB, free: 13.04 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.603e-06/0.3218, allocations: 0 / 0.5082 GB, free: 13.04 MB / 382.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003142/0.3222, allocations: 336.3 kB / 0.5085 GB, free: 12.68 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.811e-05/0.3222, allocations: 89.09 kB / 0.5086 GB, free: 12.57 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.677e-05/0.3223, allocations: 134 kB / 0.5087 GB, free: 12.43 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.057e-06/0.3223, allocations: 33.64 kB / 0.5088 GB, free: 12.39 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.847e-05/0.3223, allocations: 96.03 kB / 0.5089 GB, free: 12.3 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.716e-05/0.3223, allocations: 7.844 kB / 0.5089 GB, free: 12.29 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.36e-06/0.3224, allocations: 0 / 0.5089 GB, free: 12.29 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 3.971e-05/0.3224, allocations: 322.8 kB / 0.5092 GB, free: 11.96 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.583e-05/0.3225, allocations: 104 kB / 0.5093 GB, free: 11.86 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.941e-05/0.3226, allocations: 99.94 kB / 0.5094 GB, free: 11.77 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001023/0.3227, allocations: 167.3 kB / 0.5095 GB, free: 11.59 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.3227, allocations: 0 / 0.5095 GB, free: 11.59 MB / 382.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002341/0.3229, allocations: 320.9 kB / 0.5098 GB, free: 11.26 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.83e-05/0.323, allocations: 75.34 kB / 0.5099 GB, free: 11.17 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.878e-06/0.323, allocations: 0 / 0.5099 GB, free: 11.17 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.101e-05/0.323, allocations: 0 / 0.5099 GB, free: 11.17 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.02e-07/0.323, allocations: 0 / 0.5099 GB, free: 11.17 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.578e-06/0.323, allocations: 0 / 0.5099 GB, free: 11.17 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001532/0.3232, allocations: 19.95 kB / 0.5099 GB, free: 11.15 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.246e-05/0.3232, allocations: 4 kB / 0.5099 GB, free: 11.15 MB / 382.1 MB 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 8.757e-05/0.3233, allocations: 155.5 kB / 0.5101 GB, free: 10.98 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.378e-05/0.3233, allocations: 7.906 kB / 0.5101 GB, free: 10.97 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.45e-05/0.3233, allocations: 8.203 kB / 0.5101 GB, free: 10.96 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-06/0.3233, allocations: 0 / 0.5101 GB, free: 10.96 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.129e-06/0.3233, allocations: 0 / 0.5101 GB, free: 10.96 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.3234, allocations: 7.984 kB / 0.5101 GB, free: 10.95 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.994e-05/0.3234, allocations: 169.6 kB / 0.5103 GB, free: 10.74 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.3234, allocations: 4 kB / 0.5103 GB, free: 10.73 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.342e-06/0.3235, allocations: 7.938 kB / 0.5103 GB, free: 10.73 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.3235, allocations: 3.984 kB / 0.5103 GB, free: 10.72 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.949e-06/0.3235, allocations: 0 / 0.5103 GB, free: 10.72 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.3235, allocations: 3.953 kB / 0.5103 GB, free: 10.72 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.3235, allocations: 0 / 0.5103 GB, free: 10.72 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002043/0.3237, allocations: 226.6 kB / 0.5105 GB, free: 10.47 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.347e-05/0.3237, allocations: 92.95 kB / 0.5106 GB, free: 10.36 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.814e-05/0.3238, allocations: 4.031 kB / 0.5106 GB, free: 10.36 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.762e-05/0.3238, allocations: 4 kB / 0.5106 GB, free: 10.36 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.551e-05/0.3239, allocations: 15.94 kB / 0.5106 GB, free: 10.34 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.033e-06/0.3239, allocations: 4 kB / 0.5106 GB, free: 10.34 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.711e-05/0.3239, allocations: 108.9 kB / 0.5107 GB, free: 10.23 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3239, allocations: 0 / 0.5107 GB, free: 10.23 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002742/0.3242, allocations: 64 kB / 0.5108 GB, free: 10.17 MB / 382.1 MB 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.0002263/0.3245, allocations: 151.2 kB / 0.5109 GB, free: 10.01 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002997/0.3248, allocations: 366.7 kB / 0.5113 GB, free: 9.625 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.083e-06/0.3248, allocations: 0 / 0.5113 GB, free: 9.625 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.899e-05/0.3249, allocations: 135.3 kB / 0.5114 GB, free: 9.48 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001007/0.325, allocations: 4 kB / 0.5114 GB, free: 9.477 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002981/0.3253, allocations: 219.5 kB / 0.5116 GB, free: 9.234 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001111/0.3254, allocations: 0.6928 MB / 0.5123 GB, free: 8.516 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.791e-06/0.3254, allocations: 3.938 kB / 0.5123 GB, free: 8.512 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.635e-06/0.3254, allocations: 11.44 kB / 0.5123 GB, free: 8.5 MB / 382.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3254, allocations: 3.938 kB / 0.5123 GB, free: 8.496 MB / 382.1 MB Notification: Performance of Templates: time 0.003999/0.3294, allocations: 1.866 MB / 0.5141 GB, free: 6.637 MB / 382.1 MB make -j1 -f Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.CubicHermite.makefile Environment - environmentSimulation: (rm -f Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.CubicHermite.sim & ./Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.CubicHermite -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe 2>&1) Environment - environmentSimulation: