Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Nor.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.001367/0.001367, allocations: 82.8 kB / 19.18 MB, free: 2.363 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.001563/0.001563, allocations: 175.3 kB / 22.45 MB, free: 4.984 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.429/1.429, allocations: 177.2 MB / 202.8 MB, free: 9.168 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.181/1.181, allocations: 154.7 MB / 413.9 MB, free: 5.184 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.Nor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Nor") translateModel(IDEAS.Controls.OBC.CDL.Logical.Validation.Nor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Nor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.274e-06/2.274e-06, allocations: 0 / 0.6188 GB, free: 4.562 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.735e-05/2.963e-05, allocations: 2.281 kB / 0.6188 GB, free: 4.559 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Nor): time 0.00187/0.0019, allocations: 0.6293 MB / 0.6194 GB, free: 3.941 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001823/0.003722, allocations: 1.213 MB / 0.6206 GB, free: 2.715 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.789e-05/0.00378, allocations: 0 / 0.6206 GB, free: 2.715 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.67e-05/0.003807, allocations: 0 / 0.6206 GB, free: 2.715 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 8.855e-05/0.003895, allocations: 11.88 kB / 0.6206 GB, free: 2.703 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006878/0.004583, allocations: 220.9 kB / 0.6208 GB, free: 2.492 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002648/0.004848, allocations: 171.7 kB / 0.6209 GB, free: 2.324 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001056/0.004954, allocations: 15.97 kB / 0.621 GB, free: 2.309 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001943/0.005148, allocations: 95.86 kB / 0.621 GB, free: 2.215 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001367/0.005285, allocations: 55.84 kB / 0.6211 GB, free: 2.16 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.758e-05/0.005322, allocations: 12 kB / 0.6211 GB, free: 2.148 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 8.058e-05/0.005403, allocations: 31.98 kB / 0.6211 GB, free: 2.117 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.897e-05/0.005422, allocations: 0 / 0.6211 GB, free: 2.117 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 9.362e-05/0.005515, allocations: 59.88 kB / 0.6212 GB, free: 2.059 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002542/0.00577, allocations: 179.6 kB / 0.6214 GB, free: 1.883 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.005773, allocations: 0 / 0.6214 GB, free: 1.883 MB / 0.5294 GB Notification: Performance of FrontEnd: time 8.61e-07/0.005774, allocations: 0 / 0.6214 GB, free: 1.883 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.981e-06/0.00578, allocations: 0 / 0.6214 GB, free: 1.883 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.000605/0.006385, allocations: 361.5 kB / 0.6217 GB, free: 1.484 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.802e-05/0.006433, allocations: 8.031 kB / 0.6217 GB, free: 1.477 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.326e-05/0.006496, allocations: 16.89 kB / 0.6217 GB, free: 1.461 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001388/0.006635, allocations: 117.7 kB / 0.6219 GB, free: 1.32 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.08e-05/0.006656, allocations: 4.375 kB / 0.6219 GB, free: 1.316 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.618e-05/0.006692, allocations: 24.23 kB / 0.6219 GB, free: 1.293 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000133/0.006825, allocations: 46.25 kB / 0.6219 GB, free: 1.242 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/0.006835, allocations: 4.188 kB / 0.6219 GB, free: 1.238 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.099e-05/0.006846, allocations: 384 / 0.6219 GB, free: 1.238 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.119e-06/0.006851, allocations: 384 / 0.6219 GB, free: 1.238 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.169e-05/0.006902, allocations: 19.92 kB / 0.6219 GB, free: 1.219 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004971/0.0074, allocations: 272.5 kB / 0.6222 GB, free: 0.9219 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 9.045e-05/0.00749, allocations: 34.52 kB / 0.6222 GB, free: 0.8789 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.458e-05/0.007525, allocations: 16.94 kB / 0.6223 GB, free: 0.8594 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.24e-05/0.007537, allocations: 0 / 0.6223 GB, free: 0.8594 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001824/0.007719, allocations: 83.31 kB / 0.6223 GB, free: 0.7656 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=7): time 1.182e-06/0.007721, allocations: 4 kB / 0.6223 GB, free: 0.7617 MB / 0.5294 GB Notification: Performance of matching and sorting (n=7): time 0.0002738/0.007994, allocations: 101.6 kB / 0.6224 GB, free: 0.6562 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.508e-05/0.008059, allocations: 59.39 kB / 0.6225 GB, free: 0.5859 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000125/0.008184, allocations: 117.8 kB / 0.6226 GB, free: 472 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.226e-05/0.008227, allocations: 33.7 kB / 0.6226 GB, free: 432 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.000103/0.00833, allocations: 92.09 kB / 0.6227 GB, free: 336 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.189e-05/0.008352, allocations: 15.84 kB / 0.6227 GB, free: 320 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000107/0.008459, allocations: 49.69 kB / 0.6228 GB, free: 264 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0002287/0.008687, allocations: 318.8 kB / 0.6231 GB, free: 15.94 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000197/0.008884, allocations: 123.4 kB / 0.6232 GB, free: 15.8 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002133/0.009098, allocations: 147.7 kB / 0.6233 GB, free: 15.63 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002311/0.009329, allocations: 176 kB / 0.6235 GB, free: 15.43 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.009331, allocations: 0 / 0.6235 GB, free: 15.43 MB / 0.545 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004892/0.00982, allocations: 324.2 kB / 0.6238 GB, free: 15.09 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 6.425e-05/0.009885, allocations: 67.39 kB / 0.6239 GB, free: 15.01 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.009889, allocations: 0 / 0.6239 GB, free: 15.01 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.661e-05/0.009906, allocations: 4.125 kB / 0.6239 GB, free: 15 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.239e-05/0.009928, allocations: 4 kB / 0.6239 GB, free: 15 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.922e-06/0.009934, allocations: 0 / 0.6239 GB, free: 15 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003152/0.01025, allocations: 55.89 kB / 0.624 GB, free: 14.95 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.087e-05/0.01028, allocations: 15.98 kB / 0.624 GB, free: 14.93 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,nor1.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.000107/0.01039, allocations: 123.6 kB / 0.6241 GB, free: 14.8 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.874e-05/0.01041, allocations: 15.88 kB / 0.6241 GB, free: 14.79 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.823e-05/0.01043, allocations: 12.44 kB / 0.6241 GB, free: 14.77 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.01044, allocations: 3.938 kB / 0.6241 GB, free: 14.77 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.01044, allocations: 0 / 0.6241 GB, free: 14.77 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.01044, allocations: 0 / 0.6241 GB, free: 14.77 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001154/0.01056, allocations: 121.3 kB / 0.6242 GB, free: 14.62 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.01056, allocations: 64 / 0.6242 GB, free: 14.62 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.16e-05/0.01057, allocations: 7.984 kB / 0.6242 GB, free: 14.61 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.27e-06/0.01058, allocations: 7.938 kB / 0.6242 GB, free: 14.6 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.903e-06/0.01058, allocations: 0 / 0.6242 GB, free: 14.6 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.01058, allocations: 0 / 0.6242 GB, free: 14.6 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.01058, allocations: 0 / 0.6242 GB, free: 14.6 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001832/0.01077, allocations: 109.1 kB / 0.6243 GB, free: 14.48 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.258e-05/0.01078, allocations: 8 kB / 0.6244 GB, free: 14.47 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.626e-05/0.0108, allocations: 7.875 kB / 0.6244 GB, free: 14.46 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.859e-05/0.01082, allocations: 0 / 0.6244 GB, free: 14.46 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.722e-05/0.01085, allocations: 7.984 kB / 0.6244 GB, free: 14.45 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.157e-06/0.01086, allocations: 8 kB / 0.6244 GB, free: 14.45 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.731e-05/0.01092, allocations: 95.2 kB / 0.6245 GB, free: 14.35 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.01092, allocations: 0 / 0.6245 GB, free: 14.35 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002317/0.01115, allocations: 31.94 kB / 0.6245 GB, free: 14.32 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,nor1.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.0001617/0.01131, allocations: 103.2 kB / 0.6246 GB, free: 14.21 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003865/0.0117, allocations: 274.1 kB / 0.6249 GB, free: 13.91 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 6.131e-06/0.0117, allocations: 4 kB / 0.6249 GB, free: 13.9 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 4.418e-05/0.01175, allocations: 23.97 kB / 0.6249 GB, free: 13.88 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002376/0.01199, allocations: 25.39 kB / 0.6249 GB, free: 13.86 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000346/0.01233, allocations: 153.4 kB / 0.6251 GB, free: 13.68 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.417e-05/0.01242, allocations: 71.59 kB / 0.6251 GB, free: 13.59 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.016e-05/0.01245, allocations: 11.97 kB / 0.6251 GB, free: 13.58 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.772e-05/0.01247, allocations: 12.5 kB / 0.6251 GB, free: 13.57 MB / 0.545 GB Notification: Performance of SimCode: time 3.21e-07/0.01248, allocations: 0 / 0.6251 GB, free: 13.57 MB / 0.545 GB Notification: Performance of Templates: time 0.004914/0.01739, allocations: 2.055 MB / 0.6272 GB, free: 11.58 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Nor.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Nor.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Nor.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Nor.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Nor.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Nor -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Nor.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.643201965838671] Failed to read output from testmodel.py, exit status != 0: 0.025678975507616997 0.040030573 0.031191624 Calling exit ...