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.0007753/0.0007753, allocations: 76.5 kB / 19.93 MB, free: 4.621 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.000733/0.000733, allocations: 177.9 kB / 23.21 MB, free: 1.34 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.8527/0.8527, allocations: 177.1 MB / 203.5 MB, free: 5.738 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.7011/0.7011, allocations: 154.6 MB / 414.5 MB, free: 0.793 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.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 1.873e-06/1.873e-06, allocations: 3.938 kB / 0.6193 GB, free: 13.15 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.345e-05/2.533e-05, allocations: 5.375 kB / 0.6193 GB, free: 13.14 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.00104/0.001065, allocations: 0.5324 MB / 0.6199 GB, free: 12.61 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 3.823e-05/0.001104, allocations: 12 kB / 0.6199 GB, free: 12.6 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.456e-05/0.001128, allocations: 0 / 0.6199 GB, free: 12.6 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.518e-05/0.001153, allocations: 3.938 kB / 0.6199 GB, free: 12.59 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 2.569e-05/0.001179, allocations: 0 / 0.6199 GB, free: 12.59 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 2.655e-05/0.001206, allocations: 0 / 0.6199 GB, free: 12.59 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 5.903e-05/0.001265, allocations: 3.938 kB / 0.6199 GB, free: 12.59 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 4.831e-05/0.001313, allocations: 4 kB / 0.6199 GB, free: 12.59 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 2.97e-05/0.001343, allocations: 0 / 0.6199 GB, free: 12.59 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 1.844e-05/0.001361, allocations: 0 / 0.6199 GB, free: 12.59 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.067e-05/0.001382, allocations: 0 / 0.6199 GB, free: 12.59 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 3.657e-06/0.001385, allocations: 3.938 kB / 0.6199 GB, free: 12.58 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.311e-05/0.001398, allocations: 4 kB / 0.6199 GB, free: 12.58 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 1.712e-05/0.001416, allocations: 0 / 0.6199 GB, free: 12.58 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 5.541e-05/0.001471, allocations: 11.98 kB / 0.6199 GB, free: 12.57 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.993e-06/0.001473, allocations: 0 / 0.6199 GB, free: 12.57 MB / 0.5886 GB Notification: Performance of FrontEnd: time 6.71e-07/0.001474, allocations: 0 / 0.6199 GB, free: 12.57 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.447e-06/0.001477, allocations: 0 / 0.6199 GB, free: 12.57 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002226/0.0017, allocations: 230.5 kB / 0.6201 GB, free: 12.31 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.379e-05/0.001733, allocations: 8.031 kB / 0.6201 GB, free: 12.3 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.386e-05/0.001757, allocations: 0.9375 kB / 0.6201 GB, free: 12.3 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.547e-05/0.001833, allocations: 113.8 kB / 0.6202 GB, free: 12.16 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.979e-06/0.001843, allocations: 4.375 kB / 0.6203 GB, free: 12.16 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.573e-06/0.001849, allocations: 384 / 0.6203 GB, free: 12.16 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.593e-05/0.001925, allocations: 42.19 kB / 0.6203 GB, free: 12.11 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.755e-06/0.001933, allocations: 192 / 0.6203 GB, free: 12.11 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.306e-06/0.001941, allocations: 384 / 0.6203 GB, free: 12.11 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-06/0.001945, allocations: 384 / 0.6203 GB, free: 12.11 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.383e-05/0.001959, allocations: 3.938 kB / 0.6203 GB, free: 12.11 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002418/0.002201, allocations: 323.2 kB / 0.6206 GB, free: 11.76 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 6.372e-05/0.002265, allocations: 185 kB / 0.6208 GB, free: 11.57 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.364e-05/0.002288, allocations: 80.14 kB / 0.6209 GB, free: 11.49 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.005e-05/0.002308, allocations: 79.28 kB / 0.6209 GB, free: 11.41 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.97e-05/0.002338, allocations: 105.8 kB / 0.621 GB, free: 11.3 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=0): time 6.71e-07/0.002339, allocations: 4 kB / 0.621 GB, free: 11.29 MB / 0.5886 GB Notification: Performance of matching and sorting (n=0): time 5.248e-05/0.002391, allocations: 29.64 kB / 0.6211 GB, free: 11.26 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.238e-05/0.002433, allocations: 126.7 kB / 0.6212 GB, free: 11.12 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.735e-05/0.002491, allocations: 93.86 kB / 0.6213 GB, free: 11.02 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 9.888e-06/0.002501, allocations: 29.7 kB / 0.6213 GB, free: 10.98 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 2.713e-05/0.002528, allocations: 80.14 kB / 0.6214 GB, free: 10.9 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.964e-06/0.00253, allocations: 3.938 kB / 0.6214 GB, free: 10.9 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.727e-05/0.002547, allocations: 9.719 kB / 0.6214 GB, free: 10.88 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.135e-05/0.002618, allocations: 319 kB / 0.6217 GB, free: 10.56 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.318e-06/0.002623, allocations: 4 kB / 0.6217 GB, free: 10.56 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.835e-06/0.002626, allocations: 0 / 0.6217 GB, free: 10.56 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.947e-05/0.002645, allocations: 75.28 kB / 0.6218 GB, free: 10.48 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.47e-05/0.00266, allocations: 75.28 kB / 0.6218 GB, free: 10.41 MB / 0.5886 GB Notification: Performance of matching and sorting (n=0) (initialization): time 3.078e-05/0.002691, allocations: 29.7 kB / 0.6219 GB, free: 10.38 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.429e-05/0.002715, allocations: 79.28 kB / 0.622 GB, free: 10.3 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.95e-05/0.002734, allocations: 83.16 kB / 0.622 GB, free: 10.21 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.436e-05/0.002779, allocations: 158.6 kB / 0.6222 GB, free: 10.06 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.552e-05/0.002794, allocations: 75.28 kB / 0.6223 GB, free: 9.984 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.394e-05/0.002828, allocations: 158.5 kB / 0.6224 GB, free: 9.828 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.877e-05/0.002867, allocations: 83.22 kB / 0.6225 GB, free: 9.746 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.78e-05/0.002885, allocations: 83.22 kB / 0.6226 GB, free: 9.664 MB / 0.5886 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 7.862e-05/0.002963, allocations: 257.4 kB / 0.6228 GB, free: 9.402 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.391e-05/0.002997, allocations: 109 kB / 0.6229 GB, free: 9.289 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.463e-05/0.003032, allocations: 112 kB / 0.623 GB, free: 9.172 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.179e-05/0.003074, allocations: 184.4 kB / 0.6232 GB, free: 8.984 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.973e-05/0.003123, allocations: 180.3 kB / 0.6234 GB, free: 8.801 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.181e-05/0.003165, allocations: 184.2 kB / 0.6235 GB, free: 8.613 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001184/0.003284, allocations: 352.9 kB / 0.6239 GB, free: 8.23 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.318e-05/0.003307, allocations: 105 kB / 0.624 GB, free: 8.121 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.417e-05/0.003331, allocations: 112.9 kB / 0.6241 GB, free: 8.004 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.839e-05/0.003369, allocations: 176.3 kB / 0.6243 GB, free: 7.824 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.591e-05/0.003415, allocations: 184.2 kB / 0.6244 GB, free: 7.637 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002875/0.003703, allocations: 184.1 kB / 0.6246 GB, free: 7.449 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.952e-05/0.003742, allocations: 192.2 kB / 0.6248 GB, free: 7.254 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.696e-05/0.003819, allocations: 295.8 kB / 0.6251 GB, free: 6.941 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 2.757e-05/0.003847, allocations: 104.9 kB / 0.6252 GB, free: 6.832 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.316e-05/0.00389, allocations: 184.2 kB / 0.6253 GB, free: 6.645 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.266e-05/0.003933, allocations: 108.9 kB / 0.6255 GB, free: 6.531 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.055e-05/0.003973, allocations: 184.3 kB / 0.6256 GB, free: 6.344 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.113e-05/0.003994, allocations: 105 kB / 0.6257 GB, free: 6.234 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.315e-05/0.004017, allocations: 79.28 kB / 0.6258 GB, free: 6.156 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.004017, allocations: 0 / 0.6258 GB, free: 6.156 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001536/0.004171, allocations: 3.953 kB / 0.6258 GB, free: 6.152 MB / 0.5886 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.491e-05/0.004256, allocations: 174.5 kB / 0.626 GB, free: 5.973 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 3.625e-05/0.004292, allocations: 3.984 kB / 0.626 GB, free: 5.969 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.402e-06/0.004294, allocations: 0 / 0.626 GB, free: 5.969 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 9.32e-07/0.004294, allocations: 0 / 0.626 GB, free: 5.969 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002286/0.004523, allocations: 461.6 kB / 0.6264 GB, free: 5.516 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001873/0.00471, allocations: 182 kB / 0.6266 GB, free: 5.305 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.458e-05/0.004745, allocations: 55.36 kB / 0.6266 GB, free: 5.23 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.338e-06/0.004754, allocations: 8.5 kB / 0.6267 GB, free: 5.223 MB / 0.5886 GB Notification: Performance of SimCode: time 4.01e-07/0.004755, allocations: 0 / 0.6267 GB, free: 5.223 MB / 0.5886 GB Notification: Performance of Templates: time 0.0009992/0.005754, allocations: 330.4 kB / 0.627 GB, free: 4.902 MB / 0.5886 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: 4.883447516709566] Failed to read output from testmodel.py, exit status != 0: 0.010201781988143921 0.018310764 0.015230042000000001 Calling exit ...