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 2.12/2.12, allocations: 251.1 MB / 266.7 MB, free: 11.57 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.001326/0.001326, allocations: 182.5 kB / 326.3 MB, free: 2.863 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.396/2.396, allocations: 205.4 MB / 0.5772 GB, free: 21.16 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.003049/0.003049, allocations: 89.98 kB / 0.6817 GB, free: 14.07 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006946/0.0006948, allocations: 13.94 kB / 0.7957 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2332/0.2339, allocations: 106.3 MB / 0.8995 GB, free: 66.04 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.CubicHermite): time 0.000781/0.2348, allocations: 354.8 kB / 0.8998 GB, free: 65.69 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001971/0.2368, allocations: 1.383 MB / 0.9012 GB, free: 64.29 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.393e-05/0.2369, allocations: 0 / 0.9012 GB, free: 64.29 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 5.48e-05/0.237, allocations: 4 kB / 0.9012 GB, free: 64.29 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.939e-05/0.237, allocations: 4 kB / 0.9012 GB, free: 64.29 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007373/0.2378, allocations: 134.4 kB / 0.9013 GB, free: 64.16 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.221e-05/0.2379, allocations: 39.83 kB / 0.9014 GB, free: 64.12 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.81e-05/0.2379, allocations: 4 kB / 0.9014 GB, free: 64.11 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 4.052e-05/0.238, allocations: 15.98 kB / 0.9014 GB, free: 64.1 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.373e-05/0.238, allocations: 31.91 kB / 0.9014 GB, free: 64.07 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.869e-05/0.2381, allocations: 11.98 kB / 0.9014 GB, free: 64.05 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003513/0.2384, allocations: 171.8 kB / 0.9016 GB, free: 63.89 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 3.625e-05/0.2385, allocations: 15.92 kB / 0.9016 GB, free: 63.87 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.197e-05/0.2385, allocations: 29.7 kB / 0.9016 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002043/0.2387, allocations: 127.8 kB / 0.9018 GB, free: 63.71 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.2388, allocations: 3.938 kB / 0.9018 GB, free: 63.71 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.385e-06/0.2388, allocations: 0 / 0.9018 GB, free: 63.71 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.078e-05/0.2388, allocations: 0 / 0.9018 GB, free: 63.71 MB / 0.6042 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.0003522/0.2391, allocations: 426.6 kB / 0.9022 GB, free: 63.23 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.168e-05/0.2392, allocations: 12.03 kB / 0.9022 GB, free: 63.22 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.51e-05/0.2393, allocations: 8.844 kB / 0.9022 GB, free: 63.21 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.719e-05/0.2394, allocations: 176.2 kB / 0.9024 GB, free: 63 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.543e-05/0.2394, allocations: 4.375 kB / 0.9024 GB, free: 63 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.561e-05/0.2394, allocations: 384 / 0.9024 GB, free: 63 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002073/0.2396, allocations: 102 kB / 0.9025 GB, free: 62.89 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.196e-06/0.2397, allocations: 0 / 0.9025 GB, free: 62.89 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.475e-05/0.2397, allocations: 4 kB / 0.9025 GB, free: 62.89 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-06/0.2397, allocations: 0 / 0.9025 GB, free: 62.89 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000119/0.2398, allocations: 59.95 kB / 0.9025 GB, free: 62.83 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001452/0.24, allocations: 177.6 kB / 0.9027 GB, free: 62.61 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001376/0.2401, allocations: 82.47 kB / 0.9028 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001208/0.2403, allocations: 68.89 kB / 0.9028 GB, free: 62.45 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.089e-05/0.2403, allocations: 4 kB / 0.9028 GB, free: 62.44 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.057e-05/0.2403, allocations: 34.5 kB / 0.9029 GB, free: 62.4 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=4): time 1.563e-06/0.2403, allocations: 3.938 kB / 0.9029 GB, free: 62.39 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4): time 0.0005019/0.2408, allocations: 255.2 kB / 0.9031 GB, free: 62.13 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.95e-05/0.2409, allocations: 81.14 kB / 0.9032 GB, free: 62.04 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001273/0.241, allocations: 147.3 kB / 0.9033 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.561e-05/0.241, allocations: 25.7 kB / 0.9034 GB, free: 61.85 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.096e-05/0.2411, allocations: 96.05 kB / 0.9034 GB, free: 61.75 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.911e-05/0.2411, allocations: 19.83 kB / 0.9035 GB, free: 61.73 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.796e-06/0.2412, allocations: 0 / 0.9035 GB, free: 61.73 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.582e-05/0.2412, allocations: 322.8 kB / 0.9038 GB, free: 61.41 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001702/0.2414, allocations: 99.94 kB / 0.9039 GB, free: 61.31 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000167/0.2416, allocations: 107.9 kB / 0.904 GB, free: 61.21 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002016/0.2418, allocations: 155.3 kB / 0.9041 GB, free: 61.04 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.2418, allocations: 0 / 0.9041 GB, free: 61.04 MB / 0.6042 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004747/0.2423, allocations: 320.8 kB / 0.9044 GB, free: 60.71 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 6.025e-05/0.2424, allocations: 75.31 kB / 0.9045 GB, free: 60.62 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.363e-06/0.2424, allocations: 4 kB / 0.9045 GB, free: 60.62 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.154e-05/0.2424, allocations: 0 / 0.9045 GB, free: 60.62 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.533e-06/0.2425, allocations: 0 / 0.9045 GB, free: 60.62 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/0.2425, allocations: 0 / 0.9045 GB, free: 60.62 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001821/0.2427, allocations: 11.97 kB / 0.9045 GB, free: 60.61 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.913e-05/0.2427, allocations: 4 kB / 0.9045 GB, free: 60.61 MB / 0.6042 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.0001081/0.2428, allocations: 155.5 kB / 0.9047 GB, free: 60.44 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.187e-05/0.2428, allocations: 15.83 kB / 0.9047 GB, free: 60.42 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.123e-05/0.2429, allocations: 12.19 kB / 0.9047 GB, free: 60.4 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.2429, allocations: 0 / 0.9047 GB, free: 60.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.2429, allocations: 0 / 0.9047 GB, free: 60.4 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.697e-05/0.2429, allocations: 81.02 kB / 0.9048 GB, free: 60.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.64e-05/0.243, allocations: 4 kB / 0.9048 GB, free: 60.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.207e-05/0.2431, allocations: 11.94 kB / 0.9048 GB, free: 60.29 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.996e-05/0.2431, allocations: 11.98 kB / 0.9048 GB, free: 60.28 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003571/0.2435, allocations: 326 kB / 0.9051 GB, free: 59.93 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.00037/0.2439, allocations: 384.4 kB / 0.9055 GB, free: 59.54 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001499/0.2441, allocations: 75.95 kB / 0.9055 GB, free: 59.46 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 7.418e-05/0.2442, allocations: 108.6 kB / 0.9057 GB, free: 59.36 MB / 0.6042 GB Notification: Performance of Backend: time 9.62e-07/0.2442, allocations: 4.062 kB / 0.9057 GB, free: 59.35 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0009623/0.2451, allocations: 439.1 kB / 0.9061 GB, free: 58.89 MB / 0.6042 GB Notification: Performance of SimCode: time 0.0004606/0.2456, allocations: 0.6401 MB / 0.9067 GB, free: 58.2 MB / 0.6042 GB Notification: Performance of Templates: time 0.005884/0.2515, allocations: 1.883 MB / 0.9085 GB, free: 56.32 MB / 0.6042 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)