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/Buildings 1.6.0+build.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/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/Buildings 1.6.0+build.1/package.mo): time 0.5829/0.5829, allocations: 94.78 MB / 102.2 MB, free: 10.16 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001131/0.001131, allocations: 179 kB / 125.6 MB, free: 11.91 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.72/1.72, allocations: 170.6 MB / 319.4 MB, free: 9.324 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001852/0.001852, allocations: 112.3 kB / 381.3 MB, free: 18.31 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.763e-05/2.765e-05, allocations: 4 kB / 449.1 MB, free: 1.762 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1612/0.1613, allocations: 61.52 MB / 0.4987 GB, free: 4.148 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4581/0.6194, allocations: 93.83 MB / 0.5903 GB, free: 8.148 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003454/0.6198, allocations: 84.53 kB / 0.5904 GB, free: 8.066 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009846/0.6297, allocations: 3.115 MB / 0.5934 GB, free: 5.016 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.445e-06/0.6298, allocations: 0 / 0.5934 GB, free: 5.016 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.725e-06/0.6298, allocations: 0 / 0.5934 GB, free: 5.016 MB / 410.7 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.0004651/0.6302, allocations: 428.3 kB / 0.5938 GB, free: 4.543 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.789e-05/0.6303, allocations: 8.031 kB / 0.5938 GB, free: 4.535 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.186e-05/0.6304, allocations: 5.875 kB / 0.5939 GB, free: 4.531 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001665/0.6305, allocations: 171.6 kB / 0.594 GB, free: 4.324 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.51e-05/0.6306, allocations: 0 / 0.594 GB, free: 4.324 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.78e-05/0.6306, allocations: 4.875 kB / 0.594 GB, free: 4.32 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001468/0.6307, allocations: 63.06 kB / 0.5941 GB, free: 4.262 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001404/0.6309, allocations: 100.3 kB / 0.5942 GB, free: 4.16 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.438e-06/0.6309, allocations: 0 / 0.5942 GB, free: 4.16 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.187e-05/0.6309, allocations: 3.938 kB / 0.5942 GB, free: 4.156 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.6309, allocations: 0 / 0.5942 GB, free: 4.156 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001642/0.6311, allocations: 152.3 kB / 0.5943 GB, free: 3.973 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00012/0.6312, allocations: 79.19 kB / 0.5944 GB, free: 3.887 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.646e-05/0.6313, allocations: 72.39 kB / 0.5945 GB, free: 3.816 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.597e-06/0.6313, allocations: 0 / 0.5945 GB, free: 3.816 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.056e-05/0.6314, allocations: 30.56 kB / 0.5945 GB, free: 3.777 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 9.51e-07/0.6314, allocations: 0 / 0.5945 GB, free: 3.777 MB / 410.7 MB Notification: Performance of matching and sorting (n=4): time 0.0003688/0.6318, allocations: 168.7 kB / 0.5947 GB, free: 3.609 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.991e-05/0.6318, allocations: 81.11 kB / 0.5947 GB, free: 3.512 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001275/0.632, allocations: 134.9 kB / 0.5949 GB, free: 3.371 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2e-05/0.632, allocations: 27.8 kB / 0.5949 GB, free: 3.34 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.705e-05/0.632, allocations: 88.14 kB / 0.595 GB, free: 3.25 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.962e-05/0.6321, allocations: 19.8 kB / 0.595 GB, free: 3.23 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.304e-06/0.6321, allocations: 0 / 0.595 GB, free: 3.23 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001343/0.6322, allocations: 318.9 kB / 0.5953 GB, free: 2.91 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001152/0.6324, allocations: 95.94 kB / 0.5954 GB, free: 2.816 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001197/0.6325, allocations: 95.94 kB / 0.5955 GB, free: 2.723 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001925/0.6327, allocations: 103.9 kB / 0.5956 GB, free: 2.621 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.6327, allocations: 0 / 0.5956 GB, free: 2.621 MB / 410.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003795/0.6331, allocations: 244.1 kB / 0.5958 GB, free: 2.379 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.004e-05/0.6332, allocations: 71.38 kB / 0.5959 GB, free: 2.297 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.112e-06/0.6332, allocations: 0 / 0.5959 GB, free: 2.297 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.857e-05/0.6332, allocations: 0 / 0.5959 GB, free: 2.297 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.422e-06/0.6332, allocations: 4 kB / 0.5959 GB, free: 2.293 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.671e-06/0.6332, allocations: 7.875 kB / 0.5959 GB, free: 2.285 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.747e-05/0.6333, allocations: 19.95 kB / 0.5959 GB, free: 2.266 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.739e-05/0.6334, allocations: 8 kB / 0.5959 GB, free: 2.258 MB / 410.7 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 () * 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.0001191/0.6335, allocations: 138.7 kB / 0.5961 GB, free: 2.109 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.647e-05/0.6335, allocations: 7.906 kB / 0.5961 GB, free: 2.102 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.66e-05/0.6335, allocations: 6.656 kB / 0.5961 GB, free: 2.094 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.6336, allocations: 0 / 0.5961 GB, free: 2.094 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.6336, allocations: 0 / 0.5961 GB, free: 2.094 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.6336, allocations: 0 / 0.5961 GB, free: 2.094 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000144/0.6337, allocations: 162.2 kB / 0.5962 GB, free: 1.898 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.6337, allocations: 0 / 0.5962 GB, free: 1.898 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.31e-07/0.6337, allocations: 0 / 0.5962 GB, free: 1.898 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.313e-06/0.6337, allocations: 0 / 0.5962 GB, free: 1.898 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.374e-05/0.6338, allocations: 4 kB / 0.5962 GB, free: 1.895 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.6338, allocations: 1.125 kB / 0.5962 GB, free: 1.895 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.6338, allocations: 0 / 0.5962 GB, free: 1.895 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002961/0.6341, allocations: 196.9 kB / 0.5964 GB, free: 1.684 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.278e-05/0.6341, allocations: 81.02 kB / 0.5965 GB, free: 1.586 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.45e-05/0.6342, allocations: 8.031 kB / 0.5965 GB, free: 1.578 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.549e-05/0.6342, allocations: 4 kB / 0.5965 GB, free: 1.574 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.761e-05/0.6343, allocations: 15.92 kB / 0.5965 GB, free: 1.559 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.107e-06/0.6343, allocations: 3.984 kB / 0.5965 GB, free: 1.555 MB / 410.7 MB Notification: Performance of sorting global known variables: time 7.687e-05/0.6344, allocations: 106.1 kB / 0.5966 GB, free: 1.453 MB / 410.7 MB Notification: Performance of sort global known variables: time 2e-07/0.6344, allocations: 0 / 0.5966 GB, free: 1.453 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003467/0.6348, allocations: 71.92 kB / 0.5967 GB, free: 1.383 MB / 410.7 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) * 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.0003545/0.6352, allocations: 155.2 kB / 0.5968 GB, free: 1.223 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004602/0.6356, allocations: 359.2 kB / 0.5972 GB, free: 0.8477 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.579e-06/0.6356, allocations: 0 / 0.5972 GB, free: 0.8477 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001471/0.6358, allocations: 135.3 kB / 0.5973 GB, free: 0.7031 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001406/0.6359, allocations: 11.95 kB / 0.5973 GB, free: 0.6914 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003765/0.6363, allocations: 158.6 kB / 0.5975 GB, free: 0.5234 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004164/0.6368, allocations: 0.6963 MB / 0.5982 GB, free: 15.8 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 8.646e-06/0.6368, allocations: 3.938 kB / 0.5982 GB, free: 15.8 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.332e-05/0.6368, allocations: 11.56 kB / 0.5982 GB, free: 15.79 MB / 426.7 MB Notification: Performance of SimCode: time 2.51e-07/0.6368, allocations: 0 / 0.5982 GB, free: 15.79 MB / 426.7 MB Notification: Performance of Templates: time 0.004475/0.6413, allocations: 1.733 MB / 0.5999 GB, free: 14.12 MB / 426.7 MB make -j1 -f Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.CubicHermite.makefile (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)