Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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_1.6_Buildings.Utilities.Math.Functions.Examples.QuinticHermite") translateModel(Buildings.Utilities.Math.Functions.Examples.QuinticHermite,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.001637/0.001636, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002256/0.002256, allocations: 197 kB / 16.14 MB, free: 6.688 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.421/1.421, allocations: 222.9 MB / 239.8 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.929/2.929, allocations: 472.6 MB / 0.7447 GB, free: 4.957 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002284/0.002284, allocations: 69.61 kB / 0.9114 GB, free: 33.58 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3536/0.356, allocations: 159.9 MB / 1.068 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.QuinticHermite): time 0.002097/0.3581, allocations: 0.6815 MB / 1.068 GB, free: 10.22 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0004817/0.3586, allocations: 213.2 kB / 1.068 GB, free: 10.01 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.249e-05/0.3587, allocations: 0 / 1.068 GB, free: 10.01 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.128e-05/0.3587, allocations: 7.938 kB / 1.068 GB, free: 10 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001571/0.3589, allocations: 0 / 1.068 GB, free: 10 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.000184/0.3591, allocations: 63.83 kB / 1.068 GB, free: 9.941 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 5.935e-05/0.3591, allocations: 27.97 kB / 1.068 GB, free: 9.914 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.408e-05/0.3592, allocations: 8 kB / 1.068 GB, free: 9.906 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 2.886e-05/0.3592, allocations: 7.938 kB / 1.069 GB, free: 9.898 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 7.342e-05/0.3593, allocations: 31.83 kB / 1.069 GB, free: 9.867 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.734e-05/0.3593, allocations: 4 kB / 1.069 GB, free: 9.863 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001681/0.3595, allocations: 103.8 kB / 1.069 GB, free: 9.762 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.817e-05/0.3595, allocations: 19.88 kB / 1.069 GB, free: 9.742 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.178e-05/0.3596, allocations: 15.91 kB / 1.069 GB, free: 9.727 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001613/0.3597, allocations: 99.81 kB / 1.069 GB, free: 9.629 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.3597, allocations: 0 / 1.069 GB, free: 9.629 MB / 0.8262 GB Notification: Performance of FrontEnd: time 8.51e-07/0.3597, allocations: 0 / 1.069 GB, free: 9.629 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.54e-06/0.3597, allocations: 0 / 1.069 GB, free: 9.629 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.0005043/0.3603, allocations: 367.6 kB / 1.069 GB, free: 9.219 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.439e-05/0.3603, allocations: 11.97 kB / 1.069 GB, free: 9.207 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.872e-05/0.3603, allocations: 12.84 kB / 1.069 GB, free: 9.195 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001411/0.3605, allocations: 180.3 kB / 1.069 GB, free: 8.98 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.144e-05/0.3605, allocations: 4.359 kB / 1.069 GB, free: 8.977 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.987e-05/0.3605, allocations: 8.281 kB / 1.069 GB, free: 8.969 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001435/0.3607, allocations: 50.23 kB / 1.069 GB, free: 8.914 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.3607, allocations: 192 / 1.069 GB, free: 8.914 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.073e-05/0.3607, allocations: 3.938 kB / 1.069 GB, free: 8.91 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.611e-06/0.3607, allocations: 4 kB / 1.069 GB, free: 8.906 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001291/0.3609, allocations: 35.97 kB / 1.069 GB, free: 8.871 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002748/0.3611, allocations: 252.9 kB / 1.07 GB, free: 8.574 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002029/0.3614, allocations: 66.47 kB / 1.07 GB, free: 8.5 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.837e-05/0.3614, allocations: 24.94 kB / 1.07 GB, free: 8.473 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.534e-05/0.3615, allocations: 4 kB / 1.07 GB, free: 8.469 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.397e-05/0.3615, allocations: 34.56 kB / 1.07 GB, free: 8.426 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.3615, allocations: 0 / 1.07 GB, free: 8.426 MB / 0.8262 GB Notification: Performance of matching and sorting (n=8): time 0.02951/0.391, allocations: 1.612 MB / 1.071 GB, free: 6.805 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.177e-05/0.3911, allocations: 55.41 kB / 1.071 GB, free: 6.738 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001312/0.3912, allocations: 121.8 kB / 1.072 GB, free: 6.609 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 7.116e-05/0.3913, allocations: 25.7 kB / 1.072 GB, free: 6.578 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.866e-05/0.3914, allocations: 84.14 kB / 1.072 GB, free: 6.492 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 8.885e-05/0.3915, allocations: 35.53 kB / 1.072 GB, free: 6.457 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002042/0.3917, allocations: 25.7 kB / 1.072 GB, free: 6.426 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001058/0.3918, allocations: 318.8 kB / 1.072 GB, free: 6.105 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005036/0.3923, allocations: 147.9 kB / 1.072 GB, free: 5.961 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004791/0.3928, allocations: 139.9 kB / 1.072 GB, free: 5.824 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001026/0.3938, allocations: 297.3 kB / 1.073 GB, free: 5.531 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.3938, allocations: 4 kB / 1.073 GB, free: 5.527 MB / 0.8262 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001237/0.3951, allocations: 329.5 kB / 1.073 GB, free: 5.199 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.681e-05/0.3951, allocations: 8 kB / 1.073 GB, free: 5.191 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.406e-06/0.3951, allocations: 0 / 1.073 GB, free: 5.191 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.675e-05/0.3951, allocations: 0 / 1.073 GB, free: 5.191 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001606/0.3968, allocations: 67.86 kB / 1.073 GB, free: 5.125 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.586e-06/0.3968, allocations: 7.938 kB / 1.073 GB, free: 5.117 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001415/0.3982, allocations: 47.94 kB / 1.073 GB, free: 5.07 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.091e-05/0.3983, allocations: 0 / 1.073 GB, free: 5.07 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.0001818/0.3985, allocations: 117.8 kB / 1.073 GB, free: 4.945 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.436e-05/0.3986, allocations: 3.906 kB / 1.073 GB, free: 4.941 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001469/0.3987, allocations: 20.38 kB / 1.073 GB, free: 4.922 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.3987, allocations: 0 / 1.073 GB, free: 4.922 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/0.3987, allocations: 0 / 1.073 GB, free: 4.922 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.3987, allocations: 3.984 kB / 1.073 GB, free: 4.918 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005802/0.4045, allocations: 0.8452 MB / 1.074 GB, free: 4.012 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-06/0.4046, allocations: 4 kB / 1.074 GB, free: 4.008 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001169/0.4057, allocations: 59.88 kB / 1.074 GB, free: 3.949 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.039e-06/0.4058, allocations: 432 / 1.074 GB, free: 3.949 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.493e-05/0.4058, allocations: 4 kB / 1.074 GB, free: 3.945 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.947e-06/0.4058, allocations: 3.938 kB / 1.074 GB, free: 3.941 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.4058, allocations: 0 / 1.074 GB, free: 3.941 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009762/0.4068, allocations: 325.2 kB / 1.074 GB, free: 3.602 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.454e-05/0.4069, allocations: 92.98 kB / 1.074 GB, free: 3.492 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.632e-05/0.407, allocations: 4.062 kB / 1.074 GB, free: 3.488 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001051/0.408, allocations: 47.89 kB / 1.074 GB, free: 3.441 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.369e-05/0.408, allocations: 0 / 1.074 GB, free: 3.441 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.657e-05/0.4081, allocations: 11.98 kB / 1.074 GB, free: 3.43 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.991e-05/0.4082, allocations: 95.31 kB / 1.075 GB, free: 3.336 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.1e-07/0.4082, allocations: 0 / 1.075 GB, free: 3.336 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0004188/0.4086, allocations: 91.98 kB / 1.075 GB, free: 3.246 MB / 0.8262 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.0002269/0.4088, allocations: 115.2 kB / 1.075 GB, free: 3.125 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.001021/0.4098, allocations: 247.8 kB / 1.075 GB, free: 2.883 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.4099, allocations: 0 / 1.075 GB, free: 2.883 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0004293/0.4103, allocations: 91.89 kB / 1.075 GB, free: 2.793 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000305/0.4106, allocations: 8 kB / 1.075 GB, free: 2.785 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002748/0.4134, allocations: 319.9 kB / 1.075 GB, free: 2.441 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002579/0.4136, allocations: 0.6926 MB / 1.076 GB, free: 1.723 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0005683/0.4142, allocations: 51.98 kB / 1.076 GB, free: 1.672 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004934/0.4147, allocations: 15.44 kB / 1.076 GB, free: 1.656 MB / 0.8262 GB Notification: Performance of SimCode: time 2.2e-07/0.4147, allocations: 0 / 1.076 GB, free: 1.656 MB / 0.8262 GB Notification: Performance of Templates: time 0.01295/0.4277, allocations: 8.293 MB / 1.084 GB, free: 9.32 MB / 0.8419 GB make -j1 -f Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.makefile (rm -f Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.sim & ./Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.QuinticHermite -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe 2>&1)