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.001383/0.001383, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001374/0.001374, allocations: 192.8 kB / 16.25 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.423/1.423, allocations: 222.9 MB / 239.9 MB, free: 4.504 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002632/0.002632, allocations: 282.8 kB / 290.4 MB, free: 2.117 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.077/1.077, allocations: 178.6 MB / 0.507 GB, free: 4.742 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002807/0.002807, allocations: 102.4 kB / 0.6059 GB, free: 24.99 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1453/0.1482, allocations: 89.15 MB / 0.693 GB, free: 4.715 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.002616/0.1508, allocations: 1.486 MB / 0.6944 GB, free: 3.23 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001254/0.1521, allocations: 0.7814 MB / 0.6952 GB, free: 2.441 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.478e-05/0.1521, allocations: 0 / 0.6952 GB, free: 2.441 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 6.057e-05/0.1522, allocations: 7.922 kB / 0.6952 GB, free: 2.434 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.857e-05/0.1522, allocations: 4.594 kB / 0.6952 GB, free: 2.43 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005641/0.1528, allocations: 159.8 kB / 0.6954 GB, free: 2.273 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 9.807e-05/0.1529, allocations: 47.91 kB / 0.6954 GB, free: 2.227 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.851e-05/0.153, allocations: 8.281 kB / 0.6954 GB, free: 2.219 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.936e-05/0.153, allocations: 19.92 kB / 0.6954 GB, free: 2.199 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.492e-05/0.1531, allocations: 15.98 kB / 0.6955 GB, free: 2.184 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.354e-05/0.1531, allocations: 4 kB / 0.6955 GB, free: 2.18 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003179/0.1534, allocations: 199.7 kB / 0.6957 GB, free: 1.984 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.89e-05/0.1535, allocations: 11.92 kB / 0.6957 GB, free: 1.973 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.594e-05/0.1535, allocations: 19.88 kB / 0.6957 GB, free: 1.953 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002872/0.1538, allocations: 191.6 kB / 0.6959 GB, free: 1.766 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.045e-06/0.1538, allocations: 0 / 0.6959 GB, free: 1.766 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1538, allocations: 0 / 0.6959 GB, free: 1.766 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.438e-06/0.1539, allocations: 4 kB / 0.6959 GB, free: 1.762 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.0005068/0.1544, allocations: 434.7 kB / 0.6963 GB, free: 1.277 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.224e-05/0.1544, allocations: 12.03 kB / 0.6963 GB, free: 1.266 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.993e-05/0.1544, allocations: 0.9375 kB / 0.6963 GB, free: 1.266 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001434/0.1546, allocations: 168.3 kB / 0.6965 GB, free: 1.062 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.17e-05/0.1546, allocations: 4.312 kB / 0.6965 GB, free: 1.059 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.444e-05/0.1546, allocations: 4.375 kB / 0.6965 GB, free: 1.055 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001874/0.1548, allocations: 77.97 kB / 0.6965 GB, free: 0.9727 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.683e-06/0.1548, allocations: 0 / 0.6965 GB, free: 0.9727 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.078e-05/0.1549, allocations: 7.984 kB / 0.6965 GB, free: 0.9648 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.1549, allocations: 4 kB / 0.6965 GB, free: 0.9609 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001198/0.155, allocations: 51.91 kB / 0.6966 GB, free: 0.9102 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004016/0.1554, allocations: 272.9 kB / 0.6969 GB, free: 0.5938 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001216/0.1555, allocations: 62.48 kB / 0.6969 GB, free: 0.5234 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.449e-05/0.1556, allocations: 52.91 kB / 0.697 GB, free: 480 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.007e-05/0.1557, allocations: 0 / 0.697 GB, free: 480 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.548e-05/0.1557, allocations: 30.56 kB / 0.697 GB, free: 440 kB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.1557, allocations: 0 / 0.697 GB, free: 440 kB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003925/0.1561, allocations: 179.2 kB / 0.6972 GB, free: 248 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.895e-05/0.1562, allocations: 93.03 kB / 0.6973 GB, free: 136 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001036/0.1563, allocations: 121.8 kB / 0.6974 GB, free: 4 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.299e-05/0.1563, allocations: 29.73 kB / 0.6974 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.793e-05/0.1564, allocations: 92.12 kB / 0.6975 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.672e-05/0.1564, allocations: 7.906 kB / 0.6975 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.631e-05/0.1565, allocations: 17.72 kB / 0.6975 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001386/0.1566, allocations: 318.8 kB / 0.6978 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001162/0.1567, allocations: 55.97 kB / 0.6979 GB, free: 15.47 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001004/0.1568, allocations: 55.97 kB / 0.6979 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002608/0.1571, allocations: 213.9 kB / 0.6981 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.135e-06/0.1571, allocations: 3.938 kB / 0.6981 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003104/0.1574, allocations: 212.9 kB / 0.6983 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 5.73e-05/0.1575, allocations: 67.34 kB / 0.6984 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/0.1575, allocations: 0 / 0.6984 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.878e-06/0.1575, allocations: 0 / 0.6984 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.255e-05/0.1576, allocations: 7.984 kB / 0.6984 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.218e-06/0.1576, allocations: 0 / 0.6984 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.504e-05/0.1576, allocations: 4 kB / 0.6984 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.467e-05/0.1577, allocations: 4 kB / 0.6984 GB, free: 14.86 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.0001326/0.1578, allocations: 155.5 kB / 0.6986 GB, free: 14.69 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.252e-05/0.1578, allocations: 7.906 kB / 0.6986 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.826e-05/0.1579, allocations: 3.906 kB / 0.6986 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.343e-06/0.1579, allocations: 0 / 0.6986 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.653e-06/0.1579, allocations: 0 / 0.6986 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.1579, allocations: 3.938 kB / 0.6986 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001939/0.1581, allocations: 177.6 kB / 0.6987 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.1581, allocations: 0 / 0.6987 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.882e-05/0.1581, allocations: 3.984 kB / 0.6988 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.1581, allocations: 8 kB / 0.6988 GB, free: 14.44 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.007e-06/0.1581, allocations: 0 / 0.6988 GB, free: 14.44 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.1582, allocations: 0 / 0.6988 GB, free: 14.44 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.1582, allocations: 0 / 0.6988 GB, free: 14.44 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003076/0.1585, allocations: 257 kB / 0.699 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.392e-05/0.1585, allocations: 77.11 kB / 0.6991 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.789e-05/0.1585, allocations: 4 kB / 0.6991 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.224e-05/0.1586, allocations: 8.016 kB / 0.6991 GB, free: 14.06 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.704e-05/0.1587, allocations: 8 kB / 0.6991 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.656e-06/0.1587, allocations: 4 kB / 0.6991 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.705e-05/0.1588, allocations: 99.62 kB / 0.6992 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1588, allocations: 4 kB / 0.6992 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003048/0.1591, allocations: 59.94 kB / 0.6993 GB, free: 13.89 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.0002649/0.1594, allocations: 147.2 kB / 0.6994 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003433/0.1598, allocations: 243 kB / 0.6996 GB, free: 13.47 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.1598, allocations: 0 / 0.6996 GB, free: 13.47 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001456/0.1599, allocations: 107.3 kB / 0.6997 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002121/0.1601, allocations: 5.766 kB / 0.6997 GB, free: 13.35 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003415/0.1605, allocations: 187.8 kB / 0.6999 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003255/0.1608, allocations: 0.6886 MB / 0.7006 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.512e-05/0.1608, allocations: 4 kB / 0.7006 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.699e-05/0.1609, allocations: 11.44 kB / 0.7006 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of SimCode: time 2.31e-07/0.1609, allocations: 0 / 0.7006 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of Templates: time 0.004338/0.1652, allocations: 1.69 MB / 0.7023 GB, free: 10.76 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)