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.00114/0.001141, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001382/0.001382, allocations: 193.4 kB / 16.14 MB, free: 6.707 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.725/1.725, allocations: 205.1 MB / 222 MB, free: 4.766 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.6325/0.6325, allocations: 95.48 MB / 364.8 MB, free: 10.09 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.002022/0.002022, allocations: 67.91 kB / 444.7 MB, free: 10.07 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4149/0.4169, allocations: 69.07 MB / 0.5017 GB, free: 17.64 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.CubicHermite): time 0.001777/0.4188, allocations: 0.6405 MB / 0.5023 GB, free: 17 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001612/0.4204, allocations: 1.447 MB / 0.5037 GB, free: 15.54 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.252e-05/0.4204, allocations: 4 kB / 0.5037 GB, free: 15.54 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 6.873e-05/0.4205, allocations: 3.938 kB / 0.5037 GB, free: 15.53 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 4.936e-05/0.4206, allocations: 4 kB / 0.5037 GB, free: 15.53 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005468/0.4211, allocations: 135.5 kB / 0.5039 GB, free: 15.4 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 6.673e-05/0.4212, allocations: 39.95 kB / 0.5039 GB, free: 15.36 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.973e-05/0.4213, allocations: 7.938 kB / 0.5039 GB, free: 15.35 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.427e-05/0.4213, allocations: 19.92 kB / 0.5039 GB, free: 15.33 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.566e-05/0.4214, allocations: 39.89 kB / 0.504 GB, free: 15.29 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.446e-05/0.4214, allocations: 0 / 0.504 GB, free: 15.29 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002556/0.4216, allocations: 191.7 kB / 0.5042 GB, free: 15.11 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.482e-05/0.4217, allocations: 8 kB / 0.5042 GB, free: 15.1 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.916e-05/0.4218, allocations: 23.8 kB / 0.5042 GB, free: 15.07 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002361/0.422, allocations: 185.6 kB / 0.5044 GB, free: 14.89 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/0.422, allocations: 4 kB / 0.5044 GB, free: 14.89 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.422, allocations: 0 / 0.5044 GB, free: 14.89 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.664e-06/0.422, allocations: 0 / 0.5044 GB, free: 14.89 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.0003985/0.4224, allocations: 446.6 kB / 0.5048 GB, free: 14.39 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.559e-05/0.4225, allocations: 15.98 kB / 0.5048 GB, free: 14.38 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.635e-05/0.4225, allocations: 4.938 kB / 0.5048 GB, free: 14.38 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000106/0.4227, allocations: 180.2 kB / 0.505 GB, free: 14.16 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.376e-05/0.4227, allocations: 3.938 kB / 0.505 GB, free: 14.16 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.645e-05/0.4227, allocations: 7.938 kB / 0.505 GB, free: 14.15 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000173/0.4229, allocations: 97.64 kB / 0.5051 GB, free: 14.05 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.905e-06/0.4229, allocations: 0 / 0.5051 GB, free: 14.05 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.233e-05/0.4229, allocations: 0 / 0.5051 GB, free: 14.05 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.01e-06/0.4229, allocations: 0 / 0.5051 GB, free: 14.05 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.339e-05/0.423, allocations: 63.95 kB / 0.5052 GB, free: 13.98 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001293/0.4231, allocations: 177.5 kB / 0.5053 GB, free: 13.76 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.669e-05/0.4232, allocations: 78.52 kB / 0.5054 GB, free: 13.68 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.025e-05/0.4233, allocations: 76.83 kB / 0.5055 GB, free: 13.6 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.903e-06/0.4233, allocations: 0 / 0.5055 GB, free: 13.6 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.359e-05/0.4233, allocations: 30.56 kB / 0.5055 GB, free: 13.56 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.012e-06/0.4234, allocations: 0 / 0.5055 GB, free: 13.56 MB / 382.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003288/0.4237, allocations: 255.3 kB / 0.5057 GB, free: 13.3 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.515e-05/0.4237, allocations: 81.11 kB / 0.5058 GB, free: 13.2 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001037/0.4238, allocations: 143.8 kB / 0.506 GB, free: 13.05 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.261e-05/0.4239, allocations: 25.7 kB / 0.506 GB, free: 13.02 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.934e-05/0.4239, allocations: 96.06 kB / 0.5061 GB, free: 12.92 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.273e-05/0.4239, allocations: 15.75 kB / 0.5061 GB, free: 12.91 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.131e-05/0.424, allocations: 29.7 kB / 0.5061 GB, free: 12.87 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.594e-05/0.424, allocations: 326.8 kB / 0.5064 GB, free: 12.54 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001009/0.4241, allocations: 107.9 kB / 0.5065 GB, free: 12.44 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.755e-05/0.4242, allocations: 95.94 kB / 0.5066 GB, free: 12.34 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001943/0.4244, allocations: 277.8 kB / 0.5069 GB, free: 12.05 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.4244, allocations: 0 / 0.5069 GB, free: 12.05 MB / 382.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002535/0.4247, allocations: 320.8 kB / 0.5072 GB, free: 11.72 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.58e-05/0.4248, allocations: 71.39 kB / 0.5073 GB, free: 11.64 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.4248, allocations: 3.984 kB / 0.5073 GB, free: 11.63 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.317e-05/0.4248, allocations: 0 / 0.5073 GB, free: 11.63 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.82e-07/0.4248, allocations: 0 / 0.5073 GB, free: 11.63 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.598e-06/0.4248, allocations: 4.062 kB / 0.5073 GB, free: 11.63 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000164/0.425, allocations: 19.83 kB / 0.5073 GB, free: 11.61 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.417e-05/0.425, allocations: 4 kB / 0.5073 GB, free: 11.61 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.395e-05/0.4251, allocations: 151.4 kB / 0.5074 GB, free: 11.44 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.572e-05/0.4251, allocations: 11.91 kB / 0.5075 GB, free: 11.43 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.271e-05/0.4251, allocations: 8.25 kB / 0.5075 GB, free: 11.42 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.352e-06/0.4251, allocations: 0 / 0.5075 GB, free: 11.42 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.4251, allocations: 0 / 0.5075 GB, free: 11.42 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-06/0.4251, allocations: 0 / 0.5075 GB, free: 11.42 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.023e-05/0.4252, allocations: 181.5 kB / 0.5076 GB, free: 11.19 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.4252, allocations: 4 kB / 0.5076 GB, free: 11.19 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.61e-07/0.4252, allocations: 0 / 0.5076 GB, free: 11.19 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.4252, allocations: 0 / 0.5076 GB, free: 11.19 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.316e-05/0.4252, allocations: 11.98 kB / 0.5076 GB, free: 11.18 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.4253, allocations: 0 / 0.5076 GB, free: 11.18 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.4253, allocations: 0 / 0.5076 GB, free: 11.18 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001959/0.4255, allocations: 226.6 kB / 0.5079 GB, free: 10.93 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.061e-05/0.4255, allocations: 81.12 kB / 0.5079 GB, free: 10.83 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.801e-05/0.4255, allocations: 8 kB / 0.508 GB, free: 10.82 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.319e-05/0.4256, allocations: 0 / 0.508 GB, free: 10.82 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.83e-05/0.4256, allocations: 7.984 kB / 0.508 GB, free: 10.82 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.313e-06/0.4257, allocations: 11.94 kB / 0.508 GB, free: 10.8 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.572e-05/0.4257, allocations: 105.1 kB / 0.5081 GB, free: 10.7 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.4257, allocations: 3.938 kB / 0.5081 GB, free: 10.7 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002756/0.426, allocations: 64 kB / 0.5081 GB, free: 10.64 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002196/0.4262, allocations: 151.2 kB / 0.5083 GB, free: 10.48 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002924/0.4265, allocations: 370.7 kB / 0.5086 GB, free: 10.09 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.4265, allocations: 0 / 0.5086 GB, free: 10.09 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.331e-05/0.4266, allocations: 135.3 kB / 0.5088 GB, free: 9.945 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001512/0.4268, allocations: 15.84 kB / 0.5088 GB, free: 9.93 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002794/0.4271, allocations: 215.5 kB / 0.509 GB, free: 9.691 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001147/0.4272, allocations: 0.6965 MB / 0.5097 GB, free: 8.969 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.911e-06/0.4272, allocations: 0 / 0.5097 GB, free: 8.969 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.823e-06/0.4272, allocations: 11.38 kB / 0.5097 GB, free: 8.957 MB / 382.1 MB Notification: Performance of SimCode: time 2.01e-07/0.4272, allocations: 0 / 0.5097 GB, free: 8.957 MB / 382.1 MB Notification: Performance of Templates: time 0.003765/0.431, allocations: 1.915 MB / 0.5115 GB, free: 7.047 MB / 382.1 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)