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 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 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.9725/0.9725, allocations: 141.8 MB / 149.3 MB, free: 9.18 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001139/0.001139, allocations: 183.9 kB / 182.2 MB, free: 9.434 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.344/1.344, allocations: 221.5 MB / 436.4 MB, free: 13.34 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008861/0.000886, allocations: 91.55 kB / 0.5074 GB, free: 10.16 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001726/0.001726, allocations: 278.2 kB / 0.5889 GB, free: 54.66 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.913e-05/1.915e-05, allocations: 8 kB / 0.6765 GB, free: 12.81 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.383/0.383, allocations: 82.78 MB / 0.7574 GB, free: 32 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1263/0.5093, allocations: 107.6 MB / 0.8624 GB, free: 4.289 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002062/0.5096, allocations: 79.81 kB / 0.8625 GB, free: 4.215 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.003978/0.5136, allocations: 1.24 MB / 0.8637 GB, free: 2.969 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.122e-06/0.5136, allocations: 0 / 0.8637 GB, free: 2.969 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.959e-06/0.5136, allocations: 4 kB / 0.8637 GB, free: 2.965 MB / 0.5261 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.0003064/0.5139, allocations: 354.4 kB / 0.8641 GB, free: 2.574 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.844e-05/0.5139, allocations: 12.02 kB / 0.8641 GB, free: 2.562 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.724e-05/0.514, allocations: 3.906 kB / 0.8641 GB, free: 2.559 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001447/0.5141, allocations: 179 kB / 0.8643 GB, free: 2.344 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.171e-05/0.5142, allocations: 3.953 kB / 0.8643 GB, free: 2.34 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.964e-05/0.5142, allocations: 0 / 0.8643 GB, free: 2.34 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.055e-05/0.5143, allocations: 19.98 kB / 0.8643 GB, free: 2.32 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.493e-05/0.5143, allocations: 41.69 kB / 0.8643 GB, free: 2.273 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.221e-05/0.5144, allocations: 0 / 0.8643 GB, free: 2.273 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.008e-05/0.5144, allocations: 3.938 kB / 0.8643 GB, free: 2.27 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.667e-06/0.5144, allocations: 0 / 0.8643 GB, free: 2.27 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002482/0.5146, allocations: 229.4 kB / 0.8645 GB, free: 2.008 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 8.105e-05/0.5147, allocations: 42.5 kB / 0.8646 GB, free: 1.957 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.491e-05/0.5148, allocations: 16.86 kB / 0.8646 GB, free: 1.938 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.956e-05/0.5148, allocations: 0 / 0.8646 GB, free: 1.938 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.359e-05/0.5148, allocations: 38.5 kB / 0.8646 GB, free: 1.891 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=4): time 8.72e-07/0.5148, allocations: 0 / 0.8646 GB, free: 1.891 MB / 0.5261 GB Notification: Performance of matching and sorting (n=8): time 0.01777/0.5326, allocations: 1.207 MB / 0.8658 GB, free: 0.6758 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.048e-05/0.5327, allocations: 51.41 kB / 0.8659 GB, free: 0.6133 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.107e-05/0.5328, allocations: 101 kB / 0.866 GB, free: 0.5078 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 7.006e-05/0.5328, allocations: 29.7 kB / 0.866 GB, free: 484 kB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 5.548e-05/0.5329, allocations: 95.98 kB / 0.8661 GB, free: 384 kB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 7.774e-05/0.533, allocations: 19.7 kB / 0.8661 GB, free: 364 kB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.71e-05/0.5331, allocations: 4 kB / 0.8661 GB, free: 360 kB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001036/0.5332, allocations: 322.8 kB / 0.8664 GB, free: 28 kB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003335/0.5335, allocations: 112 kB / 0.8665 GB, free: 15.91 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003025/0.5338, allocations: 112 kB / 0.8666 GB, free: 15.8 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006653/0.5345, allocations: 163.8 kB / 0.8668 GB, free: 15.65 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.5345, allocations: 0 / 0.8668 GB, free: 15.65 MB / 0.5417 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.00116/0.5357, allocations: 321.5 kB / 0.8671 GB, free: 15.33 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.819e-05/0.5357, allocations: 9.406 kB / 0.8671 GB, free: 15.32 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.499e-06/0.5357, allocations: 0.6562 kB / 0.8671 GB, free: 15.32 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.586e-05/0.5357, allocations: 0 / 0.8671 GB, free: 15.32 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001682/0.5374, allocations: 71.86 kB / 0.8672 GB, free: 15.25 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.088e-06/0.5374, allocations: 0 / 0.8672 GB, free: 15.25 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00142/0.5389, allocations: 55.94 kB / 0.8672 GB, free: 15.2 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.443e-05/0.5389, allocations: 7.984 kB / 0.8672 GB, free: 15.19 MB / 0.5417 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 () * 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.0001678/0.5391, allocations: 104.9 kB / 0.8673 GB, free: 15.08 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.149e-05/0.5392, allocations: 11.84 kB / 0.8673 GB, free: 15.07 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001381/0.5393, allocations: 16.62 kB / 0.8674 GB, free: 15.05 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.907e-06/0.5393, allocations: 4 kB / 0.8674 GB, free: 15.05 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.5394, allocations: 4 kB / 0.8674 GB, free: 15.04 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.5394, allocations: 0 / 0.8674 GB, free: 15.04 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005987/0.5454, allocations: 0.8263 MB / 0.8682 GB, free: 14.16 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.5454, allocations: 0 / 0.8682 GB, free: 14.16 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001185/0.5466, allocations: 63.88 kB / 0.8682 GB, free: 14.1 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.5466, allocations: 0 / 0.8682 GB, free: 14.1 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.925e-05/0.5466, allocations: 3.984 kB / 0.8682 GB, free: 14.1 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.336e-06/0.5466, allocations: 4 kB / 0.8682 GB, free: 14.09 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/0.5466, allocations: 64 / 0.8682 GB, free: 14.09 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009554/0.5476, allocations: 340.1 kB / 0.8686 GB, free: 13.73 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 5.049e-05/0.5477, allocations: 85 kB / 0.8686 GB, free: 13.63 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.149e-05/0.5478, allocations: 7.953 kB / 0.8687 GB, free: 13.62 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001106/0.5489, allocations: 47.95 kB / 0.8687 GB, free: 13.57 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.672e-05/0.5489, allocations: 7.922 kB / 0.8687 GB, free: 13.57 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.611e-05/0.5489, allocations: 4 kB / 0.8687 GB, free: 13.56 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 5.117e-05/0.549, allocations: 95.28 kB / 0.8688 GB, free: 13.47 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.91e-07/0.549, allocations: 0 / 0.8688 GB, free: 13.47 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0004075/0.5494, allocations: 99.92 kB / 0.8689 GB, free: 13.37 MB / 0.5417 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 () * 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.0002076/0.5496, allocations: 127.2 kB / 0.869 GB, free: 13.23 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0006267/0.5503, allocations: 187.9 kB / 0.8692 GB, free: 13.05 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.5503, allocations: 0 / 0.8692 GB, free: 13.05 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0002519/0.5505, allocations: 63.98 kB / 0.8693 GB, free: 12.99 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001741/0.5507, allocations: 7.938 kB / 0.8693 GB, free: 12.98 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002583/0.5533, allocations: 229.8 kB / 0.8695 GB, free: 12.72 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002959/0.5536, allocations: 0.6885 MB / 0.8702 GB, free: 12.01 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0005417/0.5542, allocations: 55.98 kB / 0.8702 GB, free: 11.95 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004612/0.5546, allocations: 15.91 kB / 0.8702 GB, free: 11.94 MB / 0.5417 GB Notification: Performance of SimCode: time 3.11e-07/0.5546, allocations: 3.938 kB / 0.8702 GB, free: 11.94 MB / 0.5417 GB Notification: Performance of Templates: time 0.01033/0.565, allocations: 7.368 MB / 0.8774 GB, free: 4.527 MB / 0.5417 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)