Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Line.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.001298/0.001298, allocations: 78.72 kB / 19.18 MB, free: 2.523 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.001436/0.001436, allocations: 166.9 kB / 22.46 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.44/1.44, allocations: 177.2 MB / 202.8 MB, free: 9.172 MB / 190.1 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-531:190: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-531:198: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.261/1.261, allocations: 154.6 MB / 413.7 MB, free: 5.281 MB / 382.1 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.Controls.OBC.CDL.Reals.Validation.Line,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Line") translateModel(IDEAS.Controls.OBC.CDL.Reals.Validation.Line,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Line") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.537e-06/3.537e-06, allocations: 3.938 kB / 0.6186 GB, free: 4.578 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.337e-05/3.691e-05, allocations: 4.812 kB / 0.6186 GB, free: 4.574 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Line): time 0.001907/0.001944, allocations: 0.8333 MB / 0.6194 GB, free: 3.746 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001363/0.003307, allocations: 0.9133 MB / 0.6203 GB, free: 2.82 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.697e-05/0.003394, allocations: 3.938 kB / 0.6203 GB, free: 2.816 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 4.558e-05/0.00344, allocations: 15.81 kB / 0.6203 GB, free: 2.801 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 8.172e-05/0.003521, allocations: 11.88 kB / 0.6203 GB, free: 2.789 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002111/0.003732, allocations: 59.91 kB / 0.6204 GB, free: 2.73 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.000244/0.003976, allocations: 151.6 kB / 0.6205 GB, free: 2.582 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002/0.004176, allocations: 45.59 kB / 0.6206 GB, free: 2.531 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001231/0.0043, allocations: 75.86 kB / 0.6206 GB, free: 2.457 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 7.875e-05/0.004378, allocations: 43.81 kB / 0.6207 GB, free: 2.414 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.655e-05/0.004415, allocations: 12 kB / 0.6207 GB, free: 2.402 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 2.452e-05/0.004439, allocations: 12 kB / 0.6207 GB, free: 2.391 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 4.201e-05/0.004481, allocations: 31.89 kB / 0.6207 GB, free: 2.359 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 5.447e-05/0.004536, allocations: 39.92 kB / 0.6208 GB, free: 2.32 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001954/0.004731, allocations: 143.5 kB / 0.6209 GB, free: 2.18 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 8.676e-06/0.00474, allocations: 3.984 kB / 0.6209 GB, free: 2.176 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.012e-06/0.004741, allocations: 0 / 0.6209 GB, free: 2.176 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.248e-06/0.004745, allocations: 0 / 0.6209 GB, free: 2.176 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0006694/0.005415, allocations: 373.7 kB / 0.6213 GB, free: 1.777 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.167e-05/0.005456, allocations: 13.47 kB / 0.6213 GB, free: 1.766 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.64e-05/0.005503, allocations: 16.84 kB / 0.6213 GB, free: 1.75 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002734/0.005776, allocations: 157.5 kB / 0.6215 GB, free: 1.57 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.02e-05/0.005796, allocations: 12.38 kB / 0.6215 GB, free: 1.559 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.735e-05/0.005824, allocations: 16.31 kB / 0.6215 GB, free: 1.543 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003829/0.006206, allocations: 231.2 kB / 0.6217 GB, free: 1.293 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.063e-05/0.006217, allocations: 4.188 kB / 0.6217 GB, free: 1.289 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.013e-05/0.006237, allocations: 4.375 kB / 0.6217 GB, free: 1.285 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.045e-06/0.006245, allocations: 4.375 kB / 0.6217 GB, free: 1.281 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003178/0.006563, allocations: 131.9 kB / 0.6218 GB, free: 1.152 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008015/0.007365, allocations: 384.1 kB / 0.6222 GB, free: 0.7461 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002224/0.007587, allocations: 82.48 kB / 0.6223 GB, free: 0.6562 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001251/0.007712, allocations: 40.83 kB / 0.6223 GB, free: 0.6133 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.37e-05/0.007736, allocations: 0 / 0.6223 GB, free: 0.6133 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.872e-05/0.007764, allocations: 42.56 kB / 0.6224 GB, free: 0.5625 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=10): time 8.82e-07/0.007765, allocations: 0 / 0.6224 GB, free: 0.5625 MB / 0.5294 GB Notification: Performance of matching and sorting (n=10): time 0.0004766/0.008242, allocations: 157.6 kB / 0.6225 GB, free: 412 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.348e-05/0.008285, allocations: 55.41 kB / 0.6226 GB, free: 344 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001349/0.00842, allocations: 144.1 kB / 0.6227 GB, free: 192 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.411e-05/0.008444, allocations: 29.7 kB / 0.6227 GB, free: 156 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 7.799e-05/0.008522, allocations: 119.8 kB / 0.6229 GB, free: 32 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.947e-05/0.008552, allocations: 31.7 kB / 0.6229 GB, free: 0 / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.861e-05/0.00861, allocations: 37.75 kB / 0.6229 GB, free: 15.95 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000136/0.008747, allocations: 318.8 kB / 0.6232 GB, free: 15.63 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001312/0.008878, allocations: 39.98 kB / 0.6233 GB, free: 15.59 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001268/0.009004, allocations: 43.91 kB / 0.6233 GB, free: 15.55 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002463/0.009251, allocations: 96.31 kB / 0.6234 GB, free: 15.46 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.009252, allocations: 0 / 0.6234 GB, free: 15.46 MB / 0.545 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003287/0.009581, allocations: 149.5 kB / 0.6235 GB, free: 15.3 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.561e-05/0.009597, allocations: 7.938 kB / 0.6235 GB, free: 15.3 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.009601, allocations: 0 / 0.6235 GB, free: 15.3 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.569e-05/0.009617, allocations: 0 / 0.6235 GB, free: 15.3 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001659/0.009783, allocations: 27.92 kB / 0.6236 GB, free: 15.27 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.157e-06/0.009792, allocations: 7.984 kB / 0.6236 GB, free: 15.26 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.686e-05/0.009889, allocations: 11.98 kB / 0.6236 GB, free: 15.25 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.226e-05/0.009901, allocations: 4 kB / 0.6236 GB, free: 15.25 MB / 0.545 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 (13): * Single equations (assignments): 13 * 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.0001034/0.01, allocations: 114.8 kB / 0.6237 GB, free: 15.12 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.582e-05/0.01004, allocations: 11.95 kB / 0.6237 GB, free: 15.11 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003701/0.01041, allocations: 150.2 kB / 0.6239 GB, free: 14.96 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.01041, allocations: 0 / 0.6239 GB, free: 14.96 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.424e-06/0.01042, allocations: 4 kB / 0.6239 GB, free: 14.95 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.01042, allocations: 0 / 0.6239 GB, free: 14.95 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005851/0.01101, allocations: 380.5 kB / 0.6242 GB, free: 14.54 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.01101, allocations: 4.094 kB / 0.6242 GB, free: 14.53 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001115/0.01112, allocations: 24.45 kB / 0.6242 GB, free: 14.51 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.275e-06/0.01112, allocations: 0 / 0.6242 GB, free: 14.51 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.568e-06/0.01113, allocations: 4 kB / 0.6243 GB, free: 14.5 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.01113, allocations: 0 / 0.6243 GB, free: 14.5 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/0.01114, allocations: 4 kB / 0.6243 GB, free: 14.5 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003584/0.0115, allocations: 245.8 kB / 0.6245 GB, free: 14.23 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.899e-05/0.01151, allocations: 7.953 kB / 0.6245 GB, free: 14.23 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.229e-05/0.01154, allocations: 7.984 kB / 0.6245 GB, free: 14.22 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001459/0.01168, allocations: 19.98 kB / 0.6245 GB, free: 14.2 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.642e-05/0.01173, allocations: 11.92 kB / 0.6245 GB, free: 14.19 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.875e-06/0.01174, allocations: 4 kB / 0.6245 GB, free: 14.18 MB / 0.545 GB Notification: Performance of sorting global known variables: time 8.516e-05/0.01182, allocations: 113.8 kB / 0.6246 GB, free: 14.07 MB / 0.545 GB Notification: Performance of sort global known variables: time 8.1e-08/0.01182, allocations: 0 / 0.6246 GB, free: 14.07 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000253/0.01208, allocations: 31.89 kB / 0.6247 GB, free: 14.04 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (10): * Single equations (assignments): 10 * 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.0001252/0.0122, allocations: 95.23 kB / 0.6248 GB, free: 13.94 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003058/0.01251, allocations: 95.89 kB / 0.6249 GB, free: 13.85 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.01251, allocations: 0 / 0.6249 GB, free: 13.85 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001338/0.01264, allocations: 47.91 kB / 0.6249 GB, free: 13.8 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002909/0.01293, allocations: 19.84 kB / 0.6249 GB, free: 13.78 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005013/0.01343, allocations: 248.9 kB / 0.6252 GB, free: 13.5 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001005/0.01354, allocations: 98.47 kB / 0.6253 GB, free: 13.38 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.432e-05/0.01358, allocations: 12.42 kB / 0.6253 GB, free: 13.38 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.66e-05/0.01363, allocations: 16.5 kB / 0.6253 GB, free: 13.36 MB / 0.545 GB Notification: Performance of SimCode: time 7.81e-07/0.01363, allocations: 0 / 0.6253 GB, free: 13.36 MB / 0.545 GB Notification: Performance of Templates: time 0.004057/0.01768, allocations: 0.9787 MB / 0.6262 GB, free: 12.4 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Line.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Line.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Line.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Line.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Line.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Line -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Line.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.842441186308861] Failed to read output from testmodel.py, exit status != 0: 0.026245132088661194 0.041118924 0.033312583 Calling exit ...