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/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009156/0.0009156, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001467/0.001467, allocations: 165 kB / 23.02 MB, free: 1.551 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9009/0.9009, allocations: 177.1 MB / 203.4 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7576/0.7576, allocations: 154.6 MB / 414.5 MB, free: 0.6953 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline") translateModel(IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.202e-06/1.202e-06, allocations: 0 / 0.5203 GB, free: 2.23 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.806e-05/1.927e-05, allocations: 6.312 kB / 0.5203 GB, free: 2.223 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.001712/0.001731, allocations: 1.462 MB / 0.5218 GB, free: 0.7695 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009663/0.002697, allocations: 0.8253 MB / 0.5226 GB, free: 15.94 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.658e-05/0.002724, allocations: 0 / 0.5226 GB, free: 15.94 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 6.744e-05/0.002791, allocations: 3.938 kB / 0.5226 GB, free: 15.94 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 4.5e-05/0.002836, allocations: 3.938 kB / 0.5226 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004992/0.003336, allocations: 178.8 kB / 0.5228 GB, free: 15.76 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 8.741e-05/0.003423, allocations: 43.91 kB / 0.5228 GB, free: 15.72 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 7.135e-05/0.003494, allocations: 7.984 kB / 0.5228 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 4.268e-05/0.003537, allocations: 19.98 kB / 0.5228 GB, free: 15.69 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 3.998e-05/0.003577, allocations: 12.73 kB / 0.5228 GB, free: 15.68 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.343e-05/0.00359, allocations: 4 kB / 0.5228 GB, free: 15.68 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002857/0.003876, allocations: 225 kB / 0.5231 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 4.709e-05/0.003923, allocations: 8 kB / 0.5231 GB, free: 15.45 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 3.02e-05/0.003953, allocations: 11.94 kB / 0.5231 GB, free: 15.44 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002457/0.004199, allocations: 227.5 kB / 0.5233 GB, free: 15.21 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.044e-06/0.004201, allocations: 1.344 kB / 0.5233 GB, free: 15.21 MB / 0.4948 GB Notification: Performance of FrontEnd: time 7.41e-07/0.004202, allocations: 0 / 0.5233 GB, free: 15.21 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.196e-06/0.004205, allocations: 0 / 0.5233 GB, free: 15.21 MB / 0.4948 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.0003765/0.004582, allocations: 451.7 kB / 0.5237 GB, free: 14.73 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.211e-05/0.004614, allocations: 12.97 kB / 0.5237 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.935e-05/0.004653, allocations: 8.891 kB / 0.5237 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.842e-05/0.004732, allocations: 119.5 kB / 0.5239 GB, free: 14.57 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.063e-05/0.004742, allocations: 384 / 0.5239 GB, free: 14.57 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.324e-05/0.004755, allocations: 8.359 kB / 0.5239 GB, free: 14.56 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001473/0.004903, allocations: 112.6 kB / 0.524 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.004913, allocations: 4.125 kB / 0.524 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.817e-06/0.004922, allocations: 384 / 0.524 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.574e-06/0.004929, allocations: 3.938 kB / 0.524 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.029e-05/0.004979, allocations: 65.67 kB / 0.524 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002766/0.005256, allocations: 268.4 kB / 0.5243 GB, free: 14.06 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 7.275e-05/0.005329, allocations: 85.3 kB / 0.5244 GB, free: 13.96 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.948e-05/0.005378, allocations: 69.45 kB / 0.5244 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.341e-05/0.005392, allocations: 0.8125 kB / 0.5244 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.333e-05/0.005415, allocations: 45.27 kB / 0.5245 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=3): time 7.12e-07/0.005416, allocations: 0.5312 kB / 0.5245 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3): time 0.0002317/0.005647, allocations: 224.2 kB / 0.5247 GB, free: 13.58 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.32e-05/0.005681, allocations: 81.09 kB / 0.5248 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003345/0.006015, allocations: 179.7 kB / 0.525 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.015e-05/0.006025, allocations: 25.7 kB / 0.525 GB, free: 13.26 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.581e-05/0.006071, allocations: 139.8 kB / 0.5251 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.47e-05/0.006086, allocations: 11.88 kB / 0.5251 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.211e-05/0.006118, allocations: 28.78 kB / 0.5251 GB, free: 13.07 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 9.671e-05/0.006215, allocations: 0.4884 MB / 0.5256 GB, free: 12.57 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.4e-05/0.006279, allocations: 95.38 kB / 0.5257 GB, free: 12.47 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.673e-05/0.006335, allocations: 103.3 kB / 0.5258 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001115/0.006447, allocations: 182 kB / 0.526 GB, free: 12.16 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.006449, allocations: 3.938 kB / 0.526 GB, free: 12.15 MB / 0.4948 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001633/0.006612, allocations: 244.4 kB / 0.5262 GB, free: 11.88 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.286e-05/0.006645, allocations: 68.09 kB / 0.5263 GB, free: 11.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.968e-06/0.006649, allocations: 0 / 0.5263 GB, free: 11.8 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.408e-05/0.006663, allocations: 2.938 kB / 0.5263 GB, free: 11.8 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.557e-05/0.006719, allocations: 7.984 kB / 0.5263 GB, free: 11.8 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.038e-06/0.006723, allocations: 0 / 0.5263 GB, free: 11.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.098e-05/0.006744, allocations: 4 kB / 0.5263 GB, free: 11.79 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.007e-06/0.006753, allocations: 4 kB / 0.5263 GB, free: 11.79 MB / 0.4948 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 6.844e-05/0.006821, allocations: 186.2 kB / 0.5265 GB, free: 11.59 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.169e-05/0.006843, allocations: 19.88 kB / 0.5265 GB, free: 11.57 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.098e-05/0.006864, allocations: 10.75 kB / 0.5265 GB, free: 11.56 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.714e-06/0.006865, allocations: 0 / 0.5265 GB, free: 11.56 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.895e-06/0.006868, allocations: 0 / 0.5265 GB, free: 11.56 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.006871, allocations: 0 / 0.5265 GB, free: 11.56 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.722e-05/0.006968, allocations: 124.6 kB / 0.5266 GB, free: 11.41 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.71e-07/0.006969, allocations: 0 / 0.5266 GB, free: 11.41 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.35e-05/0.006983, allocations: 7.984 kB / 0.5266 GB, free: 11.4 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.006984, allocations: 0.5938 kB / 0.5266 GB, free: 11.4 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.715e-06/0.006992, allocations: 3.938 kB / 0.5266 GB, free: 11.39 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.006994, allocations: 5.25 kB / 0.5267 GB, free: 11.39 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.006994, allocations: 0 / 0.5267 GB, free: 11.39 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001631/0.007157, allocations: 311.5 kB / 0.5269 GB, free: 11.05 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.203e-06/0.007165, allocations: 8.609 kB / 0.527 GB, free: 11.05 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.165e-05/0.007176, allocations: 3.938 kB / 0.527 GB, free: 11.04 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.334e-05/0.00721, allocations: 4.5 kB / 0.527 GB, free: 11.04 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.375e-05/0.007263, allocations: 17.67 kB / 0.527 GB, free: 11.02 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.969e-06/0.007268, allocations: 4 kB / 0.527 GB, free: 11.02 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.052e-05/0.007309, allocations: 135.2 kB / 0.5271 GB, free: 10.89 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.007309, allocations: 0 / 0.5271 GB, free: 10.89 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002045/0.007513, allocations: 55.88 kB / 0.5272 GB, free: 10.83 MB / 0.4948 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.0001801/0.007693, allocations: 165.5 kB / 0.5273 GB, free: 10.66 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0002082/0.007902, allocations: 295.5 kB / 0.5276 GB, free: 10.32 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.332e-06/0.007903, allocations: 0 / 0.5276 GB, free: 10.32 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 6.816e-05/0.007971, allocations: 128.8 kB / 0.5277 GB, free: 10.18 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001508/0.008122, allocations: 7.922 kB / 0.5277 GB, free: 10.17 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002755/0.008397, allocations: 207.7 kB / 0.5279 GB, free: 9.934 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.454e-05/0.008432, allocations: 63.34 kB / 0.528 GB, free: 9.852 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.442e-05/0.008446, allocations: 0 / 0.528 GB, free: 9.852 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.762e-05/0.008464, allocations: 8.5 kB / 0.528 GB, free: 9.84 MB / 0.4948 GB Notification: Performance of SimCode: time 4.41e-07/0.008464, allocations: 5.031 kB / 0.528 GB, free: 9.836 MB / 0.4948 GB Notification: Performance of Templates: time 0.003054/0.01152, allocations: 1.801 MB / 0.5298 GB, free: 8.133 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.makefile [Timeout 660] (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=240 -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.477515072096139]