Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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.QuinticHermite,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.QuinticHermite") translateModel(Buildings.Utilities.Math.Functions.Examples.QuinticHermite,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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.00488/0.00488, allocations: 101.7 kB / 15.73 MB, free: 6.035 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.001169/0.001169, allocations: 198.9 kB / 16.67 MB, free: 5.969 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.231/1.231, allocations: 205.1 MB / 222.5 MB, free: 4.508 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.358/1.358, allocations: 251.7 MB / 0.5094 GB, free: 3.016 MB / 414.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.001507/0.001507, allocations: 70.09 kB / 0.7258 GB, free: 8.957 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1988/0.2003, allocations: 104.7 MB / 0.8281 GB, free: 156 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.QuinticHermite): time 0.001791/0.2021, allocations: 0.6401 MB / 0.8287 GB, free: 15.52 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0005153/0.2027, allocations: 207.4 kB / 0.8289 GB, free: 15.32 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.788e-05/0.2027, allocations: 0 / 0.8289 GB, free: 15.32 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 2.233e-05/0.2028, allocations: 0 / 0.8289 GB, free: 15.32 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0002186/0.203, allocations: 7.922 kB / 0.8289 GB, free: 15.31 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002707/0.2033, allocations: 79.69 kB / 0.829 GB, free: 15.23 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 7.578e-05/0.2034, allocations: 31.91 kB / 0.829 GB, free: 15.2 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 5.288e-05/0.2034, allocations: 4 kB / 0.829 GB, free: 15.2 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 3.293e-05/0.2035, allocations: 11.94 kB / 0.829 GB, free: 15.18 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 9.254e-05/0.2036, allocations: 27.89 kB / 0.8291 GB, free: 15.16 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.78e-05/0.2036, allocations: 4 kB / 0.8291 GB, free: 15.15 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002239/0.2038, allocations: 107.7 kB / 0.8292 GB, free: 15.05 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.777e-05/0.2039, allocations: 4 kB / 0.8292 GB, free: 15.04 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 3.027e-05/0.2039, allocations: 15.86 kB / 0.8292 GB, free: 15.03 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001679/0.2041, allocations: 111.7 kB / 0.8293 GB, free: 14.92 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.2041, allocations: 0 / 0.8293 GB, free: 14.92 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.663e-06/0.2041, allocations: 0 / 0.8293 GB, free: 14.92 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.019e-06/0.2041, allocations: 4 kB / 0.8293 GB, free: 14.91 MB / 0.6544 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.0005314/0.2046, allocations: 367.3 kB / 0.8296 GB, free: 14.5 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.98e-05/0.2047, allocations: 8.031 kB / 0.8297 GB, free: 14.5 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.066e-05/0.2047, allocations: 4.938 kB / 0.8297 GB, free: 14.49 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001831/0.2049, allocations: 176.2 kB / 0.8298 GB, free: 14.28 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.453e-05/0.2049, allocations: 384 / 0.8298 GB, free: 14.28 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.905e-05/0.205, allocations: 12.36 kB / 0.8298 GB, free: 14.27 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001602/0.2051, allocations: 58.17 kB / 0.8299 GB, free: 14.21 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.45e-05/0.2052, allocations: 192 / 0.8299 GB, free: 14.21 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.622e-05/0.2052, allocations: 7.938 kB / 0.8299 GB, free: 14.2 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.967e-06/0.2052, allocations: 0 / 0.8299 GB, free: 14.2 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001242/0.2053, allocations: 31.97 kB / 0.8299 GB, free: 14.17 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002949/0.2056, allocations: 245 kB / 0.8302 GB, free: 13.88 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000207/0.2058, allocations: 74.41 kB / 0.8302 GB, free: 13.8 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.235e-05/0.2059, allocations: 24.94 kB / 0.8303 GB, free: 13.77 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.95e-05/0.2059, allocations: 7.938 kB / 0.8303 GB, free: 13.76 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.248e-05/0.206, allocations: 34.5 kB / 0.8303 GB, free: 13.72 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=4): time 1.202e-06/0.206, allocations: 0 / 0.8303 GB, free: 13.72 MB / 0.6544 GB Notification: Performance of matching and sorting (n=8): time 0.02628/0.2323, allocations: 1.609 MB / 0.8319 GB, free: 12.1 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.166e-05/0.2323, allocations: 55.39 kB / 0.8319 GB, free: 12.04 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.958e-05/0.2324, allocations: 117.8 kB / 0.832 GB, free: 11.91 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 6.736e-05/0.2325, allocations: 25.7 kB / 0.8321 GB, free: 11.88 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 5.17e-05/0.2326, allocations: 95.98 kB / 0.8322 GB, free: 11.78 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 7.023e-05/0.2327, allocations: 23.7 kB / 0.8322 GB, free: 11.76 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001835/0.2328, allocations: 25.7 kB / 0.8322 GB, free: 11.73 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 8.791e-05/0.2329, allocations: 314.8 kB / 0.8325 GB, free: 11.41 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004544/0.2334, allocations: 147.9 kB / 0.8326 GB, free: 11.27 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004426/0.2339, allocations: 147.9 kB / 0.8328 GB, free: 11.12 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009038/0.2348, allocations: 296.8 kB / 0.8331 GB, free: 10.83 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.2348, allocations: 0 / 0.8331 GB, free: 10.83 MB / 0.6544 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001098/0.2359, allocations: 338 kB / 0.8334 GB, free: 10.49 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.548e-05/0.2359, allocations: 8 kB / 0.8334 GB, free: 10.48 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.179e-06/0.2359, allocations: 0 / 0.8334 GB, free: 10.48 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.389e-05/0.2359, allocations: 96 / 0.8334 GB, free: 10.48 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001506/0.2374, allocations: 67.86 kB / 0.8335 GB, free: 10.42 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.242e-06/0.2375, allocations: 0 / 0.8335 GB, free: 10.42 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001308/0.2388, allocations: 47.95 kB / 0.8335 GB, free: 10.37 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.278e-05/0.2388, allocations: 3.984 kB / 0.8335 GB, free: 10.37 MB / 0.6544 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.000171/0.239, allocations: 125.7 kB / 0.8336 GB, free: 10.23 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.839e-05/0.2391, allocations: 11.89 kB / 0.8336 GB, free: 10.22 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001127/0.2392, allocations: 16.38 kB / 0.8337 GB, free: 10.21 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.2392, allocations: 0 / 0.8337 GB, free: 10.21 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.2393, allocations: 4 kB / 0.8337 GB, free: 10.2 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.2393, allocations: 0 / 0.8337 GB, free: 10.2 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005481/0.2447, allocations: 0.8415 MB / 0.8345 GB, free: 9.297 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.2448, allocations: 4 kB / 0.8345 GB, free: 9.293 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001096/0.2459, allocations: 51.94 kB / 0.8345 GB, free: 9.242 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.12e-06/0.2459, allocations: 0 / 0.8345 GB, free: 9.242 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.591e-05/0.2459, allocations: 8 kB / 0.8345 GB, free: 9.234 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.632e-06/0.2459, allocations: 11.88 kB / 0.8346 GB, free: 9.223 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.246, allocations: 0 / 0.8346 GB, free: 9.223 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008775/0.2468, allocations: 325.1 kB / 0.8349 GB, free: 8.883 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.701e-05/0.2469, allocations: 85.02 kB / 0.8349 GB, free: 8.781 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.963e-05/0.247, allocations: 3.984 kB / 0.835 GB, free: 8.777 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001036/0.248, allocations: 47.89 kB / 0.835 GB, free: 8.73 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.66e-05/0.248, allocations: 4 kB / 0.835 GB, free: 8.727 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.512e-05/0.2481, allocations: 0 / 0.835 GB, free: 8.727 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 5.651e-05/0.2481, allocations: 99.2 kB / 0.8351 GB, free: 8.629 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2481, allocations: 0 / 0.8351 GB, free: 8.629 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.000389/0.2485, allocations: 99.98 kB / 0.8352 GB, free: 8.531 MB / 0.6544 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.0002139/0.2487, allocations: 115.2 kB / 0.8353 GB, free: 8.41 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0009093/0.2497, allocations: 247.9 kB / 0.8355 GB, free: 8.168 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.2497, allocations: 0 / 0.8355 GB, free: 8.168 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0003809/0.2501, allocations: 99.95 kB / 0.8356 GB, free: 8.07 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002964/0.2504, allocations: 4.469 kB / 0.8356 GB, free: 8.066 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002585/0.253, allocations: 302.5 kB / 0.8359 GB, free: 7.738 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002064/0.2532, allocations: 0.6846 MB / 0.8366 GB, free: 7.027 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0003941/0.2536, allocations: 48 kB / 0.8366 GB, free: 6.98 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004327/0.254, allocations: 19.36 kB / 0.8367 GB, free: 6.965 MB / 0.6544 GB Notification: Performance of SimCode: time 2.1e-07/0.254, allocations: 0 / 0.8367 GB, free: 6.965 MB / 0.6544 GB Notification: Performance of Templates: time 0.01211/0.2661, allocations: 8.752 MB / 0.8452 GB, free: 14.17 MB / 0.67 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.QuinticHermite -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe 2>&1)