Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.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.002382/0.002382, allocations: 85.48 kB / 19.44 MB, free: 344 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.002985/0.002985, allocations: 173.2 kB / 22.76 MB, free: 1.664 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.57/1.57, allocations: 177.1 MB / 203.1 MB, free: 5.605 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.354/1.354, allocations: 154.6 MB / 414.1 MB, free: 0.6445 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.Controls.OBC.CDL.Reals.Sources.Validation.Ramp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Ramp") translateModel(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Ramp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Ramp") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.234e-06/2.234e-06, allocations: 0 / 0.5197 GB, free: 2.484 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.592e-05/2.815e-05, allocations: 4.281 kB / 0.5197 GB, free: 2.48 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Ramp): time 0.001823/0.001851, allocations: 0.5863 MB / 0.5202 GB, free: 1.91 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001127/0.002979, allocations: 0.8136 MB / 0.521 GB, free: 1.086 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.788e-05/0.003006, allocations: 4.969 kB / 0.521 GB, free: 1.082 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.158e-05/0.003028, allocations: 3.938 kB / 0.521 GB, free: 1.078 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 7.455e-05/0.003103, allocations: 5.297 kB / 0.521 GB, free: 1.074 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.941e-05/0.003142, allocations: 1.969 kB / 0.521 GB, free: 1.074 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 7.037e-05/0.003212, allocations: 23.92 kB / 0.5211 GB, free: 1.051 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.801e-05/0.00325, allocations: 0 / 0.5211 GB, free: 1.051 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.124e-05/0.003332, allocations: 15.92 kB / 0.5211 GB, free: 1.035 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.975e-05/0.003361, allocations: 4.562 kB / 0.5211 GB, free: 1.031 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.432e-05/0.003376, allocations: 0 / 0.5211 GB, free: 1.031 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.46e-06/0.003381, allocations: 0.5 kB / 0.5211 GB, free: 1.031 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.523e-05/0.003396, allocations: 5.031 kB / 0.5211 GB, free: 1.027 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.573e-05/0.003422, allocations: 7.984 kB / 0.5211 GB, free: 1.02 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 6.881e-05/0.003491, allocations: 11.98 kB / 0.5211 GB, free: 1.008 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.265e-06/0.003493, allocations: 1.094 kB / 0.5211 GB, free: 1.008 MB / 490.7 MB Notification: Performance of FrontEnd: time 7.22e-07/0.003494, allocations: 0 / 0.5211 GB, free: 1.008 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.557e-06/0.003497, allocations: 0 / 0.5211 GB, free: 1.008 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0004669/0.003964, allocations: 360.9 kB / 0.5215 GB, free: 0.6172 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.562e-05/0.00401, allocations: 9.406 kB / 0.5215 GB, free: 0.6094 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.91e-05/0.004049, allocations: 4.891 kB / 0.5215 GB, free: 0.6055 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001218/0.004171, allocations: 112.6 kB / 0.5216 GB, free: 480 kB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.223e-05/0.004183, allocations: 384 / 0.5216 GB, free: 480 kB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.624e-06/0.004191, allocations: 0.9375 kB / 0.5216 GB, free: 480 kB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001338/0.004325, allocations: 42.88 kB / 0.5216 GB, free: 432 kB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.736e-06/0.004333, allocations: 1.469 kB / 0.5216 GB, free: 432 kB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.843e-06/0.00434, allocations: 384 / 0.5216 GB, free: 432 kB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.389e-06/0.004345, allocations: 384 / 0.5216 GB, free: 432 kB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.459e-05/0.004439, allocations: 20.77 kB / 0.5216 GB, free: 412 kB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001603/0.004599, allocations: 112.7 kB / 0.5218 GB, free: 264 kB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002243/0.004824, allocations: 40.14 kB / 0.5218 GB, free: 212 kB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.982e-05/0.004884, allocations: 15.75 kB / 0.5218 GB, free: 192 kB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.306e-05/0.004897, allocations: 0.75 kB / 0.5218 GB, free: 192 kB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.706e-05/0.004944, allocations: 41.38 kB / 0.5218 GB, free: 140 kB / 490.7 MB Notification: Performance of pre-optimization done (n=1): time 8.21e-07/0.004945, allocations: 0.6875 kB / 0.5218 GB, free: 140 kB / 490.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002607/0.005205, allocations: 50.47 kB / 0.5219 GB, free: 84 kB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.285e-05/0.005258, allocations: 56.34 kB / 0.5219 GB, free: 16 kB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001816/0.00544, allocations: 165.9 kB / 0.5221 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.204e-05/0.005462, allocations: 25.7 kB / 0.5221 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 8.802e-05/0.00555, allocations: 137.5 kB / 0.5223 GB, free: 15.67 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.902e-05/0.005579, allocations: 7.953 kB / 0.5223 GB, free: 15.66 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.725e-05/0.005626, allocations: 15.38 kB / 0.5223 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0003055/0.005931, allocations: 0.4884 MB / 0.5228 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.582e-05/0.005987, allocations: 7.984 kB / 0.5228 GB, free: 15.13 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.947e-05/0.006027, allocations: 4 kB / 0.5228 GB, free: 15.12 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001069/0.006134, allocations: 29.02 kB / 0.5228 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.893e-06/0.006141, allocations: 4 kB / 0.5228 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001492/0.00629, allocations: 55.27 kB / 0.5229 GB, free: 15.03 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/0.006306, allocations: 4 kB / 0.5229 GB, free: 15.03 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.578e-06/0.00631, allocations: 0 / 0.5229 GB, free: 15.03 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.578e-05/0.006326, allocations: 5.219 kB / 0.5229 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.965e-05/0.006406, allocations: 3.938 kB / 0.5229 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.317e-06/0.006415, allocations: 4 kB / 0.5229 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.18e-05/0.006447, allocations: 5.406 kB / 0.5229 GB, free: 15.01 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.087e-05/0.006458, allocations: 7.922 kB / 0.5229 GB, free: 15 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * 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.0001189/0.006577, allocations: 156.6 kB / 0.523 GB, free: 14.84 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.22e-05/0.006589, allocations: 4.734 kB / 0.523 GB, free: 14.84 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.01e-05/0.006609, allocations: 3.156 kB / 0.523 GB, free: 14.84 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-06/0.00661, allocations: 1 kB / 0.523 GB, free: 14.84 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/0.006617, allocations: 4 kB / 0.523 GB, free: 14.83 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.006623, allocations: 6.688 kB / 0.5231 GB, free: 14.83 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001205/0.006743, allocations: 120.6 kB / 0.5232 GB, free: 14.68 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.006744, allocations: 0 / 0.5232 GB, free: 14.68 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.437e-05/0.006789, allocations: 0 / 0.5232 GB, free: 14.68 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.006791, allocations: 4 kB / 0.5232 GB, free: 14.67 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.532e-06/0.006797, allocations: 0 / 0.5232 GB, free: 14.67 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.006798, allocations: 0 / 0.5232 GB, free: 14.67 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.006799, allocations: 0 / 0.5232 GB, free: 14.67 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001791/0.006978, allocations: 94.95 kB / 0.5233 GB, free: 14.56 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.255e-05/0.006991, allocations: 7.891 kB / 0.5233 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.317e-05/0.007004, allocations: 4 kB / 0.5233 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.564e-05/0.00703, allocations: 0 / 0.5233 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.151e-05/0.007071, allocations: 4 kB / 0.5233 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.473e-06/0.007078, allocations: 4 kB / 0.5233 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 7.655e-05/0.007154, allocations: 128.4 kB / 0.5234 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.007154, allocations: 0 / 0.5234 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001675/0.007322, allocations: 3.938 kB / 0.5234 GB, free: 14.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * 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.0001309/0.007453, allocations: 99.34 kB / 0.5235 GB, free: 14.31 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001641/0.007617, allocations: 27.67 kB / 0.5235 GB, free: 14.28 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.007618, allocations: 0 / 0.5235 GB, free: 14.28 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 7.501e-05/0.007693, allocations: 23.67 kB / 0.5236 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001774/0.007871, allocations: 4 kB / 0.5236 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003061/0.008177, allocations: 108.9 kB / 0.5237 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.824e-05/0.008235, allocations: 55.36 kB / 0.5237 GB, free: 14.04 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.133e-05/0.008256, allocations: 4 kB / 0.5237 GB, free: 14.04 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.952e-05/0.008286, allocations: 8.5 kB / 0.5237 GB, free: 14.03 MB / 0.4948 GB Notification: Performance of SimCode: time 6.21e-07/0.008287, allocations: 0 / 0.5237 GB, free: 14.03 MB / 0.4948 GB Notification: Performance of Templates: time 0.003172/0.01146, allocations: 471.8 kB / 0.5242 GB, free: 13.59 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Ramp -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.167459220974706]