Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.001334/0.001334, allocations: 88.72 kB / 19.44 MB, free: 356 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.001486/0.001486, allocations: 157.7 kB / 22.75 MB, free: 1.684 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.457/1.457, allocations: 177.1 MB / 203.1 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:34:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:42:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 1.248/1.248, allocations: 154.8 MB / 414.3 MB, free: 464 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 178] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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_dev_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_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 0.5199 GB, free: 2.293 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.532e-05/2.679e-05, allocations: 8.562 kB / 0.5199 GB, free: 2.289 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.002751/0.002778, allocations: 1.44 MB / 0.5213 GB, free: 0.8555 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001505/0.004283, allocations: 0.7908 MB / 0.5221 GB, free: 64 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.741e-05/0.00431, allocations: 0 / 0.5221 GB, free: 64 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 7.282e-05/0.004383, allocations: 4.688 kB / 0.5221 GB, free: 60 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 4.683e-05/0.00443, allocations: 4 kB / 0.5221 GB, free: 56 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007034/0.005133, allocations: 185.8 kB / 0.5222 GB, free: 15.88 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0001131/0.005246, allocations: 39.95 kB / 0.5223 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 8.074e-05/0.005327, allocations: 9.281 kB / 0.5223 GB, free: 15.83 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 6.098e-05/0.005388, allocations: 23.92 kB / 0.5223 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 5.868e-05/0.005447, allocations: 19.97 kB / 0.5223 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.856e-05/0.005475, allocations: 4 kB / 0.5223 GB, free: 15.78 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004086/0.005884, allocations: 208.9 kB / 0.5225 GB, free: 15.58 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 4.812e-05/0.005932, allocations: 7.938 kB / 0.5225 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 4.625e-05/0.005978, allocations: 15.97 kB / 0.5226 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0003828/0.006361, allocations: 236.2 kB / 0.5228 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.006364, allocations: 0 / 0.5228 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.062e-06/0.006365, allocations: 5.281 kB / 0.5228 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.168e-06/0.00637, allocations: 0 / 0.5228 GB, free: 15.32 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.0005869/0.006957, allocations: 353.4 kB / 0.5231 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.451e-05/0.006991, allocations: 13.38 kB / 0.5231 GB, free: 14.92 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.325e-05/0.007044, allocations: 8.891 kB / 0.5231 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000124/0.007168, allocations: 109.8 kB / 0.5233 GB, free: 14.78 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.268e-05/0.007181, allocations: 384 / 0.5233 GB, free: 14.78 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.365e-05/0.007195, allocations: 5.156 kB / 0.5233 GB, free: 14.78 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002376/0.007432, allocations: 115.8 kB / 0.5234 GB, free: 14.65 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.121e-05/0.007443, allocations: 6.031 kB / 0.5234 GB, free: 14.65 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.024e-05/0.007454, allocations: 384 / 0.5234 GB, free: 14.65 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.536e-06/0.007462, allocations: 3.938 kB / 0.5234 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001547/0.007617, allocations: 77.66 kB / 0.5235 GB, free: 14.56 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003918/0.008009, allocations: 218.6 kB / 0.5237 GB, free: 14.32 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001605/0.008169, allocations: 88.25 kB / 0.5237 GB, free: 14.22 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001212/0.00829, allocations: 74.61 kB / 0.5238 GB, free: 14.14 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.659e-05/0.008307, allocations: 7.938 kB / 0.5238 GB, free: 14.13 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.38e-05/0.008351, allocations: 35.97 kB / 0.5239 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=3): time 9.42e-07/0.008352, allocations: 0 / 0.5239 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3): time 0.0004978/0.00885, allocations: 246.7 kB / 0.5241 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.138e-05/0.008921, allocations: 78.08 kB / 0.5242 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001324/0.009053, allocations: 125.8 kB / 0.5243 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.388e-05/0.009077, allocations: 30.77 kB / 0.5243 GB, free: 13.56 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 6.632e-05/0.009144, allocations: 84.12 kB / 0.5244 GB, free: 13.47 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.193e-05/0.009165, allocations: 15.94 kB / 0.5244 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.311e-05/0.009219, allocations: 22.53 kB / 0.5244 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.000178/0.009397, allocations: 314.8 kB / 0.5247 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001616/0.009558, allocations: 115.9 kB / 0.5248 GB, free: 12.99 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001538/0.009712, allocations: 120.1 kB / 0.525 GB, free: 12.86 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002776/0.00999, allocations: 199.1 kB / 0.5251 GB, free: 12.64 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.009992, allocations: 0 / 0.5251 GB, free: 12.64 MB / 0.4948 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004174/0.01041, allocations: 280.4 kB / 0.5254 GB, free: 12.34 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 7.337e-05/0.01048, allocations: 71.83 kB / 0.5255 GB, free: 12.26 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.01049, allocations: 5.781 kB / 0.5255 GB, free: 12.25 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.652e-05/0.0105, allocations: 0 / 0.5255 GB, free: 12.25 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.645e-05/0.01056, allocations: 0 / 0.5255 GB, free: 12.25 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.579e-06/0.01056, allocations: 4 kB / 0.5255 GB, free: 12.25 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.304e-05/0.01062, allocations: 11.98 kB / 0.5255 GB, free: 12.24 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.26e-05/0.01063, allocations: 5.719 kB / 0.5255 GB, free: 12.23 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 0.0001382/0.01077, allocations: 151.5 kB / 0.5257 GB, free: 12.07 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.008e-05/0.01081, allocations: 19.83 kB / 0.5257 GB, free: 12.05 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2e-05/0.01083, allocations: 6.438 kB / 0.5257 GB, free: 12.05 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.01083, allocations: 0 / 0.5257 GB, free: 12.05 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.606e-06/0.01083, allocations: 0 / 0.5257 GB, free: 12.05 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.01084, allocations: 0 / 0.5257 GB, free: 12.05 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001661/0.011, allocations: 117.3 kB / 0.5258 GB, free: 11.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.011, allocations: 0 / 0.5258 GB, free: 11.9 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.111e-05/0.01103, allocations: 3.984 kB / 0.5258 GB, free: 11.9 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.01104, allocations: 6.688 kB / 0.5258 GB, free: 11.89 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.343e-05/0.01105, allocations: 3.938 kB / 0.5258 GB, free: 11.89 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.01105, allocations: 0 / 0.5258 GB, free: 11.89 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.01105, allocations: 0 / 0.5258 GB, free: 11.89 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003828/0.01143, allocations: 282.8 kB / 0.5261 GB, free: 11.59 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.043e-06/0.01144, allocations: 240 / 0.5261 GB, free: 11.59 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.208e-05/0.01146, allocations: 11.88 kB / 0.5261 GB, free: 11.57 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.55e-05/0.01154, allocations: 4.844 kB / 0.5261 GB, free: 11.57 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001203/0.01166, allocations: 7.969 kB / 0.5261 GB, free: 11.56 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.107e-06/0.01167, allocations: 5.125 kB / 0.5261 GB, free: 11.56 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 7.863e-05/0.01175, allocations: 99.27 kB / 0.5262 GB, free: 11.46 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.01175, allocations: 0 / 0.5262 GB, free: 11.46 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0003401/0.01209, allocations: 54.81 kB / 0.5263 GB, free: 11.41 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.0003255/0.01241, allocations: 163.1 kB / 0.5264 GB, free: 11.24 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.000446/0.01286, allocations: 319.8 kB / 0.5267 GB, free: 10.88 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.01286, allocations: 0 / 0.5267 GB, free: 10.88 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001656/0.01303, allocations: 135.8 kB / 0.5268 GB, free: 10.73 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002299/0.01326, allocations: 0.5625 kB / 0.5268 GB, free: 10.73 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006589/0.01391, allocations: 224.4 kB / 0.5271 GB, free: 10.48 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.555e-05/0.014, allocations: 71.33 kB / 0.5271 GB, free: 10.39 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.703e-05/0.01402, allocations: 3.938 kB / 0.5271 GB, free: 10.39 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.412e-05/0.01404, allocations: 9.281 kB / 0.5271 GB, free: 10.38 MB / 0.4948 GB Notification: Performance of SimCode: time 5.91e-07/0.01404, allocations: 0 / 0.5271 GB, free: 10.38 MB / 0.4948 GB Notification: Performance of Templates: time 0.005461/0.0195, allocations: 1.785 MB / 0.5289 GB, free: 8.699 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.sim & ./IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.6993910419987515]