Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite.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.CubicHermite,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001414/0.001415, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001477/0.001477, allocations: 193.4 kB / 16.14 MB, free: 6.637 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.435/1.435, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002606/0.002606, allocations: 290.6 kB / 290.2 MB, free: 2.207 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.086/1.086, allocations: 178.6 MB / 0.5068 GB, free: 4.797 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002754/0.002754, allocations: 100.3 kB / 0.6057 GB, free: 25.26 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1525/0.1552, allocations: 89.15 MB / 0.6928 GB, free: 4.84 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite): time 0.001827/0.1571, allocations: 0.6763 MB / 0.6935 GB, free: 4.168 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001981/0.1591, allocations: 1.423 MB / 0.6949 GB, free: 2.73 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.075e-05/0.1591, allocations: 0 / 0.6949 GB, free: 2.73 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 5.789e-05/0.1592, allocations: 0.8125 kB / 0.6949 GB, free: 2.73 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.575e-05/0.1593, allocations: 7.938 kB / 0.6949 GB, free: 2.723 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005498/0.1598, allocations: 136.2 kB / 0.695 GB, free: 2.594 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.764e-05/0.1599, allocations: 43.89 kB / 0.695 GB, free: 2.551 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.059e-05/0.16, allocations: 4 kB / 0.695 GB, free: 2.547 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.629e-05/0.16, allocations: 15.98 kB / 0.6951 GB, free: 2.531 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.314e-05/0.1601, allocations: 32.48 kB / 0.6951 GB, free: 2.5 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.459e-05/0.1601, allocations: 2.656 kB / 0.6951 GB, free: 2.5 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003128/0.1604, allocations: 187.7 kB / 0.6953 GB, free: 2.316 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.363e-05/0.1605, allocations: 11.94 kB / 0.6953 GB, free: 2.305 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.464e-05/0.1605, allocations: 27.86 kB / 0.6953 GB, free: 2.277 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002779/0.1608, allocations: 187.8 kB / 0.6955 GB, free: 2.094 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.1608, allocations: 0 / 0.6955 GB, free: 2.094 MB / 494.1 MB Notification: Performance of FrontEnd: time 7.42e-07/0.1608, allocations: 0 / 0.6955 GB, free: 2.094 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.196e-06/0.1608, allocations: 1.562 kB / 0.6955 GB, free: 2.094 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004437/0.1613, allocations: 442.8 kB / 0.6959 GB, free: 1.602 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.053e-05/0.1613, allocations: 8.031 kB / 0.6959 GB, free: 1.594 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.414e-05/0.1614, allocations: 13.5 kB / 0.6959 GB, free: 1.582 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001337/0.1615, allocations: 185.9 kB / 0.6961 GB, free: 1.363 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.436e-05/0.1615, allocations: 1.938 kB / 0.6961 GB, free: 1.363 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.296e-05/0.1615, allocations: 8.312 kB / 0.6961 GB, free: 1.355 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001714/0.1617, allocations: 97.95 kB / 0.6962 GB, free: 1.254 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.592e-06/0.1617, allocations: 7.938 kB / 0.6962 GB, free: 1.246 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.987e-06/0.1618, allocations: 0 / 0.6962 GB, free: 1.246 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.407e-06/0.1618, allocations: 0 / 0.6962 GB, free: 1.246 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.234e-05/0.1619, allocations: 59.95 kB / 0.6963 GB, free: 1.188 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001691/0.162, allocations: 173.7 kB / 0.6964 GB, free: 0.9688 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001157/0.1622, allocations: 86.47 kB / 0.6965 GB, free: 0.875 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.145e-05/0.1623, allocations: 64.89 kB / 0.6966 GB, free: 0.8086 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.242e-06/0.1623, allocations: 0 / 0.6966 GB, free: 0.8086 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.819e-05/0.1623, allocations: 38.5 kB / 0.6966 GB, free: 0.7617 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 8.62e-07/0.1623, allocations: 0 / 0.6966 GB, free: 0.7617 MB / 494.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003986/0.1627, allocations: 251.2 kB / 0.6969 GB, free: 0.5039 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.75e-05/0.1628, allocations: 89.05 kB / 0.6969 GB, free: 408 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001312/0.1629, allocations: 149.7 kB / 0.6971 GB, free: 248 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.88e-05/0.1629, allocations: 25.7 kB / 0.6971 GB, free: 216 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.832e-05/0.163, allocations: 92.12 kB / 0.6972 GB, free: 120 kB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.154e-05/0.163, allocations: 7.812 kB / 0.6972 GB, free: 112 kB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.013e-05/0.1631, allocations: 33.73 kB / 0.6972 GB, free: 72 kB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001488/0.1633, allocations: 318.8 kB / 0.6975 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001366/0.1634, allocations: 103.9 kB / 0.6976 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001832/0.1636, allocations: 99.94 kB / 0.6977 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002895/0.1639, allocations: 281.7 kB / 0.698 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.1639, allocations: 0 / 0.698 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003763/0.1643, allocations: 328.8 kB / 0.6983 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 5.724e-05/0.1643, allocations: 69.27 kB / 0.6984 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.1644, allocations: 0 / 0.6984 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.258e-05/0.1644, allocations: 8.047 kB / 0.6984 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.82e-07/0.1644, allocations: 0 / 0.6984 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.111e-06/0.1644, allocations: 3.984 kB / 0.6984 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001343/0.1645, allocations: 11.94 kB / 0.6984 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.753e-05/0.1646, allocations: 4 kB / 0.6984 GB, free: 14.81 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (i) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 2 * 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.0001173/0.1647, allocations: 151.5 kB / 0.6986 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.87e-05/0.1647, allocations: 7.844 kB / 0.6986 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.239e-05/0.1647, allocations: 8.25 kB / 0.6986 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.1647, allocations: 4 kB / 0.6986 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.1647, allocations: 7.922 kB / 0.6986 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.824e-06/0.1647, allocations: 0 / 0.6986 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000128/0.1649, allocations: 169.7 kB / 0.6987 GB, free: 14.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.1649, allocations: 0 / 0.6987 GB, free: 14.4 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.139e-06/0.1649, allocations: 7.922 kB / 0.6988 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.363e-06/0.1649, allocations: 0 / 0.6988 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.48e-05/0.1649, allocations: 4 kB / 0.6988 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.1649, allocations: 0 / 0.6988 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.1649, allocations: 7.938 kB / 0.6988 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000357/0.1653, allocations: 238.6 kB / 0.699 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.774e-05/0.1654, allocations: 84.95 kB / 0.6991 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.909e-05/0.1654, allocations: 4 kB / 0.6991 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.713e-05/0.1654, allocations: 4 kB / 0.6991 GB, free: 14.01 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.114e-05/0.1655, allocations: 7.984 kB / 0.6991 GB, free: 14 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.522e-06/0.1655, allocations: 0 / 0.6991 GB, free: 14 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 7.899e-05/0.1656, allocations: 111.2 kB / 0.6992 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.41e-07/0.1656, allocations: 0 / 0.6992 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002821/0.1659, allocations: 64.03 kB / 0.6993 GB, free: 13.83 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (i) * Number of discrete states: 1 (i) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0002671/0.1662, allocations: 151.2 kB / 0.6994 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004135/0.1666, allocations: 366.7 kB / 0.6997 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.1666, allocations: 0 / 0.6997 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001452/0.1667, allocations: 139.3 kB / 0.6999 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001464/0.1669, allocations: 13.59 kB / 0.6999 GB, free: 13.13 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003699/0.1673, allocations: 227.4 kB / 0.7001 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003212/0.1676, allocations: 0.6926 MB / 0.7008 GB, free: 12.17 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 6.141e-06/0.1676, allocations: 0 / 0.7008 GB, free: 12.17 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.509e-05/0.1676, allocations: 11.44 kB / 0.7008 GB, free: 12.16 MB / 0.4981 GB Notification: Performance of SimCode: time 2.41e-07/0.1676, allocations: 0 / 0.7008 GB, free: 12.16 MB / 0.4981 GB Notification: Performance of Templates: time 0.004651/0.1723, allocations: 1.914 MB / 0.7027 GB, free: 10.25 MB / 0.4981 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.CubicHermite.pipe 2>&1)