Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Derivative.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.00131/0.00131, allocations: 78.8 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.001597/0.001597, allocations: 171.1 kB / 22.45 MB, free: 5.367 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.412/1.412, allocations: 177.2 MB / 202.8 MB, free: 9.164 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.173/1.173, allocations: 154.7 MB / 413.9 MB, free: 5.168 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.Validation.Derivative,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Derivative") translateModel(IDEAS.Controls.OBC.CDL.Reals.Validation.Derivative,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Derivative") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.024e-06/2.024e-06, allocations: 0 / 0.6188 GB, free: 4.488 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.26e-05/3.463e-05, allocations: 8.375 kB / 0.6188 GB, free: 4.484 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Derivative): time 0.002182/0.002216, allocations: 0.9853 MB / 0.6198 GB, free: 3.512 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001548/0.003764, allocations: 1.041 MB / 0.6208 GB, free: 2.461 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001007/0.003865, allocations: 4 kB / 0.6208 GB, free: 2.457 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001441/0.004009, allocations: 19.73 kB / 0.6208 GB, free: 2.438 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 6.5e-05/0.004074, allocations: 11.81 kB / 0.6208 GB, free: 2.426 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003438/0.004417, allocations: 83.72 kB / 0.6209 GB, free: 2.344 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002263/0.004644, allocations: 180.1 kB / 0.6211 GB, free: 2.168 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001694/0.004813, allocations: 56.5 kB / 0.6211 GB, free: 2.105 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000147/0.00496, allocations: 100.6 kB / 0.6212 GB, free: 2.008 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001077/0.005068, allocations: 56.95 kB / 0.6213 GB, free: 1.953 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.439e-05/0.005102, allocations: 16 kB / 0.6213 GB, free: 1.938 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 5.369e-05/0.005156, allocations: 20 kB / 0.6213 GB, free: 1.918 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 4.489e-05/0.005201, allocations: 43.83 kB / 0.6214 GB, free: 1.875 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 6.093e-05/0.005262, allocations: 53.25 kB / 0.6214 GB, free: 1.824 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002683/0.00553, allocations: 199.2 kB / 0.6216 GB, free: 1.629 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 2.785e-06/0.005533, allocations: 0 / 0.6216 GB, free: 1.629 MB / 0.5294 GB Notification: Performance of FrontEnd: time 6.91e-07/0.005534, allocations: 4 kB / 0.6216 GB, free: 1.625 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.402e-06/0.00554, allocations: 0 / 0.6216 GB, free: 1.625 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: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.001015/0.006555, allocations: 426.4 kB / 0.622 GB, free: 1.172 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.884e-05/0.006594, allocations: 15.97 kB / 0.622 GB, free: 1.156 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001266/0.00672, allocations: 16.84 kB / 0.6221 GB, free: 1.141 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003522/0.007073, allocations: 168.1 kB / 0.6222 GB, free: 0.9531 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.203e-05/0.007095, allocations: 20.38 kB / 0.6222 GB, free: 0.9336 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.381e-05/0.007138, allocations: 12.38 kB / 0.6222 GB, free: 0.9219 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004664/0.007605, allocations: 183.7 kB / 0.6224 GB, free: 0.7305 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.971e-05/0.007625, allocations: 4.188 kB / 0.6224 GB, free: 0.7266 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.609e-05/0.007651, allocations: 8.125 kB / 0.6224 GB, free: 0.7188 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.977e-06/0.00766, allocations: 4 kB / 0.6224 GB, free: 0.7148 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003339/0.007993, allocations: 107.9 kB / 0.6225 GB, free: 0.6094 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001027/0.009021, allocations: 443.8 kB / 0.623 GB, free: 148 kB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003895/0.00941, allocations: 144.9 kB / 0.6231 GB, free: 15.99 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001728/0.009583, allocations: 80.77 kB / 0.6232 GB, free: 15.91 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.454e-05/0.009608, allocations: 0 / 0.6232 GB, free: 15.91 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000258/0.009866, allocations: 154.7 kB / 0.6233 GB, free: 15.75 MB / 0.545 GB Notification: Performance of pre-optimization done (n=19): time 1.172e-06/0.009867, allocations: 0 / 0.6233 GB, free: 15.75 MB / 0.545 GB Notification: Performance of matching and sorting (n=19): time 0.0005514/0.01042, allocations: 225.3 kB / 0.6235 GB, free: 15.52 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.579e-05/0.01046, allocations: 55.41 kB / 0.6236 GB, free: 15.45 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001291/0.01059, allocations: 143.5 kB / 0.6237 GB, free: 15.3 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.951e-05/0.01062, allocations: 33.7 kB / 0.6238 GB, free: 15.27 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.576e-05/0.01071, allocations: 112.5 kB / 0.6239 GB, free: 15.15 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.754e-05/0.01077, allocations: 67.48 kB / 0.6239 GB, free: 15.09 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.637e-05/0.01083, allocations: 41.7 kB / 0.624 GB, free: 15.04 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001442/0.01098, allocations: 326.8 kB / 0.6243 GB, free: 14.71 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002048/0.01118, allocations: 63.95 kB / 0.6243 GB, free: 14.65 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002155/0.0114, allocations: 89.67 kB / 0.6244 GB, free: 14.55 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003627/0.01176, allocations: 146.3 kB / 0.6246 GB, free: 14.41 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.01176, allocations: 0 / 0.6246 GB, free: 14.41 MB / 0.545 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.000486/0.01225, allocations: 211.7 kB / 0.6248 GB, free: 14.2 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.519e-05/0.01226, allocations: 4 kB / 0.6248 GB, free: 14.19 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.01227, allocations: 0 / 0.6248 GB, free: 14.19 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.338e-05/0.01228, allocations: 0 / 0.6248 GB, free: 14.19 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001972/0.01248, allocations: 43.92 kB / 0.6248 GB, free: 14.15 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.01248, allocations: 0 / 0.6248 GB, free: 14.15 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001384/0.01262, allocations: 35.89 kB / 0.6249 GB, free: 14.11 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.442e-05/0.01264, allocations: 4 kB / 0.6249 GB, free: 14.11 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,lesThr.lesHys.y,$PRE.lesThr.lesHys.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 23 * 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.0001237/0.01276, allocations: 135.6 kB / 0.625 GB, free: 13.97 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.299e-05/0.01278, allocations: 15.84 kB / 0.625 GB, free: 13.95 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004236/0.01321, allocations: 192.9 kB / 0.6252 GB, free: 13.76 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.01321, allocations: 0 / 0.6252 GB, free: 13.76 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.087e-06/0.01321, allocations: 4 kB / 0.6252 GB, free: 13.76 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.778e-06/0.01322, allocations: 0 / 0.6252 GB, free: 13.76 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007926/0.01401, allocations: 0.5028 MB / 0.6257 GB, free: 13.2 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/0.01401, allocations: 4 kB / 0.6257 GB, free: 13.2 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001836/0.0142, allocations: 44.09 kB / 0.6257 GB, free: 13.15 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.936e-06/0.0142, allocations: 7.938 kB / 0.6257 GB, free: 13.14 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.662e-05/0.01422, allocations: 4 kB / 0.6257 GB, free: 13.14 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.957e-06/0.01422, allocations: 4 kB / 0.6257 GB, free: 13.14 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.015e-06/0.01422, allocations: 3.938 kB / 0.6257 GB, free: 13.13 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005998/0.01482, allocations: 380.4 kB / 0.6261 GB, free: 12.73 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 2.197e-05/0.01485, allocations: 15.92 kB / 0.6261 GB, free: 12.71 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.796e-05/0.01487, allocations: 8 kB / 0.6261 GB, free: 12.7 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001545/0.01503, allocations: 23.92 kB / 0.6262 GB, free: 12.68 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.981e-05/0.01509, allocations: 19.97 kB / 0.6262 GB, free: 12.66 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.102e-05/0.01511, allocations: 19.92 kB / 0.6262 GB, free: 12.64 MB / 0.545 GB Notification: Performance of sorting global known variables: time 8.333e-05/0.01519, allocations: 106.3 kB / 0.6263 GB, free: 12.54 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.01519, allocations: 0 / 0.6263 GB, free: 12.54 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002826/0.01548, allocations: 35.89 kB / 0.6263 GB, free: 12.5 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (der2.x,intWitRes.y,der1.x) * Number of discrete variables: 2 ($whenCondition1,lesThr.lesHys.y) * Number of discrete states: 1 (lesThr.lesHys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 19 * 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.0001307/0.01561, allocations: 103.2 kB / 0.6264 GB, free: 12.39 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004378/0.01604, allocations: 162.9 kB / 0.6266 GB, free: 12.24 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.01605, allocations: 0 / 0.6266 GB, free: 12.24 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001934/0.01624, allocations: 83.84 kB / 0.6267 GB, free: 12.16 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000325/0.01657, allocations: 23.92 kB / 0.6267 GB, free: 12.13 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006403/0.01721, allocations: 363.7 kB / 0.627 GB, free: 11.73 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001132/0.01732, allocations: 108.3 kB / 0.6271 GB, free: 11.6 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 7.204e-05/0.01739, allocations: 17.48 kB / 0.6271 GB, free: 11.59 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.191e-05/0.01745, allocations: 20.48 kB / 0.6272 GB, free: 11.57 MB / 0.545 GB Notification: Performance of SimCode: time 4.01e-07/0.01745, allocations: 0 / 0.6272 GB, free: 11.57 MB / 0.545 GB Notification: Performance of Templates: time 0.005406/0.02286, allocations: 1.746 MB / 0.6289 GB, free: 9.863 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Derivative.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Derivative.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Derivative.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Derivative.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Derivative.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Derivative -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Derivative.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.6405772138386965] Failed to read output from testmodel.py, exit status != 0: 0.0313203614205122 0.046434805 0.037871493 Calling exit ...