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.001453/0.001453, allocations: 80.73 kB / 19.43 MB, free: 360 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.001693/0.001693, 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.553/1.553, allocations: 177.2 MB / 203.1 MB, free: 5.289 MB / 186.7 MB " [Timeout remaining time 178] 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 1.245/1.245, allocations: 154.6 MB / 414.1 MB, free: 0.5625 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 178] 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.533e-06/1.533e-06, allocations: 0 / 0.5196 GB, free: 2.523 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.66e-05/2.813e-05, allocations: 4.5 kB / 0.5197 GB, free: 2.52 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline): time 0.003317/0.003345, allocations: 1.444 MB / 0.5211 GB, free: 1.086 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001716/0.005061, allocations: 0.7917 MB / 0.5218 GB, free: 296 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.392e-05/0.005095, allocations: 0 / 0.5218 GB, free: 296 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 8.01e-05/0.005175, allocations: 5.438 kB / 0.5218 GB, free: 292 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 4.636e-05/0.005221, allocations: 3.938 kB / 0.5218 GB, free: 288 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008437/0.006065, allocations: 181.2 kB / 0.522 GB, free: 108 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001228/0.006188, allocations: 43.91 kB / 0.5221 GB, free: 64 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.141e-05/0.006269, allocations: 9.266 kB / 0.5221 GB, free: 56 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.565e-05/0.006335, allocations: 19.98 kB / 0.5221 GB, free: 36 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.66e-05/0.006391, allocations: 15.92 kB / 0.5221 GB, free: 20 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.882e-05/0.00641, allocations: 4.562 kB / 0.5221 GB, free: 16 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004937/0.006904, allocations: 215.6 kB / 0.5223 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 4.99e-05/0.006954, allocations: 9.031 kB / 0.5223 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 4.818e-05/0.007002, allocations: 11.94 kB / 0.5223 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0004372/0.007439, allocations: 239.9 kB / 0.5226 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.007444, allocations: 0 / 0.5226 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.112e-06/0.007445, allocations: 4.562 kB / 0.5226 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.947e-06/0.007449, allocations: 0 / 0.5226 GB, free: 15.55 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.0006505/0.008099, allocations: 351.5 kB / 0.5229 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.649e-05/0.008146, allocations: 12.03 kB / 0.5229 GB, free: 15.15 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.398e-05/0.00821, allocations: 16.86 kB / 0.5229 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003721/0.008582, allocations: 117.7 kB / 0.523 GB, free: 15 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.435e-05/0.008596, allocations: 384 / 0.523 GB, free: 15 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.551e-05/0.008612, allocations: 5.688 kB / 0.523 GB, free: 14.99 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000257/0.008869, allocations: 103.9 kB / 0.5231 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.977e-06/0.008878, allocations: 192 / 0.5231 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.472e-05/0.008892, allocations: 5.844 kB / 0.5231 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.632e-06/0.008899, allocations: 7.938 kB / 0.5232 GB, free: 14.87 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001563/0.009055, allocations: 69.67 kB / 0.5232 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004344/0.00949, allocations: 221.6 kB / 0.5234 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001849/0.009675, allocations: 92.19 kB / 0.5235 GB, free: 14.44 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001258/0.0098, allocations: 71.58 kB / 0.5236 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.772e-05/0.009818, allocations: 0 / 0.5236 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.559e-05/0.009864, allocations: 40 kB / 0.5236 GB, free: 14.32 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=3): time 9.31e-07/0.009865, allocations: 0 / 0.5236 GB, free: 14.32 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3): time 0.0005396/0.0104, allocations: 246.7 kB / 0.5239 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.154e-05/0.01048, allocations: 81.61 kB / 0.5239 GB, free: 13.95 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001574/0.01063, allocations: 126.2 kB / 0.5241 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.378e-05/0.01066, allocations: 25.7 kB / 0.5241 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 7.549e-05/0.01073, allocations: 88.14 kB / 0.5242 GB, free: 13.7 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.728e-05/0.01075, allocations: 5.047 kB / 0.5242 GB, free: 13.7 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.638e-05/0.01081, allocations: 33.58 kB / 0.5242 GB, free: 13.66 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001855/0.01099, allocations: 314.8 kB / 0.5245 GB, free: 13.34 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001805/0.01117, allocations: 120 kB / 0.5246 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001643/0.01134, allocations: 120.8 kB / 0.5247 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003026/0.01164, allocations: 189.9 kB / 0.5249 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.01164, allocations: 0 / 0.5249 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004259/0.01207, allocations: 290.2 kB / 0.5252 GB, free: 12.57 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 8.096e-05/0.01215, allocations: 67.34 kB / 0.5253 GB, free: 12.49 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.01216, allocations: 0 / 0.5253 GB, free: 12.49 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.51e-05/0.01218, allocations: 3.984 kB / 0.5253 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.972e-05/0.01225, allocations: 5.031 kB / 0.5253 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.922e-06/0.01226, allocations: 3.938 kB / 0.5253 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.812e-05/0.01231, allocations: 12.88 kB / 0.5253 GB, free: 12.46 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.175e-05/0.01233, allocations: 0 / 0.5253 GB, free: 12.46 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.0001661/0.01249, allocations: 150.8 kB / 0.5254 GB, free: 12.3 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.41e-05/0.01254, allocations: 11.89 kB / 0.5254 GB, free: 12.29 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.546e-05/0.01256, allocations: 8 kB / 0.5254 GB, free: 12.29 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.989e-06/0.01257, allocations: 3.984 kB / 0.5255 GB, free: 12.28 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.01257, allocations: 0 / 0.5255 GB, free: 12.28 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.726e-06/0.01257, allocations: 0 / 0.5255 GB, free: 12.28 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001808/0.01275, allocations: 113.3 kB / 0.5256 GB, free: 12.14 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.01276, allocations: 0 / 0.5256 GB, free: 12.14 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.199e-05/0.01279, allocations: 4 kB / 0.5256 GB, free: 12.14 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.173e-06/0.0128, allocations: 7.016 kB / 0.5256 GB, free: 12.13 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.458e-05/0.01281, allocations: 7.938 kB / 0.5256 GB, free: 12.12 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.01281, allocations: 0 / 0.5256 GB, free: 12.12 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.01281, allocations: 0 / 0.5256 GB, free: 12.12 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004121/0.01322, allocations: 283 kB / 0.5258 GB, free: 11.82 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 8.777e-06/0.01323, allocations: 4 kB / 0.5259 GB, free: 11.82 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.746e-05/0.01326, allocations: 7.922 kB / 0.5259 GB, free: 11.81 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.044e-05/0.01335, allocations: 5.531 kB / 0.5259 GB, free: 11.8 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001614/0.01351, allocations: 8 kB / 0.5259 GB, free: 11.8 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.448e-06/0.01352, allocations: 4 kB / 0.5259 GB, free: 11.79 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 9.221e-05/0.01361, allocations: 99.19 kB / 0.526 GB, free: 11.7 MB / 0.4948 GB Notification: Performance of sort global known variables: time 9e-08/0.01361, allocations: 1.281 kB / 0.526 GB, free: 11.7 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.000399/0.01401, allocations: 59.88 kB / 0.526 GB, free: 11.64 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.0004045/0.01442, allocations: 163.8 kB / 0.5262 GB, free: 11.46 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0005046/0.01492, allocations: 320.5 kB / 0.5265 GB, free: 11.11 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.01492, allocations: 0.5 kB / 0.5265 GB, free: 11.11 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.000185/0.01511, allocations: 131.5 kB / 0.5266 GB, free: 10.96 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002504/0.01536, allocations: 8 kB / 0.5266 GB, free: 10.96 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005452/0.01591, allocations: 218.1 kB / 0.5268 GB, free: 10.71 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.992e-05/0.016, allocations: 63.34 kB / 0.5269 GB, free: 10.63 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.418e-05/0.01602, allocations: 6.438 kB / 0.5269 GB, free: 10.62 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.856e-05/0.01605, allocations: 8.5 kB / 0.5269 GB, free: 10.61 MB / 0.4948 GB Notification: Performance of SimCode: time 5.01e-07/0.01605, allocations: 0 / 0.5269 GB, free: 10.61 MB / 0.4948 GB Notification: Performance of Templates: time 0.005648/0.0217, allocations: 1.782 MB / 0.5286 GB, free: 8.926 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=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.871338914032094]