Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.conf.json 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/IDEAS 3.0.0/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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) Running command: translateModel(IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline") translateModel(IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.007694/0.007694, allocations: 168.5 kB / 15.11 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7767/0.7767, allocations: 132.3 MB / 148.1 MB, free: 260 kB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.516/1.516, allocations: 223.2 MB / 403.2 MB, free: 6.75 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001099/0.001099, allocations: 102.8 kB / 485.5 MB, free: 14.18 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003921/0.0003921, allocations: 15.98 kB / 0.5641 GB, free: 2.125 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5213/0.5218, allocations: 81.58 MB / 0.6438 GB, free: 39.29 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1665/0.6883, allocations: 112.6 MB / 0.7537 GB, free: 7.375 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003039/0.6887, allocations: 95.92 kB / 0.7538 GB, free: 7.281 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.009937/0.6986, allocations: 3.256 MB / 0.757 GB, free: 4.023 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.555e-06/0.6987, allocations: 4 kB / 0.757 GB, free: 4.02 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 8.556e-06/0.6987, allocations: 0 / 0.757 GB, free: 4.02 MB / 0.5261 GB 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.0005558/0.6993, allocations: 442.5 kB / 0.7574 GB, free: 3.527 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.126e-05/0.6993, allocations: 8.031 kB / 0.7574 GB, free: 3.52 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.991e-05/0.6994, allocations: 7.906 kB / 0.7574 GB, free: 3.512 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001591/0.6995, allocations: 175 kB / 0.7576 GB, free: 3.301 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.288e-05/0.6996, allocations: 0 / 0.7576 GB, free: 3.301 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.875e-05/0.6996, allocations: 4 kB / 0.7576 GB, free: 3.297 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002122/0.6998, allocations: 81.66 kB / 0.7577 GB, free: 3.211 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.887e-06/0.6998, allocations: 4 kB / 0.7577 GB, free: 3.207 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.214e-05/0.6998, allocations: 0 / 0.7577 GB, free: 3.207 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.55e-06/0.6999, allocations: 0 / 0.7577 GB, free: 3.207 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001228/0.7, allocations: 51.91 kB / 0.7577 GB, free: 3.156 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004883/0.7005, allocations: 284.8 kB / 0.758 GB, free: 2.828 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001327/0.7006, allocations: 58.55 kB / 0.758 GB, free: 2.762 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.32e-05/0.7006, allocations: 4.031 kB / 0.758 GB, free: 2.758 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.811e-05/0.7007, allocations: 30.56 kB / 0.7581 GB, free: 2.719 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=3): time 1.614e-06/0.7007, allocations: 0 / 0.7581 GB, free: 2.719 MB / 0.5261 GB Notification: Performance of matching and sorting (n=3): time 0.0004872/0.7012, allocations: 276.4 kB / 0.7583 GB, free: 2.418 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.489e-05/0.7013, allocations: 77.11 kB / 0.7584 GB, free: 2.324 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001021/0.7014, allocations: 113 kB / 0.7585 GB, free: 2.207 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.835e-05/0.7014, allocations: 25.7 kB / 0.7585 GB, free: 2.176 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 7.076e-05/0.7015, allocations: 96.03 kB / 0.7586 GB, free: 2.078 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.83e-05/0.7015, allocations: 3.906 kB / 0.7586 GB, free: 2.074 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.08e-06/0.7015, allocations: 3.938 kB / 0.7586 GB, free: 2.07 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001506/0.7017, allocations: 326.8 kB / 0.759 GB, free: 1.742 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001016/0.7018, allocations: 55.95 kB / 0.759 GB, free: 1.688 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.823e-05/0.7019, allocations: 55.97 kB / 0.7591 GB, free: 1.633 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001346/0.702, allocations: 115.4 kB / 0.7592 GB, free: 1.508 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.702, allocations: 4 kB / 0.7592 GB, free: 1.504 MB / 0.5261 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003145/0.7023, allocations: 217 kB / 0.7594 GB, free: 1.273 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 5.432e-05/0.7024, allocations: 59.41 kB / 0.7594 GB, free: 1.203 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.7024, allocations: 0 / 0.7594 GB, free: 1.203 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.763e-05/0.7024, allocations: 7.984 kB / 0.7595 GB, free: 1.195 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.468e-05/0.7025, allocations: 4.062 kB / 0.7595 GB, free: 1.191 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.047e-06/0.7025, allocations: 4 kB / 0.7595 GB, free: 1.188 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.923e-05/0.7026, allocations: 11.84 kB / 0.7595 GB, free: 1.176 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.174e-05/0.7026, allocations: 4 kB / 0.7595 GB, free: 1.172 MB / 0.5261 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001255/0.7028, allocations: 155.5 kB / 0.7596 GB, free: 1.004 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.66e-05/0.7028, allocations: 4.234 kB / 0.7596 GB, free: 1 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.476e-05/0.7028, allocations: 7.906 kB / 0.7596 GB, free: 0.9844 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.62e-06/0.7028, allocations: 3.984 kB / 0.7596 GB, free: 0.9805 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.178e-06/0.7029, allocations: 3.984 kB / 0.7596 GB, free: 0.9766 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.7029, allocations: 4 kB / 0.7596 GB, free: 0.9727 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000171/0.703, allocations: 173.5 kB / 0.7598 GB, free: 0.7539 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.703, allocations: 3.984 kB / 0.7598 GB, free: 0.75 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.961e-05/0.7031, allocations: 4 kB / 0.7598 GB, free: 0.7461 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.664e-06/0.7031, allocations: 4 kB / 0.7598 GB, free: 0.7422 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.146e-05/0.7031, allocations: 0 / 0.7598 GB, free: 0.7422 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.7031, allocations: 4 kB / 0.7598 GB, free: 0.7383 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.7031, allocations: 0 / 0.7598 GB, free: 0.7383 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002884/0.7034, allocations: 253 kB / 0.7601 GB, free: 480 kB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 4.843e-05/0.7035, allocations: 81.02 kB / 0.7601 GB, free: 380 kB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.997e-05/0.7035, allocations: 8.031 kB / 0.7602 GB, free: 372 kB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.01e-05/0.7036, allocations: 11.98 kB / 0.7602 GB, free: 360 kB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.125e-05/0.7037, allocations: 4 kB / 0.7602 GB, free: 356 kB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.999e-06/0.7037, allocations: 3.984 kB / 0.7602 GB, free: 352 kB / 0.5261 GB Notification: Performance of sorting global known variables: time 6.332e-05/0.7037, allocations: 103.6 kB / 0.7603 GB, free: 248 kB / 0.5261 GB Notification: Performance of sort global known variables: time 1.7e-07/0.7038, allocations: 0 / 0.7603 GB, free: 248 kB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0003475/0.7041, allocations: 71.94 kB / 0.7603 GB, free: 176 kB / 0.5261 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003025/0.7044, allocations: 160.8 kB / 0.7605 GB, free: 8 kB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0003635/0.7048, allocations: 238.7 kB / 0.7607 GB, free: 15.75 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.7048, allocations: 3.938 kB / 0.7607 GB, free: 15.75 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0001288/0.7049, allocations: 103.4 kB / 0.7608 GB, free: 15.63 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000151/0.7051, allocations: 13.39 kB / 0.7608 GB, free: 15.62 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003968/0.7055, allocations: 183.7 kB / 0.761 GB, free: 15.42 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002793/0.7058, allocations: 0.6965 MB / 0.7617 GB, free: 14.7 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 1.656e-05/0.7058, allocations: 0 / 0.7617 GB, free: 14.7 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.547e-05/0.7058, allocations: 7.438 kB / 0.7617 GB, free: 14.69 MB / 0.5417 GB Notification: Performance of SimCode: time 2.51e-07/0.7058, allocations: 0 / 0.7617 GB, free: 14.69 MB / 0.5417 GB Notification: Performance of Templates: time 0.004247/0.7101, allocations: 1.561 MB / 0.7632 GB, free: 13.13 MB / 0.5417 GB make -j1 -f IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.makefile (rm -f IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.sim & ./IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe 2>&1)