Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.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.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline") translateModel(BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001789/0.001789, 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.00197/0.00197, allocations: 193.9 kB / 16.14 MB, free: 6.691 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.461/1.461, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002705/0.002705, allocations: 284.8 kB / 290.2 MB, free: 2.223 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.189/1.189, allocations: 178.6 MB / 0.5068 GB, free: 4.785 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002815/0.002815, allocations: 93.25 kB / 0.6057 GB, free: 25.25 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1505/0.1534, allocations: 89.16 MB / 0.6928 GB, free: 4.836 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.002761/0.1562, allocations: 1.482 MB / 0.6943 GB, free: 3.348 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001371/0.1576, allocations: 0.8191 MB / 0.6951 GB, free: 2.52 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.43e-05/0.1576, allocations: 0 / 0.6951 GB, free: 2.52 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 6.549e-05/0.1577, allocations: 0 / 0.6951 GB, free: 2.52 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.803e-05/0.1577, allocations: 7.938 kB / 0.6951 GB, free: 2.512 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005169/0.1583, allocations: 134.4 kB / 0.6952 GB, free: 2.383 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.321e-05/0.1584, allocations: 35.91 kB / 0.6952 GB, free: 2.348 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.176e-05/0.1584, allocations: 8 kB / 0.6952 GB, free: 2.34 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.918e-05/0.1585, allocations: 15.92 kB / 0.6952 GB, free: 2.324 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.727e-05/0.1585, allocations: 15.98 kB / 0.6953 GB, free: 2.309 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.472e-05/0.1586, allocations: 4 kB / 0.6953 GB, free: 2.305 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003142/0.1589, allocations: 187.7 kB / 0.6954 GB, free: 2.121 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.5e-05/0.1589, allocations: 15.94 kB / 0.6955 GB, free: 2.105 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.13e-05/0.159, allocations: 19.86 kB / 0.6955 GB, free: 2.086 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002844/0.1593, allocations: 183.9 kB / 0.6957 GB, free: 1.906 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.1593, allocations: 0 / 0.6957 GB, free: 1.906 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.1593, allocations: 0 / 0.6957 GB, free: 1.906 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.727e-06/0.1593, allocations: 0 / 0.6957 GB, free: 1.906 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.0005291/0.1598, allocations: 434.7 kB / 0.6961 GB, free: 1.422 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.598e-05/0.1599, allocations: 8.031 kB / 0.6961 GB, free: 1.414 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.93e-05/0.1599, allocations: 8.938 kB / 0.6961 GB, free: 1.406 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001411/0.1601, allocations: 176.3 kB / 0.6963 GB, free: 1.195 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.094e-05/0.1601, allocations: 384 / 0.6963 GB, free: 1.195 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.421e-05/0.1601, allocations: 4.375 kB / 0.6963 GB, free: 1.191 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000187/0.1603, allocations: 77.92 kB / 0.6963 GB, free: 1.109 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.375e-06/0.1603, allocations: 0 / 0.6963 GB, free: 1.109 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.041e-05/0.1603, allocations: 0 / 0.6963 GB, free: 1.109 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.466e-06/0.1603, allocations: 0 / 0.6963 GB, free: 1.109 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000136/0.1605, allocations: 47.95 kB / 0.6964 GB, free: 1.062 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004094/0.1609, allocations: 284.8 kB / 0.6966 GB, free: 0.7344 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001221/0.161, allocations: 62.5 kB / 0.6967 GB, free: 0.6641 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.239e-05/0.1611, allocations: 44.91 kB / 0.6968 GB, free: 0.6172 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.999e-06/0.1611, allocations: 3.984 kB / 0.6968 GB, free: 0.6133 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.086e-05/0.1612, allocations: 34.56 kB / 0.6968 GB, free: 0.5703 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 1.493e-06/0.1612, allocations: 4 kB / 0.6968 GB, free: 0.5664 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0004056/0.1616, allocations: 183.2 kB / 0.697 GB, free: 384 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.289e-05/0.1617, allocations: 77.11 kB / 0.697 GB, free: 288 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001186/0.1618, allocations: 137.7 kB / 0.6972 GB, free: 140 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.919e-05/0.1618, allocations: 29.64 kB / 0.6972 GB, free: 104 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.537e-05/0.1619, allocations: 92.08 kB / 0.6973 GB, free: 8 kB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.331e-05/0.1619, allocations: 3.906 kB / 0.6973 GB, free: 4 kB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.66e-05/0.162, allocations: 25.7 kB / 0.6973 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001366/0.1621, allocations: 314.9 kB / 0.6976 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001104/0.1622, allocations: 59.95 kB / 0.6977 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.88e-05/0.1623, allocations: 59.97 kB / 0.6977 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002465/0.1626, allocations: 197.9 kB / 0.6979 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.1626, allocations: 0 / 0.6979 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003084/0.1629, allocations: 216.9 kB / 0.6981 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 5.807e-05/0.163, allocations: 67.39 kB / 0.6982 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.007e-06/0.163, allocations: 4 kB / 0.6982 GB, free: 15.01 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.462e-05/0.163, allocations: 0 / 0.6982 GB, free: 15.01 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.736e-05/0.1631, allocations: 7.938 kB / 0.6982 GB, free: 15 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-06/0.1631, allocations: 0 / 0.6982 GB, free: 15 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.794e-05/0.1631, allocations: 7.984 kB / 0.6982 GB, free: 15 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.243e-05/0.1632, allocations: 4 kB / 0.6982 GB, free: 14.99 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 (cubSpl.i) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 1 * 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.0001207/0.1633, allocations: 151.5 kB / 0.6984 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.949e-05/0.1633, allocations: 7.906 kB / 0.6984 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.437e-05/0.1634, allocations: 11.91 kB / 0.6984 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.522e-06/0.1634, allocations: 0 / 0.6984 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.858e-06/0.1634, allocations: 0 / 0.6984 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.1634, allocations: 0 / 0.6984 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000187/0.1636, allocations: 177.5 kB / 0.6985 GB, free: 14.58 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.1636, allocations: 0 / 0.6985 GB, free: 14.58 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.965e-05/0.1636, allocations: 4 kB / 0.6985 GB, free: 14.58 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.342e-06/0.1636, allocations: 0 / 0.6985 GB, free: 14.58 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.152e-05/0.1636, allocations: 4 kB / 0.6986 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.1636, allocations: 0 / 0.6986 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.1636, allocations: 0 / 0.6986 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003043/0.164, allocations: 261 kB / 0.6988 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.151e-05/0.164, allocations: 81.11 kB / 0.6989 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.643e-05/0.164, allocations: 0 / 0.6989 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.349e-05/0.1641, allocations: 4 kB / 0.6989 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001085/0.1642, allocations: 11.98 kB / 0.6989 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.721e-06/0.1642, allocations: 0 / 0.6989 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.555e-05/0.1643, allocations: 95.3 kB / 0.699 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.51e-07/0.1643, allocations: 4 kB / 0.699 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003267/0.1647, allocations: 55.98 kB / 0.699 GB, free: 14.03 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 (cubSpl.i) * Number of discrete states: 1 (cubSpl.i) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 1 * 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.000278/0.1649, allocations: 155.2 kB / 0.6992 GB, free: 13.87 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003675/0.1653, allocations: 238.7 kB / 0.6994 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.1653, allocations: 3.938 kB / 0.6994 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001472/0.1655, allocations: 107.3 kB / 0.6995 GB, free: 13.49 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002221/0.1657, allocations: 12 kB / 0.6995 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004073/0.1661, allocations: 192.6 kB / 0.6997 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003557/0.1665, allocations: 0.6848 MB / 0.7004 GB, free: 12.56 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.553e-05/0.1665, allocations: 0 / 0.7004 GB, free: 12.56 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.867e-05/0.1665, allocations: 7.438 kB / 0.7004 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.1665, allocations: 0 / 0.7004 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of Templates: time 0.004572/0.1711, allocations: 1.654 MB / 0.702 GB, free: 10.93 MB / 0.4981 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.sim & ./BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe 2>&1)