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/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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004819/0.004819, allocations: 96.31 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.001052/0.001052, allocations: 195.6 kB / 16.67 MB, free: 5.961 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.309/1.309, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001951/0.001951, allocations: 294.9 kB / 290.8 MB, free: 1.895 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9371/0.9371, allocations: 169.3 MB / 0.4983 GB, free: 13.78 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001694/0.001694, allocations: 96.28 kB / 0.6815 GB, free: 15.43 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1481/0.1498, allocations: 86.97 MB / 0.7664 GB, free: 8.383 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.QuinticHermite): time 0.00163/0.1515, allocations: 0.6344 MB / 0.7671 GB, free: 7.75 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0004107/0.1519, allocations: 203.1 kB / 0.7672 GB, free: 7.551 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.024e-05/0.1519, allocations: 0 / 0.7672 GB, free: 7.551 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.415e-05/0.152, allocations: 3.938 kB / 0.7672 GB, free: 7.547 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001721/0.1521, allocations: 3.938 kB / 0.7673 GB, free: 7.543 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001943/0.1524, allocations: 75.75 kB / 0.7673 GB, free: 7.469 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 6.442e-05/0.1524, allocations: 35.91 kB / 0.7674 GB, free: 7.434 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.175e-05/0.1525, allocations: 0 / 0.7674 GB, free: 7.434 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 3.526e-05/0.1525, allocations: 23.91 kB / 0.7674 GB, free: 7.41 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 6.647e-05/0.1526, allocations: 15.92 kB / 0.7674 GB, free: 7.395 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.457e-05/0.1526, allocations: 11.94 kB / 0.7674 GB, free: 7.383 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001742/0.1528, allocations: 103.7 kB / 0.7675 GB, free: 7.281 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.505e-05/0.1528, allocations: 8 kB / 0.7675 GB, free: 7.273 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.871e-05/0.1528, allocations: 27.78 kB / 0.7675 GB, free: 7.246 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001717/0.153, allocations: 99.69 kB / 0.7676 GB, free: 7.148 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.153, allocations: 0 / 0.7676 GB, free: 7.148 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.513e-06/0.153, allocations: 0 / 0.7676 GB, free: 7.148 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.568e-06/0.153, allocations: 0 / 0.7676 GB, free: 7.148 MB / 0.5606 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.000489/0.1535, allocations: 371.2 kB / 0.768 GB, free: 6.734 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.203e-05/0.1536, allocations: 12.03 kB / 0.768 GB, free: 6.723 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.074e-05/0.1536, allocations: 0.9375 kB / 0.768 GB, free: 6.723 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001298/0.1537, allocations: 184.2 kB / 0.7682 GB, free: 6.504 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.136e-05/0.1538, allocations: 4.375 kB / 0.7682 GB, free: 6.5 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.946e-05/0.1538, allocations: 384 / 0.7682 GB, free: 6.5 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001533/0.1539, allocations: 50.23 kB / 0.7682 GB, free: 6.445 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/0.154, allocations: 8.172 kB / 0.7682 GB, free: 6.438 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.035e-05/0.154, allocations: 3.938 kB / 0.7682 GB, free: 6.434 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-06/0.154, allocations: 4 kB / 0.7682 GB, free: 6.43 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001298/0.1541, allocations: 31.97 kB / 0.7683 GB, free: 6.398 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002584/0.1544, allocations: 245 kB / 0.7685 GB, free: 6.109 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000199/0.1546, allocations: 74.41 kB / 0.7686 GB, free: 6.027 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.742e-05/0.1547, allocations: 24.94 kB / 0.7686 GB, free: 6 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.574e-05/0.1547, allocations: 4 kB / 0.7686 GB, free: 5.996 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.412e-05/0.1547, allocations: 34.56 kB / 0.7686 GB, free: 5.953 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=4): time 1.282e-06/0.1547, allocations: 0 / 0.7686 GB, free: 5.953 MB / 0.5606 GB Notification: Performance of matching and sorting (n=8): time 0.02682/0.1816, allocations: 1.609 MB / 0.7702 GB, free: 4.336 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.143e-05/0.1816, allocations: 51.41 kB / 0.7703 GB, free: 4.273 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001026/0.1817, allocations: 121.8 kB / 0.7704 GB, free: 4.145 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.467e-05/0.1818, allocations: 33.58 kB / 0.7704 GB, free: 4.105 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.925e-05/0.1818, allocations: 96.06 kB / 0.7705 GB, free: 4.008 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 6.413e-05/0.1819, allocations: 23.8 kB / 0.7705 GB, free: 3.984 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002046/0.1821, allocations: 26.08 kB / 0.7705 GB, free: 3.953 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001132/0.1822, allocations: 326.8 kB / 0.7709 GB, free: 3.625 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004885/0.1827, allocations: 139.9 kB / 0.771 GB, free: 3.488 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004964/0.1832, allocations: 143.9 kB / 0.7711 GB, free: 3.348 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009954/0.1842, allocations: 296.8 kB / 0.7714 GB, free: 3.055 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.1842, allocations: 0 / 0.7714 GB, free: 3.055 MB / 0.5606 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001196/0.1854, allocations: 337.5 kB / 0.7717 GB, free: 2.719 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.509e-05/0.1855, allocations: 4 kB / 0.7717 GB, free: 2.715 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.459e-06/0.1855, allocations: 0 / 0.7717 GB, free: 2.715 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.305e-05/0.1855, allocations: 0 / 0.7717 GB, free: 2.715 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001511/0.187, allocations: 67.92 kB / 0.7718 GB, free: 2.648 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/0.187, allocations: 3.938 kB / 0.7718 GB, free: 2.645 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001309/0.1883, allocations: 47.94 kB / 0.7719 GB, free: 2.598 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.178e-05/0.1884, allocations: 4 kB / 0.7719 GB, free: 2.594 MB / 0.5606 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.000155/0.1886, allocations: 114.4 kB / 0.772 GB, free: 2.473 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.054e-05/0.1887, allocations: 4 kB / 0.772 GB, free: 2.469 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001066/0.1888, allocations: 16.38 kB / 0.772 GB, free: 2.453 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.937e-06/0.1888, allocations: 8 kB / 0.772 GB, free: 2.445 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.1888, allocations: 0 / 0.772 GB, free: 2.445 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.1888, allocations: 3.984 kB / 0.772 GB, free: 2.441 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005543/0.1943, allocations: 0.8491 MB / 0.7728 GB, free: 1.531 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.305e-06/0.1944, allocations: 0 / 0.7728 GB, free: 1.531 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001096/0.1955, allocations: 55.88 kB / 0.7729 GB, free: 1.477 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.1955, allocations: 0 / 0.7729 GB, free: 1.477 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.84e-05/0.1955, allocations: 4 kB / 0.7729 GB, free: 1.473 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.366e-06/0.1955, allocations: 4.219 kB / 0.7729 GB, free: 1.469 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.1955, allocations: 0 / 0.7729 GB, free: 1.469 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009301/0.1965, allocations: 325.2 kB / 0.7732 GB, free: 1.129 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.158e-05/0.1965, allocations: 93.41 kB / 0.7733 GB, free: 1.02 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.502e-05/0.1966, allocations: 0 / 0.7733 GB, free: 1.02 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009968/0.1976, allocations: 47.89 kB / 0.7733 GB, free: 0.9727 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.962e-05/0.1976, allocations: 11.88 kB / 0.7733 GB, free: 0.9609 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.707e-05/0.1977, allocations: 11.98 kB / 0.7734 GB, free: 0.9492 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 6.748e-05/0.1978, allocations: 87.28 kB / 0.7734 GB, free: 0.8633 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1978, allocations: 0 / 0.7734 GB, free: 0.8633 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000374/0.1981, allocations: 95.92 kB / 0.7735 GB, free: 0.7695 MB / 0.5606 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.0002358/0.1984, allocations: 119.2 kB / 0.7736 GB, free: 0.6445 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0009823/0.1994, allocations: 247.8 kB / 0.7739 GB, free: 412 kB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.1994, allocations: 0 / 0.7739 GB, free: 412 kB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0004073/0.1998, allocations: 95.89 kB / 0.774 GB, free: 316 kB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002769/0.2001, allocations: 11.09 kB / 0.774 GB, free: 308 kB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3084/0.5085, allocations: 293.4 kB / 0.7743 GB, free: 14.94 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000119/0.5086, allocations: 0.6851 MB / 0.7749 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0005153/0.5091, allocations: 52.78 kB / 0.775 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004592/0.5096, allocations: 15.95 kB / 0.775 GB, free: 14.24 MB / 0.5606 GB Notification: Performance of SimCode: time 7.91e-07/0.5096, allocations: 0 / 0.775 GB, free: 14.24 MB / 0.5606 GB Notification: Performance of Templates: time 0.01313/0.5227, allocations: 8.756 MB / 0.7835 GB, free: 13.94 MB / 0.5606 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)