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.0009974/0.0009973, allocations: 100 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.001009/0.001009, 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.571/1.571, allocations: 205.4 MB / 222.1 MB, free: 5.527 MB / 174.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.811/1.811, allocations: 292.5 MB / 0.5497 GB, free: 14.61 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.0005644/0.0005644, allocations: 16 kB / 0.6735 GB, free: 26.18 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2431/0.2437, allocations: 116.3 MB / 0.7871 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.CubicHermite): time 0.0007074/0.2444, allocations: 353.7 kB / 0.7874 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001635/0.2461, allocations: 1.366 MB / 0.7888 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.45e-05/0.2461, allocations: 0 / 0.7888 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 4.825e-05/0.2462, allocations: 4 kB / 0.7888 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.588e-05/0.2462, allocations: 15.91 kB / 0.7888 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004902/0.2467, allocations: 123.7 kB / 0.7889 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 5.65e-05/0.2468, allocations: 27.95 kB / 0.7889 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.236e-05/0.2468, allocations: 0 / 0.7889 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.342e-05/0.2469, allocations: 15.98 kB / 0.789 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.981e-05/0.2469, allocations: 31.91 kB / 0.789 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.388e-05/0.247, allocations: 8 kB / 0.789 GB, free: 10 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002881/0.2473, allocations: 163.7 kB / 0.7892 GB, free: 9.84 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.059e-05/0.2473, allocations: 15.98 kB / 0.7892 GB, free: 9.824 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.32e-05/0.2473, allocations: 37.58 kB / 0.7892 GB, free: 9.781 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001684/0.2475, allocations: 124 kB / 0.7893 GB, free: 9.66 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.033e-06/0.2475, allocations: 0 / 0.7893 GB, free: 9.66 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.302e-06/0.2475, allocations: 0 / 0.7893 GB, free: 9.66 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.955e-06/0.2475, allocations: 0 / 0.7893 GB, free: 9.66 MB / 0.6075 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.0004078/0.2479, allocations: 426.6 kB / 0.7897 GB, free: 9.184 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.065e-05/0.248, allocations: 12.03 kB / 0.7897 GB, free: 9.172 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.272e-05/0.248, allocations: 7.906 kB / 0.7898 GB, free: 9.164 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001189/0.2481, allocations: 175 kB / 0.7899 GB, free: 8.953 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.16e-05/0.2482, allocations: 4 kB / 0.7899 GB, free: 8.949 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.327e-05/0.2482, allocations: 0 / 0.7899 GB, free: 8.949 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001637/0.2484, allocations: 93.64 kB / 0.79 GB, free: 8.852 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.022e-06/0.2484, allocations: 0 / 0.79 GB, free: 8.852 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.261e-05/0.2484, allocations: 8 kB / 0.79 GB, free: 8.844 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.615e-06/0.2484, allocations: 0 / 0.79 GB, free: 8.844 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.385e-05/0.2485, allocations: 63.89 kB / 0.7901 GB, free: 8.781 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001479/0.2487, allocations: 181.5 kB / 0.7903 GB, free: 8.555 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001092/0.2488, allocations: 78.53 kB / 0.7903 GB, free: 8.469 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 7.975e-06/0.2488, allocations: 3.984 kB / 0.7903 GB, free: 8.465 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.31e-05/0.2488, allocations: 30.56 kB / 0.7904 GB, free: 8.426 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=4): time 1.172e-06/0.2488, allocations: 0 / 0.7904 GB, free: 8.426 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4): time 0.0004587/0.2493, allocations: 336.2 kB / 0.7907 GB, free: 8.066 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.835e-05/0.2494, allocations: 89.09 kB / 0.7908 GB, free: 7.961 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001163/0.2495, allocations: 148.8 kB / 0.7909 GB, free: 7.809 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 8.108e-05/0.2496, allocations: 25.7 kB / 0.7909 GB, free: 7.777 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.628e-05/0.2496, allocations: 96.11 kB / 0.791 GB, free: 7.68 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.85e-05/0.2497, allocations: 7.812 kB / 0.791 GB, free: 7.672 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.185e-06/0.2497, allocations: 4 kB / 0.791 GB, free: 7.668 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001049/0.2498, allocations: 322.8 kB / 0.7913 GB, free: 7.344 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000147/0.2499, allocations: 99.94 kB / 0.7914 GB, free: 7.246 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001102/0.2501, allocations: 103.9 kB / 0.7915 GB, free: 7.145 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001625/0.2502, allocations: 171.3 kB / 0.7917 GB, free: 6.965 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.2502, allocations: 0 / 0.7917 GB, free: 6.965 MB / 0.6075 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003952/0.2506, allocations: 320.8 kB / 0.792 GB, free: 6.633 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 5.893e-05/0.2507, allocations: 71.39 kB / 0.7921 GB, free: 6.551 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.937e-06/0.2507, allocations: 0 / 0.7921 GB, free: 6.551 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.219e-05/0.2507, allocations: 0 / 0.7921 GB, free: 6.551 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.384e-06/0.2507, allocations: 3.984 kB / 0.7921 GB, free: 6.547 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.98e-06/0.2507, allocations: 4 kB / 0.7921 GB, free: 6.543 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001272/0.2509, allocations: 11.84 kB / 0.7921 GB, free: 6.531 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.306e-05/0.2509, allocations: 4 kB / 0.7921 GB, free: 6.527 MB / 0.6075 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.0001044/0.251, allocations: 162.3 kB / 0.7923 GB, free: 6.355 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.373e-05/0.251, allocations: 4 kB / 0.7923 GB, free: 6.352 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.393e-05/0.2511, allocations: 4.25 kB / 0.7923 GB, free: 6.34 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.506e-06/0.2511, allocations: 7.984 kB / 0.7923 GB, free: 6.332 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.387e-06/0.2511, allocations: 0 / 0.7923 GB, free: 6.332 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.884e-06/0.2511, allocations: 0 / 0.7923 GB, free: 6.332 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001641/0.2512, allocations: 173.6 kB / 0.7924 GB, free: 6.113 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.897e-06/0.2513, allocations: 7.938 kB / 0.7924 GB, free: 6.105 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.844e-06/0.2513, allocations: 4 kB / 0.7924 GB, free: 6.102 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.2513, allocations: 4 kB / 0.7924 GB, free: 6.098 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.566e-06/0.2513, allocations: 0 / 0.7924 GB, free: 6.098 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.2513, allocations: 4 kB / 0.7925 GB, free: 6.094 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.2513, allocations: 0 / 0.7925 GB, free: 6.094 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002526/0.2515, allocations: 222.7 kB / 0.7927 GB, free: 5.852 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.8e-05/0.2516, allocations: 88.97 kB / 0.7928 GB, free: 5.746 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.805e-05/0.2516, allocations: 3.938 kB / 0.7928 GB, free: 5.742 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.776e-05/0.2517, allocations: 4.031 kB / 0.7928 GB, free: 5.738 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.722e-05/0.2517, allocations: 15.98 kB / 0.7928 GB, free: 5.723 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.364e-06/0.2518, allocations: 4 kB / 0.7928 GB, free: 5.719 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 7.606e-05/0.2518, allocations: 106.4 kB / 0.7929 GB, free: 5.617 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2518, allocations: 0 / 0.7929 GB, free: 5.617 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002642/0.2521, allocations: 68 kB / 0.7929 GB, free: 5.551 MB / 0.6075 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.000261/0.2524, allocations: 151.1 kB / 0.7931 GB, free: 5.395 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004265/0.2528, allocations: 370.7 kB / 0.7934 GB, free: 5.008 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.2528, allocations: 4.062 kB / 0.7934 GB, free: 5.004 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001383/0.253, allocations: 139.3 kB / 0.7936 GB, free: 4.855 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001032/0.2531, allocations: 8.047 kB / 0.7936 GB, free: 4.848 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003443/0.2534, allocations: 214 kB / 0.7938 GB, free: 4.617 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002436/0.2537, allocations: 0.6926 MB / 0.7945 GB, free: 3.898 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 5.681e-06/0.2537, allocations: 4.062 kB / 0.7945 GB, free: 3.895 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.798e-06/0.2537, allocations: 7.438 kB / 0.7945 GB, free: 3.887 MB / 0.6075 GB Notification: Performance of SimCode: time 2.2e-07/0.2537, allocations: 0 / 0.7945 GB, free: 3.887 MB / 0.6075 GB Notification: Performance of Templates: time 0.004396/0.2581, allocations: 1.862 MB / 0.7963 GB, free: 2.031 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.CubicHermite.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: