Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.And.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.00132/0.00132, allocations: 84.05 kB / 19.18 MB, free: 2.527 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.001418/0.001418, allocations: 168.1 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.435/1.435, allocations: 177.1 MB / 202.8 MB, free: 9.184 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.18/1.18, allocations: 154.6 MB / 413.8 MB, free: 5.227 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.Validation.And,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.And") translateModel(IDEAS.Controls.OBC.CDL.Logical.Validation.And,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.And") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.074e-06/2.074e-06, allocations: 0 / 0.6186 GB, free: 4.582 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.942e-05/3.149e-05, allocations: 4.672 kB / 0.6186 GB, free: 4.578 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.And): time 0.001694/0.001726, allocations: 0.6173 MB / 0.6192 GB, free: 3.973 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001814/0.00354, allocations: 1.211 MB / 0.6204 GB, free: 2.75 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.464e-05/0.003594, allocations: 4 kB / 0.6204 GB, free: 2.746 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.417e-05/0.003629, allocations: 7.922 kB / 0.6204 GB, free: 2.738 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 7.391e-05/0.003702, allocations: 11.92 kB / 0.6204 GB, free: 2.727 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.000705/0.004407, allocations: 222.6 kB / 0.6206 GB, free: 2.516 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002561/0.004663, allocations: 183.6 kB / 0.6208 GB, free: 2.336 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 9.715e-05/0.004761, allocations: 4 kB / 0.6208 GB, free: 2.332 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001478/0.004908, allocations: 91.92 kB / 0.6209 GB, free: 2.242 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001376/0.005046, allocations: 55.84 kB / 0.6209 GB, free: 2.188 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 4.525e-05/0.005091, allocations: 16 kB / 0.621 GB, free: 2.172 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 8.225e-05/0.005174, allocations: 23.98 kB / 0.621 GB, free: 2.148 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.692e-05/0.0052, allocations: 11.98 kB / 0.621 GB, free: 2.137 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 9.276e-05/0.005293, allocations: 47.89 kB / 0.621 GB, free: 2.09 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002771/0.00557, allocations: 195.5 kB / 0.6212 GB, free: 1.898 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.005574, allocations: 0 / 0.6212 GB, free: 1.898 MB / 0.5294 GB Notification: Performance of FrontEnd: time 9.02e-07/0.005575, allocations: 0 / 0.6212 GB, free: 1.898 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.047e-06/0.005579, allocations: 0 / 0.6212 GB, free: 1.898 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005556/0.006135, allocations: 353.6 kB / 0.6216 GB, free: 1.508 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.773e-05/0.006172, allocations: 8.031 kB / 0.6216 GB, free: 1.5 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.347e-05/0.006236, allocations: 16.89 kB / 0.6216 GB, free: 1.484 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001272/0.006363, allocations: 117.7 kB / 0.6217 GB, free: 1.344 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.472e-05/0.006378, allocations: 4.375 kB / 0.6217 GB, free: 1.34 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.747e-05/0.006415, allocations: 12.38 kB / 0.6217 GB, free: 1.328 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001183/0.006534, allocations: 54.23 kB / 0.6218 GB, free: 1.27 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.006543, allocations: 192 / 0.6218 GB, free: 1.27 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.252e-05/0.006556, allocations: 4.359 kB / 0.6218 GB, free: 1.266 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-06/0.00656, allocations: 384 / 0.6218 GB, free: 1.266 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.504e-05/0.006605, allocations: 19.88 kB / 0.6218 GB, free: 1.246 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004597/0.007065, allocations: 268.5 kB / 0.622 GB, free: 0.9531 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 8.886e-05/0.007154, allocations: 38.56 kB / 0.6221 GB, free: 0.9062 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.841e-05/0.007182, allocations: 8.859 kB / 0.6221 GB, free: 0.8945 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.013e-05/0.007192, allocations: 4 kB / 0.6221 GB, free: 0.8906 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001558/0.007348, allocations: 87.33 kB / 0.6222 GB, free: 0.793 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=7): time 1.292e-06/0.007349, allocations: 4 kB / 0.6222 GB, free: 0.7891 MB / 0.5294 GB Notification: Performance of matching and sorting (n=7): time 0.0002903/0.00764, allocations: 105.6 kB / 0.6223 GB, free: 0.6797 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.023e-05/0.00769, allocations: 55.39 kB / 0.6223 GB, free: 0.6133 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001038/0.007794, allocations: 117.8 kB / 0.6224 GB, free: 500 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.005e-05/0.007834, allocations: 33.64 kB / 0.6225 GB, free: 460 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 7.691e-05/0.007911, allocations: 96.09 kB / 0.6226 GB, free: 360 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.274e-05/0.007933, allocations: 23.81 kB / 0.6226 GB, free: 336 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.921e-05/0.008033, allocations: 49.69 kB / 0.6226 GB, free: 280 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001583/0.008191, allocations: 314.8 kB / 0.6229 GB, free: 15.96 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001774/0.008368, allocations: 119.4 kB / 0.623 GB, free: 15.83 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002069/0.008575, allocations: 155.7 kB / 0.6232 GB, free: 15.65 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002114/0.008787, allocations: 159.6 kB / 0.6233 GB, free: 15.46 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.008789, allocations: 0 / 0.6233 GB, free: 15.46 MB / 0.545 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005007/0.00929, allocations: 324.2 kB / 0.6237 GB, free: 15.12 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 7.296e-05/0.009363, allocations: 71.33 kB / 0.6237 GB, free: 15.04 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.009367, allocations: 0 / 0.6237 GB, free: 15.04 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.247e-05/0.00939, allocations: 8.125 kB / 0.6237 GB, free: 15.03 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.38e-05/0.009414, allocations: 7.922 kB / 0.6237 GB, free: 15.02 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.013e-06/0.009421, allocations: 4 kB / 0.6237 GB, free: 15.02 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000361/0.009782, allocations: 55.89 kB / 0.6238 GB, free: 14.96 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.399e-05/0.009816, allocations: 11.98 kB / 0.6238 GB, free: 14.95 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,and1.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 2 * 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.0001205/0.009936, allocations: 120.2 kB / 0.6239 GB, free: 14.82 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.723e-05/0.009953, allocations: 11.89 kB / 0.6239 GB, free: 14.81 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.907e-05/0.009983, allocations: 12.44 kB / 0.6239 GB, free: 14.8 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.512e-06/0.009984, allocations: 0 / 0.6239 GB, free: 14.8 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/0.009989, allocations: 4 kB / 0.624 GB, free: 14.79 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.009992, allocations: 3.938 kB / 0.624 GB, free: 14.79 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001195/0.01011, allocations: 117.3 kB / 0.6241 GB, free: 14.64 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.01011, allocations: 64 / 0.6241 GB, free: 14.64 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.208e-05/0.01012, allocations: 8 kB / 0.6241 GB, free: 14.64 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.701e-06/0.01013, allocations: 3.938 kB / 0.6241 GB, free: 14.63 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.704e-06/0.01014, allocations: 3.938 kB / 0.6241 GB, free: 14.63 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.01014, allocations: 0 / 0.6241 GB, free: 14.63 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.01014, allocations: 4 kB / 0.6241 GB, free: 14.62 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001741/0.01031, allocations: 117 kB / 0.6242 GB, free: 14.49 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 8.115e-06/0.01032, allocations: 0 / 0.6242 GB, free: 14.49 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.883e-05/0.01034, allocations: 3.938 kB / 0.6242 GB, free: 14.49 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.114e-05/0.01036, allocations: 7.984 kB / 0.6242 GB, free: 14.48 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.83e-05/0.0104, allocations: 4 kB / 0.6242 GB, free: 14.48 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.925e-06/0.01041, allocations: 4 kB / 0.6242 GB, free: 14.47 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.621e-05/0.01046, allocations: 91.27 kB / 0.6243 GB, free: 14.38 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.01046, allocations: 0 / 0.6243 GB, free: 14.38 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002469/0.01071, allocations: 31.94 kB / 0.6243 GB, free: 14.35 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: 7 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,and1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001555/0.01087, allocations: 111.2 kB / 0.6244 GB, free: 14.23 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003903/0.01126, allocations: 278.1 kB / 0.6247 GB, free: 13.93 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.01126, allocations: 0 / 0.6247 GB, free: 13.93 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 4.898e-05/0.01131, allocations: 16 kB / 0.6247 GB, free: 13.91 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002292/0.01154, allocations: 18.17 kB / 0.6247 GB, free: 13.89 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003308/0.01187, allocations: 164.5 kB / 0.6249 GB, free: 13.71 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.984e-05/0.01194, allocations: 75.58 kB / 0.625 GB, free: 13.61 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.358e-05/0.01196, allocations: 4 kB / 0.625 GB, free: 13.61 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.468e-05/0.01199, allocations: 12.5 kB / 0.625 GB, free: 13.6 MB / 0.545 GB Notification: Performance of SimCode: time 4.81e-07/0.01199, allocations: 288 / 0.625 GB, free: 13.6 MB / 0.545 GB Notification: Performance of Templates: time 0.005004/0.01699, allocations: 2.034 MB / 0.627 GB, free: 11.63 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.And.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.And.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.And.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.And.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.And.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.And -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.And.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.678853619843721] Failed to read output from testmodel.py, exit status != 0: 0.027161210775375366 0.05379389800000001 0.044723676000000004 Calling exit ...