Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Logical.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.001478/0.001478, allocations: 80.28 kB / 19.18 MB, free: 2.531 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.00178/0.00178, allocations: 164.6 kB / 22.46 MB, free: 5.359 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.501/1.501, allocations: 177.1 MB / 202.8 MB, free: 9.176 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.248/1.248, allocations: 154.6 MB / 413.8 MB, free: 5.23 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.Logical.Sources.Validation.Constant,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant") translateModel(IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.745e-06/2.745e-06, allocations: 0 / 0.6186 GB, free: 4.543 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.402e-05/3.677e-05, allocations: 6.062 kB / 0.6186 GB, free: 4.539 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.001627/0.001663, allocations: 0.5337 MB / 0.6191 GB, free: 4.02 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 4.985e-05/0.001713, allocations: 8 kB / 0.6191 GB, free: 4.012 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.286e-05/0.001756, allocations: 2 kB / 0.6191 GB, free: 4.012 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.442e-05/0.001781, allocations: 3.938 kB / 0.6191 GB, free: 4.008 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 3.028e-05/0.001811, allocations: 0 / 0.6191 GB, free: 4.008 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 3.123e-05/0.001842, allocations: 0 / 0.6191 GB, free: 4.008 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 5.869e-05/0.001901, allocations: 3.938 kB / 0.6191 GB, free: 4.004 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 6.594e-05/0.001967, allocations: 8.531 kB / 0.6191 GB, free: 3.996 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 3.069e-05/0.001997, allocations: 3.938 kB / 0.6192 GB, free: 3.992 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 2.397e-05/0.002021, allocations: 6.547 kB / 0.6192 GB, free: 3.988 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.542e-05/0.002037, allocations: 0 / 0.6192 GB, free: 3.988 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 3.296e-06/0.00204, allocations: 0 / 0.6192 GB, free: 3.988 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.629e-05/0.002056, allocations: 3.984 kB / 0.6192 GB, free: 3.984 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.113e-05/0.002078, allocations: 0 / 0.6192 GB, free: 3.984 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 6.566e-05/0.002143, allocations: 8 kB / 0.6192 GB, free: 3.977 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 2.625e-06/0.002146, allocations: 0 / 0.6192 GB, free: 3.977 MB / 0.5294 GB Notification: Performance of FrontEnd: time 9.82e-07/0.002147, allocations: 4 kB / 0.6192 GB, free: 3.973 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 3.416e-06/0.00215, allocations: 0 / 0.6192 GB, free: 3.973 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.0003525/0.002503, allocations: 242.4 kB / 0.6194 GB, free: 3.703 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.433e-05/0.002547, allocations: 8.031 kB / 0.6194 GB, free: 3.695 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.998e-05/0.002577, allocations: 0.9375 kB / 0.6194 GB, free: 3.695 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001241/0.002701, allocations: 105.8 kB / 0.6195 GB, free: 3.566 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.244e-05/0.002714, allocations: 384 / 0.6195 GB, free: 3.566 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.518e-06/0.002723, allocations: 4.375 kB / 0.6195 GB, free: 3.562 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001133/0.002836, allocations: 34.2 kB / 0.6195 GB, free: 3.523 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.407e-06/0.002846, allocations: 192 / 0.6195 GB, free: 3.523 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.116e-05/0.002857, allocations: 4.375 kB / 0.6196 GB, free: 3.52 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.051e-06/0.002863, allocations: 384 / 0.6196 GB, free: 3.52 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.307e-05/0.002886, allocations: 3.938 kB / 0.6196 GB, free: 3.516 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003464/0.003232, allocations: 335.1 kB / 0.6199 GB, free: 3.156 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001201/0.003353, allocations: 173.1 kB / 0.62 GB, free: 2.977 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.733e-05/0.0034, allocations: 84.14 kB / 0.6201 GB, free: 2.891 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 4.187e-05/0.003442, allocations: 75.28 kB / 0.6202 GB, free: 2.816 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.987e-05/0.003512, allocations: 105.8 kB / 0.6203 GB, free: 2.703 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=0): time 8.91e-07/0.003513, allocations: 4 kB / 0.6203 GB, free: 2.699 MB / 0.5294 GB Notification: Performance of matching and sorting (n=0): time 8.031e-05/0.003593, allocations: 29.64 kB / 0.6203 GB, free: 2.664 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.878e-05/0.003682, allocations: 130.7 kB / 0.6205 GB, free: 2.523 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.257e-05/0.003774, allocations: 97.84 kB / 0.6205 GB, free: 2.418 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.883e-05/0.003793, allocations: 29.7 kB / 0.6206 GB, free: 2.383 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.662e-05/0.00385, allocations: 84.08 kB / 0.6207 GB, free: 2.297 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.874e-06/0.003851, allocations: 0 / 0.6207 GB, free: 2.297 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.475e-05/0.003876, allocations: 9.719 kB / 0.6207 GB, free: 2.281 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001582/0.004034, allocations: 310.8 kB / 0.621 GB, free: 1.969 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.618e-06/0.004039, allocations: 4 kB / 0.621 GB, free: 1.965 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.385e-06/0.004041, allocations: 0 / 0.621 GB, free: 1.965 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.83e-05/0.00408, allocations: 75.28 kB / 0.621 GB, free: 1.891 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-05/0.004124, allocations: 79.41 kB / 0.6211 GB, free: 1.812 MB / 0.5294 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.003e-05/0.004184, allocations: 29.7 kB / 0.6211 GB, free: 1.777 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 4.989e-05/0.004233, allocations: 79.28 kB / 0.6212 GB, free: 1.699 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.128e-05/0.004285, allocations: 91.14 kB / 0.6213 GB, free: 1.609 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.961e-05/0.004384, allocations: 158.5 kB / 0.6215 GB, free: 1.453 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.519e-05/0.00442, allocations: 75.28 kB / 0.6215 GB, free: 1.379 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.506e-05/0.004505, allocations: 154.5 kB / 0.6217 GB, free: 1.227 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.493e-05/0.00459, allocations: 75.28 kB / 0.6217 GB, free: 1.152 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.863e-05/0.004638, allocations: 83.22 kB / 0.6218 GB, free: 1.07 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.0001552/0.004793, allocations: 261.4 kB / 0.6221 GB, free: 0.8047 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.844e-05/0.004872, allocations: 117.2 kB / 0.6222 GB, free: 0.6836 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.237e-05/0.004944, allocations: 107.9 kB / 0.6223 GB, free: 0.5742 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.841e-05/0.005023, allocations: 184.2 kB / 0.6225 GB, free: 396 kB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001079/0.005131, allocations: 180.3 kB / 0.6226 GB, free: 208 kB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.516e-05/0.005226, allocations: 180.2 kB / 0.6228 GB, free: 20 kB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002902/0.005516, allocations: 356.9 kB / 0.6231 GB, free: 15.63 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.009e-05/0.005576, allocations: 104.9 kB / 0.6232 GB, free: 15.52 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.886e-05/0.005635, allocations: 101 kB / 0.6233 GB, free: 15.42 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.623e-05/0.005721, allocations: 176.3 kB / 0.6235 GB, free: 15.24 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001057/0.005827, allocations: 192.1 kB / 0.6237 GB, free: 15.04 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.499e-05/0.005922, allocations: 180.2 kB / 0.6239 GB, free: 14.86 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001025/0.006024, allocations: 192.2 kB / 0.6241 GB, free: 14.66 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001853/0.00621, allocations: 295.8 kB / 0.6243 GB, free: 14.35 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.776e-05/0.006267, allocations: 108.9 kB / 0.6244 GB, free: 14.24 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001095/0.006377, allocations: 180.3 kB / 0.6246 GB, free: 14.05 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001098/0.006487, allocations: 116.9 kB / 0.6247 GB, free: 13.93 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.183e-05/0.006578, allocations: 176.3 kB / 0.6249 GB, free: 13.75 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.582e-05/0.006634, allocations: 105 kB / 0.625 GB, free: 13.64 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.198e-05/0.006676, allocations: 75.28 kB / 0.6251 GB, free: 13.57 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.006676, allocations: 0 / 0.6251 GB, free: 13.57 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003004/0.006977, allocations: 3.984 kB / 0.6251 GB, free: 13.57 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.000167/0.007144, allocations: 178.6 kB / 0.6252 GB, free: 13.38 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 5.155e-05/0.007195, allocations: 0 / 0.6252 GB, free: 13.38 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.007198, allocations: 0 / 0.6252 GB, free: 13.38 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.653e-06/0.007199, allocations: 0 / 0.6252 GB, free: 13.38 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004723/0.007672, allocations: 463.7 kB / 0.6257 GB, free: 12.92 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002749/0.007947, allocations: 156.1 kB / 0.6258 GB, free: 12.74 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.213e-05/0.008009, allocations: 59.34 kB / 0.6259 GB, free: 12.66 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.194e-06/0.008011, allocations: 0 / 0.6259 GB, free: 12.66 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.653e-05/0.008027, allocations: 12.5 kB / 0.6259 GB, free: 12.65 MB / 0.545 GB Notification: Performance of SimCode: time 4.01e-07/0.008028, allocations: 0 / 0.6259 GB, free: 12.65 MB / 0.545 GB Notification: Performance of Templates: time 0.002336/0.01036, allocations: 156.8 kB / 0.626 GB, free: 12.5 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.9209064692258835] Failed to read output from testmodel.py, exit status != 0: 0.01941462978720665 0.034225375 0.029046641 Calling exit ...