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.001344/0.001344, allocations: 92.2 kB / 20.19 MB, free: 4.363 MB / 18.57 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.00104/0.00104, allocations: 177 kB / 23.49 MB, free: 1.059 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 1.01/1.01, allocations: 177.1 MB / 203.8 MB, free: 5.293 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.7542/0.7542, allocations: 154.6 MB / 414.9 MB, free: 0.6172 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.523e-06/1.523e-06, allocations: 0 / 0.5204 GB, free: 2.5 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.517e-05/2.669e-05, allocations: 4.406 kB / 0.5204 GB, free: 2.496 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.001953/0.00198, allocations: 1.469 MB / 0.5218 GB, free: 1.035 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.000985/0.002965, allocations: 0.8144 MB / 0.5226 GB, free: 224 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.343e-05/0.002998, allocations: 0 / 0.5226 GB, free: 224 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 6.629e-05/0.003064, allocations: 3.938 kB / 0.5226 GB, free: 220 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 4.405e-05/0.003108, allocations: 0 / 0.5226 GB, free: 220 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005603/0.003669, allocations: 181.6 kB / 0.5228 GB, free: 40 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001145/0.003783, allocations: 47.95 kB / 0.5228 GB, free: 15.99 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 7.837e-05/0.003861, allocations: 5.344 kB / 0.5228 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 5.19e-05/0.003913, allocations: 27.86 kB / 0.5228 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 5.112e-05/0.003965, allocations: 15.97 kB / 0.5229 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.608e-05/0.003981, allocations: 5.781 kB / 0.5229 GB, free: 15.94 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002541/0.004235, allocations: 215.6 kB / 0.5231 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 4.143e-05/0.004276, allocations: 11.94 kB / 0.5231 GB, free: 15.72 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 2.976e-05/0.004306, allocations: 11.98 kB / 0.5231 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002365/0.004542, allocations: 211.5 kB / 0.5233 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.277e-06/0.004546, allocations: 6.188 kB / 0.5233 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.112e-06/0.004547, allocations: 0 / 0.5233 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.988e-06/0.004551, allocations: 0 / 0.5233 GB, free: 15.5 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.0003902/0.004941, allocations: 451.7 kB / 0.5237 GB, free: 15.01 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.557e-05/0.004977, allocations: 12.03 kB / 0.5237 GB, free: 15 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.376e-05/0.00502, allocations: 9.391 kB / 0.5238 GB, free: 14.99 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.137e-05/0.005112, allocations: 128.4 kB / 0.5239 GB, free: 14.84 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.065e-05/0.005122, allocations: 0.9375 kB / 0.5239 GB, free: 14.84 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.131e-05/0.005134, allocations: 5.375 kB / 0.5239 GB, free: 14.83 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001547/0.005288, allocations: 112.6 kB / 0.524 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.285e-06/0.005297, allocations: 192 / 0.524 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.192e-05/0.005309, allocations: 0.9688 kB / 0.524 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.975e-06/0.005317, allocations: 13.14 kB / 0.524 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.193e-05/0.005368, allocations: 61.69 kB / 0.5241 GB, free: 14.63 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000288/0.005656, allocations: 275.8 kB / 0.5243 GB, free: 14.32 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 7.363e-05/0.00573, allocations: 81.69 kB / 0.5244 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.033e-05/0.00578, allocations: 73.44 kB / 0.5245 GB, free: 14.14 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.002e-05/0.00579, allocations: 0 / 0.5245 GB, free: 14.14 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.134e-05/0.005812, allocations: 38.86 kB / 0.5245 GB, free: 14.1 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=3): time 6.31e-07/0.005812, allocations: 0 / 0.5245 GB, free: 14.1 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3): time 0.0002433/0.006056, allocations: 226.6 kB / 0.5247 GB, free: 13.85 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.849e-05/0.006094, allocations: 81.11 kB / 0.5248 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.454e-05/0.006189, allocations: 185.2 kB / 0.525 GB, free: 13.56 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.063e-05/0.006199, allocations: 25.7 kB / 0.525 GB, free: 13.53 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.762e-05/0.006247, allocations: 135.6 kB / 0.5251 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.496e-05/0.006262, allocations: 7.891 kB / 0.5251 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.617e-05/0.006298, allocations: 28.66 kB / 0.5252 GB, free: 13.35 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001148/0.006413, allocations: 0.4923 MB / 0.5256 GB, free: 12.84 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.761e-05/0.006481, allocations: 95.38 kB / 0.5257 GB, free: 12.74 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.934e-05/0.00654, allocations: 103.4 kB / 0.5258 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001175/0.006657, allocations: 173.4 kB / 0.526 GB, free: 12.43 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.006659, allocations: 0.9688 kB / 0.526 GB, free: 12.43 MB / 0.4948 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001625/0.006822, allocations: 248.3 kB / 0.5262 GB, free: 12.16 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.294e-05/0.006855, allocations: 67.33 kB / 0.5263 GB, free: 12.08 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.727e-06/0.006858, allocations: 0.5625 kB / 0.5263 GB, free: 12.08 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.028e-05/0.006869, allocations: 3.25 kB / 0.5263 GB, free: 12.08 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.9e-05/0.006918, allocations: 4 kB / 0.5263 GB, free: 12.08 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.048e-06/0.006922, allocations: 0 / 0.5263 GB, free: 12.08 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.17e-05/0.006943, allocations: 8 kB / 0.5263 GB, free: 12.07 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.338e-06/0.006953, allocations: 4 kB / 0.5263 GB, free: 12.07 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.984e-05/0.007023, allocations: 186.3 kB / 0.5265 GB, free: 11.87 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.814e-05/0.007041, allocations: 11.89 kB / 0.5265 GB, free: 11.86 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.67e-05/0.007057, allocations: 8 kB / 0.5265 GB, free: 11.85 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.232e-06/0.007059, allocations: 3.031 kB / 0.5265 GB, free: 11.85 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.866e-06/0.007062, allocations: 7.938 kB / 0.5265 GB, free: 11.84 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.007064, allocations: 0 / 0.5265 GB, free: 11.84 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.961e-05/0.007154, allocations: 124.6 kB / 0.5266 GB, free: 11.68 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.31e-07/0.007155, allocations: 0 / 0.5266 GB, free: 11.68 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.21e-05/0.007167, allocations: 4 kB / 0.5267 GB, free: 11.68 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.122e-06/0.007168, allocations: 0 / 0.5267 GB, free: 11.68 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.564e-06/0.007175, allocations: 3.938 kB / 0.5267 GB, free: 11.68 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.31e-07/0.007176, allocations: 1.5 kB / 0.5267 GB, free: 11.68 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.007177, allocations: 0 / 0.5267 GB, free: 11.68 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001736/0.00735, allocations: 323.2 kB / 0.527 GB, free: 11.33 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.322e-06/0.007357, allocations: 4 kB / 0.527 GB, free: 11.32 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.231e-05/0.007369, allocations: 4.438 kB / 0.527 GB, free: 11.32 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.557e-05/0.007404, allocations: 13.02 kB / 0.527 GB, free: 11.31 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.325e-05/0.007458, allocations: 4 kB / 0.527 GB, free: 11.3 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.098e-06/0.007462, allocations: 0 / 0.527 GB, free: 11.3 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.027e-05/0.007502, allocations: 135.7 kB / 0.5271 GB, free: 11.17 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.007502, allocations: 2.688 kB / 0.5271 GB, free: 11.17 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002087/0.007711, allocations: 63.86 kB / 0.5272 GB, free: 11.11 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.000186/0.007897, allocations: 157.3 kB / 0.5273 GB, free: 10.95 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0002079/0.008105, allocations: 299.7 kB / 0.5276 GB, free: 10.61 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.392e-06/0.008106, allocations: 0 / 0.5276 GB, free: 10.61 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 7.451e-05/0.008181, allocations: 131.2 kB / 0.5277 GB, free: 10.46 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001528/0.008333, allocations: 4.859 kB / 0.5277 GB, free: 10.45 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000272/0.008605, allocations: 203.8 kB / 0.5279 GB, free: 10.22 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.213e-05/0.008637, allocations: 59.36 kB / 0.528 GB, free: 10.14 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.641e-05/0.008654, allocations: 3.984 kB / 0.528 GB, free: 10.14 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.59e-05/0.00867, allocations: 10.06 kB / 0.528 GB, free: 10.12 MB / 0.4948 GB Notification: Performance of SimCode: time 6.71e-07/0.00867, allocations: 0 / 0.528 GB, free: 10.12 MB / 0.4948 GB Notification: Performance of Templates: time 0.003101/0.01177, allocations: 1.818 MB / 0.5298 GB, free: 8.398 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.565760364057496]