Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Constant.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.0007065/0.0007065, allocations: 72.45 kB / 19.9 MB, free: 16 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.0007378/0.0007378, allocations: 165.9 kB / 23.18 MB, free: 1.383 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.8383/0.8383, allocations: 177.2 MB / 203.6 MB, free: 5.777 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.6919/0.6919, allocations: 154.7 MB / 414.7 MB, free: 0.7383 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.Integers.Sources.Validation.Constant,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Constant") translateModel(IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Constant,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Constant") [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001326/0.001326, allocations: 71.89 kB / 0.6196 GB, free: 13.12 MB / 0.5886 GB [/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. Notification: Performance of FrontEnd - Absyn->SCode: time 0.4082/0.4095, allocations: 101.9 MB / 0.7191 GB, free: 23.7 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Constant): time 0.001239/0.4107, allocations: 0.5385 MB / 0.7196 GB, free: 23.37 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 3.763e-05/0.4108, allocations: 0 / 0.7196 GB, free: 23.37 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.716e-05/0.4108, allocations: 5.156 kB / 0.7196 GB, free: 23.36 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 2.634e-05/0.4108, allocations: 0.5625 kB / 0.7196 GB, free: 23.36 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 2.502e-05/0.4108, allocations: 0 / 0.7196 GB, free: 23.36 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 3.055e-05/0.4109, allocations: 1.188 kB / 0.7196 GB, free: 23.36 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 5.235e-05/0.4109, allocations: 10.09 kB / 0.7197 GB, free: 23.36 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 5.54e-05/0.411, allocations: 1.219 kB / 0.7197 GB, free: 23.36 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 3.019e-05/0.411, allocations: 2.25 kB / 0.7197 GB, free: 23.36 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 1.873e-05/0.411, allocations: 3.938 kB / 0.7197 GB, free: 23.35 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.435e-05/0.411, allocations: 0 / 0.7197 GB, free: 23.35 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 4.399e-06/0.411, allocations: 1.625 kB / 0.7197 GB, free: 23.35 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 1.481e-05/0.4111, allocations: 0 / 0.7197 GB, free: 23.35 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 1.779e-05/0.4111, allocations: 4 kB / 0.7197 GB, free: 23.35 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 6.074e-05/0.4111, allocations: 11.88 kB / 0.7197 GB, free: 23.34 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.4111, allocations: 0 / 0.7197 GB, free: 23.34 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.984e-06/0.4111, allocations: 0 / 0.7197 GB, free: 23.34 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.051e-06/0.4112, allocations: 0 / 0.7197 GB, free: 23.34 MB / 0.6355 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.0001972/0.4113, allocations: 243 kB / 0.7199 GB, free: 23.08 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.967e-05/0.4114, allocations: 10.48 kB / 0.7199 GB, free: 23.08 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.168e-05/0.4114, allocations: 0.9375 kB / 0.7199 GB, free: 23.08 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.487e-05/0.4115, allocations: 106.2 kB / 0.72 GB, free: 22.95 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.177e-06/0.4115, allocations: 384 / 0.72 GB, free: 22.95 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.838e-06/0.4115, allocations: 1.594 kB / 0.72 GB, free: 22.95 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.277e-05/0.4116, allocations: 32.39 kB / 0.7201 GB, free: 22.92 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.523e-06/0.4116, allocations: 192 / 0.7201 GB, free: 22.92 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.005e-06/0.4116, allocations: 9.375 kB / 0.7201 GB, free: 22.91 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.4116, allocations: 4.453 kB / 0.7201 GB, free: 22.91 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.471e-05/0.4116, allocations: 5.531 kB / 0.7201 GB, free: 22.9 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001794/0.4118, allocations: 329.9 kB / 0.7204 GB, free: 22.55 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 3.726e-05/0.4118, allocations: 170.3 kB / 0.7205 GB, free: 22.38 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.17e-05/0.4118, allocations: 81.23 kB / 0.7206 GB, free: 22.3 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.065e-05/0.4118, allocations: 83.86 kB / 0.7207 GB, free: 22.21 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.638e-05/0.4118, allocations: 108.7 kB / 0.7208 GB, free: 22.1 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=0): time 9.02e-07/0.4118, allocations: 4 kB / 0.7208 GB, free: 22.1 MB / 0.6355 GB Notification: Performance of matching and sorting (n=0): time 5.338e-05/0.4119, allocations: 31.36 kB / 0.7208 GB, free: 22.06 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.515e-05/0.4119, allocations: 127.7 kB / 0.721 GB, free: 21.93 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.824e-05/0.412, allocations: 93.42 kB / 0.7211 GB, free: 21.83 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.507e-06/0.412, allocations: 25.7 kB / 0.7211 GB, free: 21.8 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 1.629e-05/0.412, allocations: 85.42 kB / 0.7212 GB, free: 21.71 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.653e-06/0.412, allocations: 0 / 0.7212 GB, free: 21.71 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.477e-05/0.412, allocations: 11.48 kB / 0.7212 GB, free: 21.7 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 2.684e-05/0.412, allocations: 316.8 kB / 0.7215 GB, free: 21.38 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.627e-06/0.412, allocations: 128 / 0.7215 GB, free: 21.38 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.286e-06/0.412, allocations: 5.344 kB / 0.7215 GB, free: 21.38 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.015e-06/0.4121, allocations: 75.28 kB / 0.7216 GB, free: 21.3 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.231e-06/0.4121, allocations: 77.33 kB / 0.7216 GB, free: 21.23 MB / 0.6355 GB Notification: Performance of matching and sorting (n=0) (initialization): time 2.536e-05/0.4121, allocations: 36.47 kB / 0.7217 GB, free: 21.19 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.696e-05/0.4121, allocations: 80.34 kB / 0.7217 GB, free: 21.11 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.296e-06/0.4121, allocations: 77.28 kB / 0.7218 GB, free: 21.04 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.044e-05/0.4121, allocations: 156.5 kB / 0.722 GB, free: 20.89 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.403e-06/0.4121, allocations: 79.84 kB / 0.722 GB, free: 20.81 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.123e-05/0.4121, allocations: 152.8 kB / 0.7222 GB, free: 20.66 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.083e-05/0.4122, allocations: 80.41 kB / 0.7223 GB, free: 20.58 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.132e-06/0.4122, allocations: 81.08 kB / 0.7223 GB, free: 20.5 MB / 0.6355 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 (0): * Single equations (assignments): 0 * 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 3.736e-05/0.4122, allocations: 260.6 kB / 0.7226 GB, free: 20.24 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.937e-05/0.4122, allocations: 110.7 kB / 0.7227 GB, free: 20.13 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.08e-05/0.4123, allocations: 114.4 kB / 0.7228 GB, free: 20.02 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.595e-05/0.4123, allocations: 179.5 kB / 0.723 GB, free: 19.84 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.654e-05/0.4123, allocations: 182.2 kB / 0.7231 GB, free: 19.65 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.532e-05/0.4123, allocations: 182.3 kB / 0.7233 GB, free: 19.47 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.555e-05/0.4124, allocations: 362 kB / 0.7237 GB, free: 19.08 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.101e-05/0.4124, allocations: 103 kB / 0.7238 GB, free: 18.98 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.538e-06/0.4124, allocations: 103.2 kB / 0.7239 GB, free: 18.87 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.741e-05/0.4124, allocations: 193.4 kB / 0.724 GB, free: 18.68 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.593e-05/0.4124, allocations: 178 kB / 0.7242 GB, free: 18.5 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.427e-05/0.4125, allocations: 182.4 kB / 0.7244 GB, free: 18.31 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.498e-05/0.4125, allocations: 178.4 kB / 0.7246 GB, free: 18.13 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.281e-05/0.4125, allocations: 311.6 kB / 0.7249 GB, free: 17.81 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 1.577e-05/0.4125, allocations: 110.9 kB / 0.725 GB, free: 17.7 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.425e-05/0.4126, allocations: 183.3 kB / 0.7251 GB, free: 17.52 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.997e-05/0.4126, allocations: 106.2 kB / 0.7252 GB, free: 17.41 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.21e-05/0.4126, allocations: 183.1 kB / 0.7254 GB, free: 17.22 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.658e-06/0.4126, allocations: 102.8 kB / 0.7255 GB, free: 17.12 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 1.911e-05/0.4126, allocations: 80.95 kB / 0.7256 GB, free: 17.04 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.4126, allocations: 0 / 0.7256 GB, free: 17.04 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001602/0.4128, allocations: 0 / 0.7256 GB, free: 17.04 MB / 0.6355 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 (0): * Single equations (assignments): 0 * 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 8.54e-05/0.4129, allocations: 170.2 kB / 0.7257 GB, free: 16.88 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 3.819e-05/0.4129, allocations: 1.375 kB / 0.7257 GB, free: 16.88 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.4129, allocations: 0 / 0.7257 GB, free: 16.88 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.314e-06/0.4129, allocations: 5.219 kB / 0.7258 GB, free: 16.87 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001862/0.4131, allocations: 459 kB / 0.7262 GB, free: 16.42 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001842/0.4133, allocations: 182.1 kB / 0.7264 GB, free: 16.22 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.194e-05/0.4133, allocations: 59.48 kB / 0.7264 GB, free: 16.15 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.07e-05/0.4133, allocations: 8.5 kB / 0.7264 GB, free: 16.14 MB / 0.6355 GB Notification: Performance of SimCode: time 5.81e-07/0.4133, allocations: 0 / 0.7264 GB, free: 16.14 MB / 0.6355 GB Notification: Performance of Templates: time 0.001229/0.4146, allocations: 324.3 kB / 0.7267 GB, free: 16.12 MB / 0.6355 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Constant.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Constant.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Constant -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.053832422010601] Failed to read output from testmodel.py, exit status != 0: 0.4216696110088378 0.432492394 0.01809072 Calling exit ...