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.00072/0.00072, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0007356/0.0007356, allocations: 177.9 kB / 23.21 MB, free: 1.352 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 0.8541/0.8541, allocations: 177.1 MB / 203.5 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] 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 0.6921/0.6921, allocations: 154.6 MB / 414.5 MB, free: 0.8008 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 179] 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 1.463e-06/1.463e-06, allocations: 0 / 0.6194 GB, free: 13.06 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.744e-05/1.891e-05, allocations: 3.688 kB / 0.6194 GB, free: 13.05 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Derivative): time 0.001323/0.001342, allocations: 0.9969 MB / 0.6204 GB, free: 12.06 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0008857/0.002228, allocations: 1.034 MB / 0.6214 GB, free: 11.01 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.602e-05/0.002314, allocations: 4 kB / 0.6214 GB, free: 11.01 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.000106/0.00242, allocations: 15.75 kB / 0.6214 GB, free: 10.99 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 4.583e-05/0.002466, allocations: 23.8 kB / 0.6214 GB, free: 10.97 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002348/0.002701, allocations: 83.7 kB / 0.6215 GB, free: 10.89 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.000147/0.002848, allocations: 176.1 kB / 0.6217 GB, free: 10.71 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001296/0.002977, allocations: 60.45 kB / 0.6217 GB, free: 10.65 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001/0.003077, allocations: 107.8 kB / 0.6218 GB, free: 10.55 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 7.063e-05/0.003148, allocations: 55.84 kB / 0.6219 GB, free: 10.49 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.2e-05/0.00317, allocations: 19.98 kB / 0.6219 GB, free: 10.47 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 4.11e-05/0.003211, allocations: 19.94 kB / 0.6219 GB, free: 10.45 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 3.009e-05/0.003241, allocations: 39.89 kB / 0.622 GB, free: 10.41 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 3.846e-05/0.00328, allocations: 51.83 kB / 0.622 GB, free: 10.36 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.000181/0.003461, allocations: 195.3 kB / 0.6222 GB, free: 10.17 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.583e-06/0.003462, allocations: 4 kB / 0.6222 GB, free: 10.17 MB / 0.5886 GB Notification: Performance of FrontEnd: time 7.52e-07/0.003463, allocations: 0 / 0.6222 GB, free: 10.17 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.727e-06/0.003467, allocations: 3.938 kB / 0.6222 GB, free: 10.16 MB / 0.5886 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.0005201/0.003987, allocations: 422.4 kB / 0.6226 GB, free: 9.715 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.108e-05/0.004018, allocations: 12.03 kB / 0.6226 GB, free: 9.703 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.137e-05/0.004089, allocations: 16.84 kB / 0.6226 GB, free: 9.688 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001851/0.004274, allocations: 170 kB / 0.6228 GB, free: 9.496 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.371e-05/0.004288, allocations: 12.38 kB / 0.6228 GB, free: 9.484 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.298e-05/0.004311, allocations: 16.38 kB / 0.6228 GB, free: 9.469 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002084/0.004519, allocations: 176.4 kB / 0.623 GB, free: 9.285 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.426e-06/0.004528, allocations: 192 / 0.623 GB, free: 9.285 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.351e-05/0.004541, allocations: 8.125 kB / 0.623 GB, free: 9.277 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.004547, allocations: 4 kB / 0.623 GB, free: 9.273 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001545/0.004702, allocations: 111.8 kB / 0.6231 GB, free: 9.164 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005856/0.005287, allocations: 443.8 kB / 0.6235 GB, free: 8.699 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000239/0.005526, allocations: 130.7 kB / 0.6237 GB, free: 8.562 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.477e-05/0.005621, allocations: 84.86 kB / 0.6237 GB, free: 8.477 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.038e-05/0.005642, allocations: 0 / 0.6237 GB, free: 8.477 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001453/0.005787, allocations: 143.1 kB / 0.6239 GB, free: 8.32 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=19): time 1.152e-06/0.005788, allocations: 0 / 0.6239 GB, free: 8.32 MB / 0.5886 GB Notification: Performance of matching and sorting (n=19): time 0.0003176/0.006106, allocations: 233.3 kB / 0.6241 GB, free: 8.086 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.981e-05/0.006135, allocations: 59.34 kB / 0.6242 GB, free: 8.016 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.222e-05/0.006208, allocations: 136.6 kB / 0.6243 GB, free: 7.875 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.835e-05/0.006226, allocations: 41.69 kB / 0.6243 GB, free: 7.828 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.865e-05/0.006275, allocations: 112.5 kB / 0.6244 GB, free: 7.715 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 3.655e-05/0.006311, allocations: 71.42 kB / 0.6245 GB, free: 7.645 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.292e-05/0.006354, allocations: 41.7 kB / 0.6245 GB, free: 7.598 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 6.836e-05/0.006422, allocations: 326.8 kB / 0.6249 GB, free: 7.27 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001044/0.006527, allocations: 59.95 kB / 0.6249 GB, free: 7.211 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001105/0.006637, allocations: 92.92 kB / 0.625 GB, free: 7.117 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001886/0.006826, allocations: 160.6 kB / 0.6252 GB, free: 6.957 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.006828, allocations: 3.938 kB / 0.6252 GB, free: 6.953 MB / 0.5886 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0002524/0.00708, allocations: 205.5 kB / 0.6254 GB, free: 6.746 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 9.468e-06/0.00709, allocations: 4 kB / 0.6254 GB, free: 6.742 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.007094, allocations: 0 / 0.6254 GB, free: 6.742 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.034e-05/0.007104, allocations: 0 / 0.6254 GB, free: 6.742 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.299e-05/0.007197, allocations: 47.94 kB / 0.6254 GB, free: 6.695 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.068e-06/0.007201, allocations: 0 / 0.6254 GB, free: 6.695 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.919e-05/0.00726, allocations: 23.94 kB / 0.6254 GB, free: 6.672 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.678e-06/0.00727, allocations: 8 kB / 0.6254 GB, free: 6.664 MB / 0.5886 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 6.983e-05/0.00734, allocations: 134.6 kB / 0.6256 GB, free: 6.523 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.289e-05/0.007353, allocations: 15.89 kB / 0.6256 GB, free: 6.508 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000228/0.007581, allocations: 191.7 kB / 0.6258 GB, free: 6.316 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.007583, allocations: 8 kB / 0.6258 GB, free: 6.309 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.985e-06/0.007586, allocations: 0 / 0.6258 GB, free: 6.309 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.00759, allocations: 3.984 kB / 0.6258 GB, free: 6.305 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000658/0.008248, allocations: 0.4977 MB / 0.6263 GB, free: 5.754 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.008251, allocations: 8.188 kB / 0.6263 GB, free: 5.746 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.689e-05/0.008338, allocations: 39.91 kB / 0.6263 GB, free: 5.707 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.784e-06/0.00834, allocations: 0 / 0.6263 GB, free: 5.707 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.128e-05/0.008351, allocations: 8 kB / 0.6263 GB, free: 5.699 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.008353, allocations: 4 kB / 0.6263 GB, free: 5.695 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.008356, allocations: 7.922 kB / 0.6263 GB, free: 5.688 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003222/0.008678, allocations: 383.1 kB / 0.6267 GB, free: 5.281 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 1.18e-05/0.00869, allocations: 15.95 kB / 0.6267 GB, free: 5.266 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.465e-05/0.008705, allocations: 4 kB / 0.6267 GB, free: 5.262 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.368e-05/0.008778, allocations: 19.97 kB / 0.6267 GB, free: 5.242 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.174e-05/0.00882, allocations: 27.89 kB / 0.6268 GB, free: 5.215 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.037e-06/0.008829, allocations: 8 kB / 0.6268 GB, free: 5.207 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 4.3e-05/0.008872, allocations: 109.9 kB / 0.6269 GB, free: 5.102 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.008872, allocations: 0 / 0.6269 GB, free: 5.102 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001663/0.009039, allocations: 39.89 kB / 0.6269 GB, free: 5.062 MB / 0.5886 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 7.069e-05/0.009109, allocations: 103.2 kB / 0.627 GB, free: 4.953 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0002289/0.009338, allocations: 159.7 kB / 0.6272 GB, free: 4.797 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.00934, allocations: 0 / 0.6272 GB, free: 4.797 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 9.849e-05/0.009438, allocations: 83.83 kB / 0.6272 GB, free: 4.715 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002153/0.009653, allocations: 34.39 kB / 0.6273 GB, free: 4.684 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000401/0.01005, allocations: 389.1 kB / 0.6276 GB, free: 4.25 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.338e-05/0.01012, allocations: 112.3 kB / 0.6277 GB, free: 4.117 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.661e-05/0.01016, allocations: 28.5 kB / 0.6278 GB, free: 4.086 MB / 0.5886 GB Notification: Performance of SimCode: time 3.8e-07/0.01016, allocations: 0 / 0.6278 GB, free: 4.086 MB / 0.5886 GB Notification: Performance of Templates: time 0.00217/0.01233, allocations: 1.969 MB / 0.6297 GB, free: 2.117 MB / 0.5886 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: 4.905515318736434] Failed to read output from testmodel.py, exit status != 0: 0.016640136949718 0.024129713 0.019111118 Calling exit ...