Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.QuinticHermite,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.QuinticHermite") translateModel(Buildings.Utilities.Math.Functions.Examples.QuinticHermite,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.QuinticHermite") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001014/0.001014, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.007712/0.007712, allocations: 170.6 kB / 16.27 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.436/1.436, allocations: 223.3 MB / 240.3 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.937/2.937, allocations: 473.4 MB / 0.7469 GB, free: 6.113 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.000454/0.0004542, allocations: 8.812 kB / 0.9158 GB, free: 33.09 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3837/0.3842, allocations: 162.2 MB / 1.074 GB, free: 7.566 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.QuinticHermite): time 0.0007737/0.385, allocations: 370.7 kB / 1.074 GB, free: 7.203 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0004698/0.3855, allocations: 205.3 kB / 1.075 GB, free: 7.004 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.251e-05/0.3855, allocations: 0 / 1.075 GB, free: 7.004 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.436e-05/0.3855, allocations: 3.938 kB / 1.075 GB, free: 7 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001577/0.3857, allocations: 7.984 kB / 1.075 GB, free: 6.992 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001854/0.3859, allocations: 63.84 kB / 1.075 GB, free: 6.93 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 6.85e-05/0.386, allocations: 23.97 kB / 1.075 GB, free: 6.906 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.728e-05/0.386, allocations: 8 kB / 1.075 GB, free: 6.898 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 3.89e-05/0.3861, allocations: 27.86 kB / 1.075 GB, free: 6.871 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 8.105e-05/0.3862, allocations: 19.91 kB / 1.075 GB, free: 6.852 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.589e-05/0.3862, allocations: 4 kB / 1.075 GB, free: 6.848 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000187/0.3864, allocations: 107.7 kB / 1.075 GB, free: 6.742 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.033e-05/0.3864, allocations: 7.984 kB / 1.075 GB, free: 6.734 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.928e-05/0.3864, allocations: 41.58 kB / 1.075 GB, free: 6.688 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001805/0.3866, allocations: 95.81 kB / 1.075 GB, free: 6.594 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.389e-06/0.3866, allocations: 0 / 1.075 GB, free: 6.594 MB / 0.8262 GB Notification: Performance of FrontEnd: time 3.867e-06/0.3866, allocations: 0 / 1.075 GB, free: 6.594 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.118e-06/0.3867, allocations: 3.938 kB / 1.075 GB, free: 6.59 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005418/0.3872, allocations: 371.7 kB / 1.075 GB, free: 6.176 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.3873, allocations: 11.97 kB / 1.075 GB, free: 6.164 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.872e-05/0.3873, allocations: 4.938 kB / 1.075 GB, free: 6.16 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001543/0.3875, allocations: 176.3 kB / 1.076 GB, free: 5.949 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.436e-05/0.3875, allocations: 4.375 kB / 1.076 GB, free: 5.945 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.028e-05/0.3875, allocations: 384 / 1.076 GB, free: 5.945 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001653/0.3877, allocations: 62.23 kB / 1.076 GB, free: 5.879 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.3877, allocations: 192 / 1.076 GB, free: 5.879 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.21e-05/0.3877, allocations: 3.938 kB / 1.076 GB, free: 5.875 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.054e-06/0.3877, allocations: 0 / 1.076 GB, free: 5.875 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001478/0.3879, allocations: 43.91 kB / 1.076 GB, free: 5.832 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003017/0.3882, allocations: 260.8 kB / 1.076 GB, free: 5.527 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000229/0.3884, allocations: 82.45 kB / 1.076 GB, free: 5.438 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.539e-05/0.3885, allocations: 28.94 kB / 1.076 GB, free: 5.406 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.608e-05/0.3885, allocations: 4 kB / 1.076 GB, free: 5.402 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.413e-05/0.3886, allocations: 34.56 kB / 1.076 GB, free: 5.359 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.3886, allocations: 0 / 1.076 GB, free: 5.359 MB / 0.8262 GB Notification: Performance of matching and sorting (n=8): time 0.03049/0.4191, allocations: 1.761 MB / 1.078 GB, free: 3.59 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.194e-05/0.4191, allocations: 55.34 kB / 1.078 GB, free: 3.523 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001177/0.4193, allocations: 117.8 kB / 1.078 GB, free: 3.398 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 7.619e-05/0.4194, allocations: 25.7 kB / 1.078 GB, free: 3.367 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.154e-05/0.4194, allocations: 92.05 kB / 1.078 GB, free: 3.273 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 7.783e-05/0.4195, allocations: 23.64 kB / 1.078 GB, free: 3.25 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.852e-05/0.4196, allocations: 13.72 kB / 1.078 GB, free: 3.23 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001128/0.4197, allocations: 326.8 kB / 1.078 GB, free: 2.902 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005048/0.4202, allocations: 155.9 kB / 1.079 GB, free: 2.75 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005/0.4207, allocations: 163.9 kB / 1.079 GB, free: 2.59 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001071/0.4218, allocations: 341.2 kB / 1.079 GB, free: 2.254 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.4218, allocations: 0 / 1.079 GB, free: 2.254 MB / 0.8262 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001235/0.4231, allocations: 377.4 kB / 1.079 GB, free: 1.879 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.4231, allocations: 12 kB / 1.079 GB, free: 1.867 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.4231, allocations: 0 / 1.079 GB, free: 1.867 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.55e-05/0.4231, allocations: 3.984 kB / 1.079 GB, free: 1.863 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001676/0.4248, allocations: 75.84 kB / 1.08 GB, free: 1.789 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.04e-05/0.4248, allocations: 4 kB / 1.08 GB, free: 1.785 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001507/0.4263, allocations: 55.94 kB / 1.08 GB, free: 1.73 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.163e-05/0.4264, allocations: 11.97 kB / 1.08 GB, free: 1.719 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * 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 0.0001903/0.4266, allocations: 113.8 kB / 1.08 GB, free: 1.598 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.534e-05/0.4267, allocations: 7.906 kB / 1.08 GB, free: 1.59 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001411/0.4269, allocations: 20.38 kB / 1.08 GB, free: 1.57 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.4269, allocations: 0 / 1.08 GB, free: 1.57 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.4269, allocations: 0 / 1.08 GB, free: 1.57 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/0.4269, allocations: 0 / 1.08 GB, free: 1.57 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006576/0.4335, allocations: 0.931 MB / 1.081 GB, free: 0.5781 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.907e-06/0.4335, allocations: 0 / 1.081 GB, free: 0.5781 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001246/0.4347, allocations: 67.91 kB / 1.081 GB, free: 0.5117 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.378e-06/0.4348, allocations: 0 / 1.081 GB, free: 0.5117 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.906e-05/0.4348, allocations: 11.97 kB / 1.081 GB, free: 0.5 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.039e-06/0.4348, allocations: 3.938 kB / 1.081 GB, free: 0.4961 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.4348, allocations: 64 / 1.081 GB, free: 0.4961 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001022/0.4359, allocations: 376.9 kB / 1.081 GB, free: 108 kB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.545e-05/0.4359, allocations: 81.02 kB / 1.081 GB, free: 8 kB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.272e-05/0.436, allocations: 4 kB / 1.081 GB, free: 4 kB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00128/0.4373, allocations: 52.14 kB / 1.081 GB, free: 15.95 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.723e-05/0.4373, allocations: 7.922 kB / 1.081 GB, free: 15.95 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.365e-05/0.4374, allocations: 7.984 kB / 1.081 GB, free: 15.94 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 6.268e-05/0.4375, allocations: 99.3 kB / 1.081 GB, free: 15.84 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4375, allocations: 0 / 1.081 GB, free: 15.84 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0004334/0.4379, allocations: 96 kB / 1.081 GB, free: 15.75 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * 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.0002438/0.4382, allocations: 115.2 kB / 1.082 GB, free: 15.62 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.00102/0.4392, allocations: 287.7 kB / 1.082 GB, free: 15.34 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.4392, allocations: 0 / 1.082 GB, free: 15.34 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0004349/0.4396, allocations: 124 kB / 1.082 GB, free: 15.22 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002947/0.4399, allocations: 5.875 kB / 1.082 GB, free: 15.22 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002915/0.4429, allocations: 352.4 kB / 1.082 GB, free: 14.84 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002481/0.4431, allocations: 0.6888 MB / 1.083 GB, free: 14.12 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0005011/0.4436, allocations: 60.08 kB / 1.083 GB, free: 14.07 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004513/0.4441, allocations: 35.36 kB / 1.083 GB, free: 14.03 MB / 0.8419 GB Notification: Performance of SimCode: time 3.71e-07/0.4441, allocations: 0 / 1.083 GB, free: 14.03 MB / 0.8419 GB Notification: Performance of Templates: time 0.01322/0.4573, allocations: 8.415 MB / 1.091 GB, free: 5.574 MB / 0.8419 GB make -j1 -f Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.makefile (rm -f Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; mkfifo Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe >> ../files/Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.sim & ./Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.QuinticHermite -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe 2>&1)