Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Utilities.Math.Functions.Examples.QuinticHermite,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.QuinticHermite") translateModel(IBPSA.Utilities.Math.Functions.Examples.QuinticHermite,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.0008545/0.0008545, allocations: 98.89 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008962/0.0008959, allocations: 181.4 kB / 16.92 MB, free: 6.754 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.465/1.465, allocations: 223.3 MB / 241 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7332/0.7332, allocations: 115.5 MB / 407.6 MB, free: 2.746 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003676/0.0003676, allocations: 8 kB / 495.9 MB, free: 6.387 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1795/0.1798, allocations: 77.53 MB / 0.5599 GB, free: 9.059 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.QuinticHermite): time 0.001417/0.1814, allocations: 362.1 kB / 0.5603 GB, free: 8.699 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006559/0.1821, allocations: 199.3 kB / 0.5605 GB, free: 8.504 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.669e-05/0.1821, allocations: 0 / 0.5605 GB, free: 8.504 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.808e-05/0.1822, allocations: 0 / 0.5605 GB, free: 8.504 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002154/0.1824, allocations: 11.92 kB / 0.5605 GB, free: 8.492 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002148/0.1826, allocations: 63.91 kB / 0.5606 GB, free: 8.43 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 7.605e-05/0.1827, allocations: 31.89 kB / 0.5606 GB, free: 8.398 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.97e-05/0.1827, allocations: 4 kB / 0.5606 GB, free: 8.395 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.329e-05/0.1828, allocations: 11.94 kB / 0.5606 GB, free: 8.383 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.452e-05/0.1829, allocations: 23.91 kB / 0.5606 GB, free: 8.359 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.954e-05/0.1829, allocations: 0 / 0.5606 GB, free: 8.359 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002011/0.1831, allocations: 111.7 kB / 0.5607 GB, free: 8.25 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.292e-05/0.1832, allocations: 7.922 kB / 0.5607 GB, free: 8.242 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.077e-05/0.1832, allocations: 41.62 kB / 0.5608 GB, free: 8.195 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002073/0.1834, allocations: 103.8 kB / 0.5609 GB, free: 8.094 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.1834, allocations: 0 / 0.5609 GB, free: 8.094 MB / 430.1 MB Notification: Performance of FrontEnd: time 6.262e-06/0.1834, allocations: 4 kB / 0.5609 GB, free: 8.09 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.995e-06/0.1835, allocations: 3.938 kB / 0.5609 GB, free: 8.086 MB / 430.1 MB 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.0006071/0.1841, allocations: 359.7 kB / 0.5612 GB, free: 7.684 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.087e-05/0.1841, allocations: 8.031 kB / 0.5612 GB, free: 7.676 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.533e-05/0.1842, allocations: 16.83 kB / 0.5613 GB, free: 7.66 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001767/0.1844, allocations: 168.4 kB / 0.5614 GB, free: 7.457 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.569e-05/0.1844, allocations: 4.312 kB / 0.5614 GB, free: 7.453 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.15e-05/0.1844, allocations: 4.375 kB / 0.5614 GB, free: 7.449 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002189/0.1846, allocations: 58.17 kB / 0.5615 GB, free: 7.387 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.488e-05/0.1847, allocations: 4.172 kB / 0.5615 GB, free: 7.383 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.461e-05/0.1847, allocations: 3.938 kB / 0.5615 GB, free: 7.379 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.641e-06/0.1847, allocations: 0 / 0.5615 GB, free: 7.379 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000151/0.1849, allocations: 47.95 kB / 0.5615 GB, free: 7.332 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003569/0.1852, allocations: 248.9 kB / 0.5618 GB, free: 7.039 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002296/0.1855, allocations: 86.41 kB / 0.5618 GB, free: 6.945 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.129e-05/0.1856, allocations: 32.92 kB / 0.5619 GB, free: 6.91 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.79e-05/0.1856, allocations: 0 / 0.5619 GB, free: 6.91 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.637e-05/0.1856, allocations: 34.56 kB / 0.5619 GB, free: 6.867 MB / 430.1 MB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.1856, allocations: 0 / 0.5619 GB, free: 6.867 MB / 430.1 MB Notification: Performance of matching and sorting (n=8): time 0.03002/0.2157, allocations: 1.757 MB / 0.5636 GB, free: 5.102 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.215e-05/0.2158, allocations: 55.41 kB / 0.5637 GB, free: 5.035 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001224/0.2159, allocations: 113.8 kB / 0.5638 GB, free: 4.914 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 8.454e-05/0.216, allocations: 29.7 kB / 0.5638 GB, free: 4.879 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.146e-05/0.2161, allocations: 96.03 kB / 0.5639 GB, free: 4.781 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.153e-05/0.2161, allocations: 23.66 kB / 0.5639 GB, free: 4.758 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.241e-05/0.2162, allocations: 13.7 kB / 0.5639 GB, free: 4.738 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001288/0.2164, allocations: 322.8 kB / 0.5643 GB, free: 4.414 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005256/0.2169, allocations: 159.9 kB / 0.5644 GB, free: 4.258 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004984/0.2174, allocations: 163.8 kB / 0.5646 GB, free: 4.098 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001047/0.2185, allocations: 337.2 kB / 0.5649 GB, free: 3.766 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.2185, allocations: 0 / 0.5649 GB, free: 3.766 MB / 430.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001269/0.2198, allocations: 389.3 kB / 0.5653 GB, free: 3.379 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.643e-05/0.2198, allocations: 4 kB / 0.5653 GB, free: 3.375 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.051e-05/0.2198, allocations: 80 / 0.5653 GB, free: 3.375 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.012e-05/0.2198, allocations: 0 / 0.5653 GB, free: 3.375 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001616/0.2215, allocations: 87.83 kB / 0.5653 GB, free: 3.289 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.16e-05/0.2215, allocations: 3.984 kB / 0.5653 GB, free: 3.285 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001419/0.2229, allocations: 47.95 kB / 0.5654 GB, free: 3.238 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.505e-05/0.223, allocations: 15.97 kB / 0.5654 GB, free: 3.223 MB / 430.1 MB 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.0002009/0.2232, allocations: 113.7 kB / 0.5655 GB, free: 3.102 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.814e-05/0.2233, allocations: 7.906 kB / 0.5655 GB, free: 3.094 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001411/0.2234, allocations: 20.38 kB / 0.5655 GB, free: 3.074 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.698e-06/0.2234, allocations: 4 kB / 0.5655 GB, free: 3.07 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.27e-05/0.2235, allocations: 7.984 kB / 0.5656 GB, free: 3.062 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.2235, allocations: 0 / 0.5656 GB, free: 3.062 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006274/0.2298, allocations: 0.9117 MB / 0.5664 GB, free: 2.086 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.927e-06/0.2298, allocations: 0 / 0.5664 GB, free: 2.086 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001253/0.231, allocations: 71.97 kB / 0.5665 GB, free: 2.016 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.643e-06/0.2311, allocations: 0 / 0.5665 GB, free: 2.016 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.855e-05/0.2311, allocations: 7.984 kB / 0.5665 GB, free: 2.008 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.525e-06/0.2311, allocations: 7.875 kB / 0.5665 GB, free: 2 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.2311, allocations: 0 / 0.5665 GB, free: 2 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001032/0.2322, allocations: 377 kB / 0.5669 GB, free: 1.609 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.242e-05/0.2322, allocations: 85.02 kB / 0.567 GB, free: 1.508 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.812e-05/0.2323, allocations: 3.984 kB / 0.567 GB, free: 1.504 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001148/0.2335, allocations: 47.89 kB / 0.567 GB, free: 1.457 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.276e-05/0.2335, allocations: 8 kB / 0.567 GB, free: 1.449 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.658e-05/0.2336, allocations: 11.97 kB / 0.567 GB, free: 1.438 MB / 430.1 MB Notification: Performance of sorting global known variables: time 7.863e-05/0.2336, allocations: 99.25 kB / 0.5671 GB, free: 1.34 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2336, allocations: 0 / 0.5671 GB, free: 1.34 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0004485/0.2341, allocations: 104 kB / 0.5672 GB, free: 1.238 MB / 430.1 MB 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.0002944/0.2344, allocations: 107.2 kB / 0.5673 GB, free: 1.125 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.00108/0.2355, allocations: 283.8 kB / 0.5676 GB, free: 0.8477 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.027e-06/0.2355, allocations: 0 / 0.5676 GB, free: 0.8477 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004358/0.2359, allocations: 119.9 kB / 0.5677 GB, free: 0.7305 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003232/0.2363, allocations: 5.891 kB / 0.5677 GB, free: 0.7266 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003034/0.2393, allocations: 364.2 kB / 0.5681 GB, free: 348 kB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003452/0.2397, allocations: 0.6853 MB / 0.5687 GB, free: 15.63 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005035/0.2402, allocations: 55.98 kB / 0.5688 GB, free: 15.57 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000483/0.2407, allocations: 35.38 kB / 0.5688 GB, free: 15.54 MB / 446.1 MB Notification: Performance of SimCode: time 4.1e-07/0.2407, allocations: 0 / 0.5688 GB, free: 15.54 MB / 446.1 MB Notification: Performance of Templates: time 0.01679/0.2575, allocations: 8.411 MB / 0.577 GB, free: 7.09 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.QuinticHermite.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.QuinticHermite.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.QuinticHermite.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.QuinticHermite -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.QuinticHermite.pipe 2>&1)