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.001234/0.001234, allocations: 80.44 kB / 19.18 MB, free: 2.516 MB / 14.72 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.001351/0.001351, allocations: 164.2 kB / 22.45 MB, free: 5.371 MB / 14.72 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.398/1.398, allocations: 177.2 MB / 202.8 MB, free: 9.152 MB / 190.1 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-531:686: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-531:694: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.167/1.167, allocations: 154.7 MB / 413.9 MB, free: 5.145 MB / 382.1 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.304e-06/2.304e-06, allocations: 3.938 kB / 0.6188 GB, free: 4.512 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.612e-05/2.842e-05, allocations: 7.5 kB / 0.6188 GB, free: 4.508 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Ramp): time 0.001544/0.001573, allocations: 0.5886 MB / 0.6194 GB, free: 3.926 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0009969/0.00257, allocations: 0.809 MB / 0.6202 GB, free: 3.105 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.363e-05/0.002603, allocations: 4 kB / 0.6202 GB, free: 3.102 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.96e-05/0.002623, allocations: 1.438 kB / 0.6202 GB, free: 3.102 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 5.601e-05/0.002679, allocations: 3.984 kB / 0.6202 GB, free: 3.098 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 4.142e-05/0.00272, allocations: 4 kB / 0.6202 GB, free: 3.094 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 7.028e-05/0.002791, allocations: 23.92 kB / 0.6202 GB, free: 3.07 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.083e-05/0.002832, allocations: 1.375 kB / 0.6202 GB, free: 3.07 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 7.054e-05/0.002902, allocations: 8 kB / 0.6202 GB, free: 3.062 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 3.288e-05/0.002935, allocations: 11.98 kB / 0.6202 GB, free: 3.051 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.426e-05/0.002949, allocations: 1.156 kB / 0.6202 GB, free: 3.051 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 4.709e-06/0.002954, allocations: 0 / 0.6202 GB, free: 3.051 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.388e-05/0.002968, allocations: 3.984 kB / 0.6202 GB, free: 3.047 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 1.745e-05/0.002985, allocations: 9.312 kB / 0.6202 GB, free: 3.039 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 6.57e-05/0.003051, allocations: 23.91 kB / 0.6202 GB, free: 3.016 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 1.723e-06/0.003053, allocations: 0 / 0.6202 GB, free: 3.016 MB / 0.5294 GB Notification: Performance of FrontEnd: time 6.21e-07/0.003053, allocations: 0 / 0.6202 GB, free: 3.016 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 3.918e-06/0.003057, allocations: 4 kB / 0.6203 GB, free: 3.012 MB / 0.5294 GB 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.0004084/0.003466, allocations: 254.3 kB / 0.6205 GB, free: 2.73 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.31e-05/0.003499, allocations: 8.031 kB / 0.6205 GB, free: 2.723 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.405e-05/0.003523, allocations: 4.938 kB / 0.6205 GB, free: 2.719 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000114/0.003637, allocations: 109.8 kB / 0.6206 GB, free: 2.586 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.227e-05/0.003649, allocations: 384 / 0.6206 GB, free: 2.586 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.733e-05/0.003666, allocations: 8.375 kB / 0.6206 GB, free: 2.578 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001573/0.003824, allocations: 42.23 kB / 0.6207 GB, free: 2.531 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.458e-06/0.003833, allocations: 192 / 0.6207 GB, free: 2.531 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.917e-06/0.003842, allocations: 4.375 kB / 0.6207 GB, free: 2.527 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.003846, allocations: 384 / 0.6207 GB, free: 2.527 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001412/0.003988, allocations: 31.91 kB / 0.6207 GB, free: 2.496 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001433/0.004131, allocations: 105.3 kB / 0.6208 GB, free: 2.363 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001201/0.004251, allocations: 30.53 kB / 0.6208 GB, free: 2.324 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.775e-05/0.004339, allocations: 24.91 kB / 0.6208 GB, free: 2.297 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.238e-05/0.004351, allocations: 0 / 0.6208 GB, free: 2.297 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.291e-05/0.004374, allocations: 34.56 kB / 0.6209 GB, free: 2.254 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=1): time 7.11e-07/0.004375, allocations: 0 / 0.6209 GB, free: 2.254 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1): time 0.0003252/0.0047, allocations: 77.58 kB / 0.621 GB, free: 2.172 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.918e-05/0.004739, allocations: 51.41 kB / 0.621 GB, free: 2.109 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.558e-05/0.004825, allocations: 105.8 kB / 0.6211 GB, free: 1.996 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.761e-05/0.004842, allocations: 29.64 kB / 0.6211 GB, free: 1.961 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.314e-05/0.004885, allocations: 88.08 kB / 0.6212 GB, free: 1.871 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.902e-05/0.004904, allocations: 4.125 kB / 0.6212 GB, free: 1.867 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.05e-05/0.004935, allocations: 9.719 kB / 0.6212 GB, free: 1.852 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001299/0.005065, allocations: 318.8 kB / 0.6215 GB, free: 1.531 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.579e-05/0.005141, allocations: 11.98 kB / 0.6215 GB, free: 1.52 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.887e-05/0.005209, allocations: 15.97 kB / 0.6216 GB, free: 1.504 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001404/0.00535, allocations: 32.83 kB / 0.6216 GB, free: 1.469 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.005351, allocations: 0 / 0.6216 GB, free: 1.469 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.000182/0.005533, allocations: 73.61 kB / 0.6217 GB, free: 1.391 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.243e-05/0.005546, allocations: 4 kB / 0.6217 GB, free: 1.387 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-06/0.005549, allocations: 0 / 0.6217 GB, free: 1.387 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.421e-05/0.005564, allocations: 4 kB / 0.6217 GB, free: 1.383 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.42e-05/0.005638, allocations: 4 kB / 0.6217 GB, free: 1.379 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.957e-06/0.005642, allocations: 0 / 0.6217 GB, free: 1.379 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.797e-05/0.00569, allocations: 11.92 kB / 0.6217 GB, free: 1.367 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.198e-06/0.005694, allocations: 32 / 0.6217 GB, free: 1.367 MB / 0.5294 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 7.015e-05/0.005764, allocations: 111.7 kB / 0.6218 GB, free: 1.25 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.073e-05/0.005775, allocations: 8 kB / 0.6218 GB, free: 1.242 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.608e-05/0.005791, allocations: 3.156 kB / 0.6218 GB, free: 1.238 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.713e-06/0.005798, allocations: 3.984 kB / 0.6218 GB, free: 1.234 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.005801, allocations: 0 / 0.6218 GB, free: 1.234 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.11e-06/0.005806, allocations: 3.938 kB / 0.6218 GB, free: 1.23 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.576e-05/0.005882, allocations: 97.33 kB / 0.6219 GB, free: 1.105 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.92e-07/0.005882, allocations: 0 / 0.6219 GB, free: 1.105 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.099e-05/0.005933, allocations: 7.984 kB / 0.6219 GB, free: 1.098 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.005935, allocations: 4 kB / 0.6219 GB, free: 1.094 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.113e-06/0.005942, allocations: 4 kB / 0.6219 GB, free: 1.09 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.005943, allocations: 0 / 0.6219 GB, free: 1.09 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.005944, allocations: 0 / 0.6219 GB, free: 1.09 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001985/0.006142, allocations: 88.97 kB / 0.622 GB, free: 0.9844 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 7.334e-06/0.00615, allocations: 4.188 kB / 0.622 GB, free: 0.9805 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.368e-05/0.006163, allocations: 8 kB / 0.622 GB, free: 0.9727 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.282e-05/0.006206, allocations: 11.97 kB / 0.622 GB, free: 0.9609 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.169e-05/0.006238, allocations: 4.031 kB / 0.622 GB, free: 0.957 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.014e-06/0.00624, allocations: 0 / 0.622 GB, free: 0.957 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 4.257e-05/0.006282, allocations: 83.22 kB / 0.6221 GB, free: 0.875 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.006282, allocations: 0 / 0.6221 GB, free: 0.875 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0001737/0.006456, allocations: 7.938 kB / 0.6221 GB, free: 0.8672 MB / 0.5294 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 9.759e-05/0.006554, allocations: 95.23 kB / 0.6222 GB, free: 0.7617 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0001871/0.006741, allocations: 27.97 kB / 0.6222 GB, free: 0.7344 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.006742, allocations: 4.062 kB / 0.6222 GB, free: 0.7305 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 8.921e-05/0.006832, allocations: 23.92 kB / 0.6223 GB, free: 0.707 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001885/0.00702, allocations: 10.11 kB / 0.6223 GB, free: 0.6992 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002281/0.007248, allocations: 92.84 kB / 0.6224 GB, free: 0.582 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.088e-05/0.007299, allocations: 59.34 kB / 0.6224 GB, free: 0.5039 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 2.274e-05/0.007322, allocations: 4 kB / 0.6224 GB, free: 0.5 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.204e-05/0.007344, allocations: 8.5 kB / 0.6224 GB, free: 0.4922 MB / 0.5294 GB Notification: Performance of SimCode: time 3.11e-07/0.007344, allocations: 64 / 0.6224 GB, free: 0.4922 MB / 0.5294 GB Notification: Performance of Templates: time 0.002586/0.009931, allocations: 452.6 kB / 0.6229 GB, free: 68 kB / 0.5294 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=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.570532763376832] Failed to read output from testmodel.py, exit status != 0: 0.01750502735376358 0.031164724 0.025304933 Calling exit ...