Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo", uses=false) Using package NcDataReader2 with version 2.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7319/0.7319, allocations: 140.1 MB / 156 MB, free: 5.176 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001052/0.001052, allocations: 180.3 kB / 188.5 MB, free: 15.83 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.405/1.405, allocations: 205.4 MB / 426.3 MB, free: 8.391 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007406/0.0007406, allocations: 88.86 kB / 0.4945 GB, free: 8.328 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.001724/0.001724, allocations: 268.7 kB / 0.5728 GB, free: 66.21 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005277/0.0005277, allocations: 24 kB / 0.662 GB, free: 6.789 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3506/0.3512, allocations: 79.3 MB / 0.7395 GB, free: 46.36 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1291/0.4803, allocations: 106.8 MB / 0.8438 GB, free: 3.379 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002474/0.4806, allocations: 75.95 kB / 0.8439 GB, free: 3.305 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.00362/0.4842, allocations: 1.252 MB / 0.8451 GB, free: 2.051 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.334e-06/0.4843, allocations: 0 / 0.8451 GB, free: 2.051 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 8.757e-06/0.4843, allocations: 4 kB / 0.8451 GB, free: 2.047 MB / 0.5105 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.0004236/0.4847, allocations: 371.2 kB / 0.8455 GB, free: 1.633 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.049e-05/0.4848, allocations: 8.031 kB / 0.8455 GB, free: 1.625 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.243e-05/0.4848, allocations: 0.9375 kB / 0.8455 GB, free: 1.625 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001666/0.485, allocations: 176.3 kB / 0.8456 GB, free: 1.414 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.323e-05/0.485, allocations: 384 / 0.8456 GB, free: 1.414 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.072e-05/0.485, allocations: 384 / 0.8456 GB, free: 1.414 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00016/0.4852, allocations: 70.17 kB / 0.8457 GB, free: 1.34 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.236e-05/0.4852, allocations: 192 / 0.8457 GB, free: 1.34 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.22e-05/0.4852, allocations: 3.938 kB / 0.8457 GB, free: 1.336 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.784e-06/0.4852, allocations: 0 / 0.8457 GB, free: 1.336 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001424/0.4854, allocations: 43.97 kB / 0.8458 GB, free: 1.293 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003336/0.4857, allocations: 252.9 kB / 0.846 GB, free: 0.9961 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002096/0.486, allocations: 82.47 kB / 0.8461 GB, free: 0.9062 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.117e-05/0.486, allocations: 32.88 kB / 0.8461 GB, free: 0.8711 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 2.244e-05/0.4861, allocations: 0 / 0.8461 GB, free: 0.8711 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.909e-05/0.4861, allocations: 34.56 kB / 0.8461 GB, free: 0.8281 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/0.4861, allocations: 0 / 0.8461 GB, free: 0.8281 MB / 0.5105 GB Notification: Performance of matching and sorting (n=8): time 0.02504/0.5112, allocations: 1.749 MB / 0.8478 GB, free: 15.07 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.018e-05/0.5113, allocations: 55.41 kB / 0.8479 GB, free: 15 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001248/0.5114, allocations: 121.8 kB / 0.848 GB, free: 14.88 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 6.948e-05/0.5115, allocations: 29.7 kB / 0.848 GB, free: 14.84 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 6.691e-05/0.5115, allocations: 88.05 kB / 0.8481 GB, free: 14.75 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 6.843e-05/0.5116, allocations: 27.64 kB / 0.8482 GB, free: 14.72 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.882e-05/0.5117, allocations: 4 kB / 0.8482 GB, free: 14.72 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001153/0.5118, allocations: 318.8 kB / 0.8485 GB, free: 14.4 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004611/0.5123, allocations: 159.9 kB / 0.8486 GB, free: 14.24 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004462/0.5127, allocations: 163.8 kB / 0.8488 GB, free: 14.08 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009707/0.5137, allocations: 332.8 kB / 0.8491 GB, free: 13.75 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.5137, allocations: 0 / 0.8491 GB, free: 13.75 MB / 0.5261 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001153/0.5149, allocations: 385.3 kB / 0.8495 GB, free: 13.37 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.938e-05/0.5149, allocations: 8 kB / 0.8495 GB, free: 13.36 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.746e-06/0.5149, allocations: 0 / 0.8495 GB, free: 13.36 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.877e-05/0.515, allocations: 4.359 kB / 0.8495 GB, free: 13.36 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001407/0.5164, allocations: 79.89 kB / 0.8495 GB, free: 13.28 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.5164, allocations: 0.6562 kB / 0.8495 GB, free: 13.28 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001182/0.5176, allocations: 55.95 kB / 0.8496 GB, free: 13.23 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.786e-05/0.5176, allocations: 11.97 kB / 0.8496 GB, free: 13.21 MB / 0.5261 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001666/0.5178, allocations: 117.8 kB / 0.8497 GB, free: 13.09 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.377e-05/0.5179, allocations: 3.906 kB / 0.8497 GB, free: 13.09 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001524/0.5181, allocations: 24.36 kB / 0.8497 GB, free: 13.06 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.5181, allocations: 3.938 kB / 0.8497 GB, free: 13.05 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.5181, allocations: 7.922 kB / 0.8498 GB, free: 13.05 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.576e-06/0.5181, allocations: 0 / 0.8498 GB, free: 13.05 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005122/0.5232, allocations: 0.908 MB / 0.8506 GB, free: 12.08 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.407e-06/0.5232, allocations: 0 / 0.8506 GB, free: 12.08 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009982/0.5242, allocations: 67.91 kB / 0.8507 GB, free: 12.01 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.709e-06/0.5243, allocations: 0 / 0.8507 GB, free: 12.01 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.038e-05/0.5243, allocations: 11.97 kB / 0.8507 GB, free: 12 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.61e-06/0.5243, allocations: 3.938 kB / 0.8507 GB, free: 12 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.648e-06/0.5243, allocations: 3.938 kB / 0.8507 GB, free: 11.99 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009215/0.5253, allocations: 377 kB / 0.8511 GB, free: 11.6 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 4.583e-05/0.5253, allocations: 81.02 kB / 0.8512 GB, free: 11.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.978e-05/0.5254, allocations: 4 kB / 0.8512 GB, free: 11.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000916/0.5263, allocations: 55.89 kB / 0.8512 GB, free: 11.45 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.353e-05/0.5263, allocations: 7.984 kB / 0.8512 GB, free: 11.44 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.932e-05/0.5264, allocations: 3.984 kB / 0.8512 GB, free: 11.43 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 7.757e-05/0.5265, allocations: 95.27 kB / 0.8513 GB, free: 11.34 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.5e-07/0.5265, allocations: 0 / 0.8513 GB, free: 11.34 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0004059/0.5269, allocations: 103.9 kB / 0.8514 GB, free: 11.24 MB / 0.5261 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 (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.0002411/0.5271, allocations: 131.1 kB / 0.8515 GB, free: 11.1 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0009279/0.5281, allocations: 283.8 kB / 0.8518 GB, free: 10.82 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.5281, allocations: 0 / 0.8518 GB, free: 10.82 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0003898/0.5285, allocations: 120 kB / 0.8519 GB, free: 10.71 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002807/0.5288, allocations: 7.938 kB / 0.8519 GB, free: 10.7 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002494/0.5313, allocations: 348.4 kB / 0.8523 GB, free: 10.32 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002157/0.5315, allocations: 0.6848 MB / 0.8529 GB, free: 9.613 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0005418/0.5321, allocations: 55.98 kB / 0.853 GB, free: 9.559 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004228/0.5325, allocations: 31.38 kB / 0.853 GB, free: 9.527 MB / 0.5261 GB Notification: Performance of SimCode: time 2.4e-07/0.5325, allocations: 0 / 0.853 GB, free: 9.527 MB / 0.5261 GB Notification: Performance of Templates: time 0.01303/0.5455, allocations: 8.168 MB / 0.861 GB, free: 1.316 MB / 0.5261 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite.pipe 2>&1)