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.001282/0.001282, allocations: 79.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.001375/0.001375, allocations: 162.9 kB / 22.46 MB, free: 5.375 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.481/1.481, allocations: 177.1 MB / 202.8 MB, free: 9.16 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.215/1.215, allocations: 154.6 MB / 413.8 MB, free: 5.215 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.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: Performance of FrontEnd - loaded program: time 2.905e-06/2.905e-06, allocations: 0 / 0.6186 GB, free: 4.535 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.458e-05/3.748e-05, allocations: 2.969 kB / 0.6186 GB, free: 4.531 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Constant): time 0.001815/0.001853, allocations: 0.5433 MB / 0.6191 GB, free: 4 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 3.652e-05/0.001889, allocations: 0 / 0.6191 GB, free: 4 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.739e-05/0.001917, allocations: 0 / 0.6191 GB, free: 4 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.76e-05/0.001944, allocations: 0 / 0.6191 GB, free: 4 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 2.894e-05/0.001973, allocations: 1.25 kB / 0.6191 GB, free: 4 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 3.534e-05/0.002009, allocations: 0 / 0.6191 GB, free: 4 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 5.896e-05/0.002068, allocations: 0 / 0.6191 GB, free: 4 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 6.575e-05/0.002133, allocations: 5.281 kB / 0.6191 GB, free: 3.996 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 3.647e-05/0.00217, allocations: 3.938 kB / 0.6191 GB, free: 3.992 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 2.42e-05/0.002194, allocations: 4 kB / 0.6191 GB, free: 3.988 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.396e-05/0.002208, allocations: 0 / 0.6191 GB, free: 3.988 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 3.286e-06/0.002211, allocations: 4 kB / 0.6191 GB, free: 3.984 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.071e-05/0.002222, allocations: 0 / 0.6191 GB, free: 3.984 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 1.689e-05/0.002239, allocations: 4 kB / 0.6191 GB, free: 3.98 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 6.368e-05/0.002302, allocations: 3.984 kB / 0.6191 GB, free: 3.977 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 2.315e-06/0.002305, allocations: 0 / 0.6191 GB, free: 3.977 MB / 0.5294 GB Notification: Performance of FrontEnd: time 4.51e-07/0.002305, allocations: 0 / 0.6191 GB, free: 3.977 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 3.276e-06/0.002309, allocations: 0 / 0.6191 GB, free: 3.977 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.0003302/0.002639, allocations: 242.4 kB / 0.6194 GB, free: 3.707 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.777e-05/0.002676, allocations: 8.031 kB / 0.6194 GB, free: 3.699 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.176e-05/0.002708, allocations: 8.875 kB / 0.6194 GB, free: 3.691 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001158/0.002824, allocations: 113.8 kB / 0.6195 GB, free: 3.555 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.238e-05/0.002836, allocations: 384 / 0.6195 GB, free: 3.555 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.406e-06/0.002845, allocations: 4.375 kB / 0.6195 GB, free: 3.551 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.249e-05/0.002937, allocations: 30.27 kB / 0.6195 GB, free: 3.516 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.337e-06/0.002947, allocations: 192 / 0.6195 GB, free: 3.516 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.765e-06/0.002954, allocations: 384 / 0.6195 GB, free: 3.516 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.817e-06/0.002958, allocations: 384 / 0.6195 GB, free: 3.516 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.369e-05/0.002982, allocations: 3.938 kB / 0.6195 GB, free: 3.512 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003372/0.003319, allocations: 335.1 kB / 0.6199 GB, free: 3.152 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001107/0.00343, allocations: 173.2 kB / 0.62 GB, free: 2.973 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.216e-05/0.003472, allocations: 80.14 kB / 0.6201 GB, free: 2.891 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 4.043e-05/0.003512, allocations: 79.28 kB / 0.6202 GB, free: 2.812 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.465e-05/0.003587, allocations: 109.8 kB / 0.6203 GB, free: 2.695 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=0): time 1.002e-06/0.003588, allocations: 3.938 kB / 0.6203 GB, free: 2.691 MB / 0.5294 GB Notification: Performance of matching and sorting (n=0): time 7.357e-05/0.003662, allocations: 33.58 kB / 0.6203 GB, free: 2.652 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.259e-05/0.003754, allocations: 130.7 kB / 0.6204 GB, free: 2.512 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.162e-05/0.003836, allocations: 93.86 kB / 0.6205 GB, free: 2.41 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.523e-05/0.003851, allocations: 25.7 kB / 0.6206 GB, free: 2.379 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 6.406e-05/0.003915, allocations: 80.14 kB / 0.6206 GB, free: 2.297 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.734e-06/0.003917, allocations: 0 / 0.6206 GB, free: 2.297 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.23e-05/0.003939, allocations: 9.844 kB / 0.6206 GB, free: 2.281 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001529/0.004092, allocations: 326.8 kB / 0.621 GB, free: 1.953 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.129e-06/0.004097, allocations: 0 / 0.621 GB, free: 1.953 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.455e-06/0.0041, allocations: 0 / 0.621 GB, free: 1.953 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.793e-05/0.004138, allocations: 75.28 kB / 0.621 GB, free: 1.879 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-05/0.00418, allocations: 75.28 kB / 0.6211 GB, free: 1.805 MB / 0.5294 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.36e-05/0.004244, allocations: 37.64 kB / 0.6211 GB, free: 1.762 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 4.813e-05/0.004292, allocations: 79.28 kB / 0.6212 GB, free: 1.684 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-05/0.004331, allocations: 79.22 kB / 0.6213 GB, free: 1.605 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.085e-05/0.004422, allocations: 154.6 kB / 0.6214 GB, free: 1.453 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.474e-05/0.004466, allocations: 79.22 kB / 0.6215 GB, free: 1.375 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.457e-05/0.004551, allocations: 162.5 kB / 0.6217 GB, free: 1.215 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.663e-05/0.004637, allocations: 83.22 kB / 0.6217 GB, free: 1.133 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.069e-05/0.004688, allocations: 75.28 kB / 0.6218 GB, free: 1.059 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 (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 0.0001573/0.004845, allocations: 261.4 kB / 0.6221 GB, free: 0.793 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.26e-05/0.004918, allocations: 109.2 kB / 0.6222 GB, free: 0.6797 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.187e-05/0.00499, allocations: 111.9 kB / 0.6223 GB, free: 0.5664 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.547e-05/0.005075, allocations: 188.3 kB / 0.6225 GB, free: 384 kB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.000101/0.005176, allocations: 184.2 kB / 0.6226 GB, free: 192 kB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.721e-05/0.005274, allocations: 180.3 kB / 0.6228 GB, free: 4 kB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002929/0.005567, allocations: 348.9 kB / 0.6231 GB, free: 15.62 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.773e-05/0.005624, allocations: 112.9 kB / 0.6232 GB, free: 15.51 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.208e-05/0.005686, allocations: 101 kB / 0.6233 GB, free: 15.4 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.466e-05/0.005781, allocations: 184.2 kB / 0.6235 GB, free: 15.21 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000102/0.005883, allocations: 180.3 kB / 0.6237 GB, free: 15.03 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001035/0.005986, allocations: 180.2 kB / 0.6239 GB, free: 14.85 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001092/0.006096, allocations: 188.2 kB / 0.624 GB, free: 14.66 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002139/0.00631, allocations: 303.7 kB / 0.6243 GB, free: 14.34 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.527e-05/0.006375, allocations: 105 kB / 0.6244 GB, free: 14.23 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001222/0.006497, allocations: 192.2 kB / 0.6246 GB, free: 14.03 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001049/0.006602, allocations: 108.9 kB / 0.6247 GB, free: 13.92 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.246e-05/0.006694, allocations: 176.3 kB / 0.6249 GB, free: 13.74 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.508e-05/0.006759, allocations: 112.9 kB / 0.625 GB, free: 13.62 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.746e-05/0.006807, allocations: 75.28 kB / 0.6251 GB, free: 13.55 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.006807, allocations: 0 / 0.6251 GB, free: 13.55 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003108/0.007118, allocations: 0 / 0.6251 GB, free: 13.55 MB / 0.545 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 0.0001672/0.007285, allocations: 170.5 kB / 0.6252 GB, free: 13.37 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 5.101e-05/0.007336, allocations: 3.984 kB / 0.6252 GB, free: 13.36 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.007339, allocations: 0 / 0.6252 GB, free: 13.36 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 5.47e-06/0.007344, allocations: 4 kB / 0.6252 GB, free: 13.36 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004173/0.007761, allocations: 463.7 kB / 0.6257 GB, free: 12.9 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002637/0.008025, allocations: 156.1 kB / 0.6258 GB, free: 12.72 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.678e-05/0.008082, allocations: 59.3 kB / 0.6259 GB, free: 12.64 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.044e-06/0.008084, allocations: 0 / 0.6259 GB, free: 12.64 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.342e-05/0.008097, allocations: 8.5 kB / 0.6259 GB, free: 12.64 MB / 0.545 GB Notification: Performance of SimCode: time 3.71e-07/0.008098, allocations: 0 / 0.6259 GB, free: 12.64 MB / 0.545 GB Notification: Performance of Templates: time 0.002314/0.01041, allocations: 151.8 kB / 0.626 GB, free: 12.49 MB / 0.545 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.664233833551407] Failed to read output from testmodel.py, exit status != 0: 0.019929956644773483 0.03500916399999994 0.02960379599999994 Calling exit ...