Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Nand.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.001316/0.001316, allocations: 80.92 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.001486/0.001486, allocations: 163.8 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.451/1.451, 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.186/1.186, allocations: 154.6 MB / 413.8 MB, free: 5.234 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.Nand,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Nand") translateModel(IDEAS.Controls.OBC.CDL.Logical.Validation.Nand,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Nand") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.743e-06/1.743e-06, allocations: 0 / 0.6186 GB, free: 4.57 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.399e-05/2.573e-05, allocations: 2.281 kB / 0.6186 GB, free: 4.566 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Nand): time 0.001675/0.001701, allocations: 0.6323 MB / 0.6192 GB, free: 3.945 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001719/0.00342, allocations: 1.213 MB / 0.6204 GB, free: 2.719 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.983e-05/0.003459, allocations: 4 kB / 0.6204 GB, free: 2.715 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.985e-05/0.003489, allocations: 3.938 kB / 0.6204 GB, free: 2.711 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 6.726e-05/0.003557, allocations: 7.938 kB / 0.6204 GB, free: 2.703 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006139/0.00417, allocations: 221.5 kB / 0.6206 GB, free: 2.492 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002307/0.004401, allocations: 175.7 kB / 0.6208 GB, free: 2.32 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 8.056e-05/0.004482, allocations: 7.984 kB / 0.6208 GB, free: 2.312 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001631/0.004645, allocations: 95.86 kB / 0.6209 GB, free: 2.219 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000125/0.00477, allocations: 55.91 kB / 0.6209 GB, free: 2.164 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 4.108e-05/0.004811, allocations: 16 kB / 0.6209 GB, free: 2.148 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 8.603e-05/0.004897, allocations: 31.86 kB / 0.621 GB, free: 2.117 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.258e-05/0.00492, allocations: 8 kB / 0.621 GB, free: 2.109 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 8.31e-05/0.005003, allocations: 47.95 kB / 0.621 GB, free: 2.062 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002628/0.005266, allocations: 183.5 kB / 0.6212 GB, free: 1.883 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.005269, allocations: 0 / 0.6212 GB, free: 1.883 MB / 0.5294 GB Notification: Performance of FrontEnd: time 6.71e-07/0.005269, allocations: 0 / 0.6212 GB, free: 1.883 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 3.948e-06/0.005273, allocations: 0 / 0.6212 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.0005268/0.0058, allocations: 357.5 kB / 0.6215 GB, free: 1.488 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.514e-05/0.005835, allocations: 16.03 kB / 0.6216 GB, free: 1.473 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.992e-05/0.005895, allocations: 12.89 kB / 0.6216 GB, free: 1.461 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000108/0.006003, allocations: 113.7 kB / 0.6217 GB, free: 1.324 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.052e-05/0.006024, allocations: 8.375 kB / 0.6217 GB, free: 1.316 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.107e-05/0.006055, allocations: 12.36 kB / 0.6217 GB, free: 1.305 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001078/0.006163, allocations: 54.17 kB / 0.6218 GB, free: 1.246 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/0.006171, allocations: 192 / 0.6218 GB, free: 1.246 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.445e-06/0.006179, allocations: 384 / 0.6218 GB, free: 1.246 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.767e-06/0.006183, allocations: 4.375 kB / 0.6218 GB, free: 1.242 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.087e-05/0.006224, allocations: 15.94 kB / 0.6218 GB, free: 1.227 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004388/0.006662, allocations: 268.4 kB / 0.622 GB, free: 0.9336 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 7.999e-05/0.006742, allocations: 42.56 kB / 0.6221 GB, free: 0.8828 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.659e-05/0.006769, allocations: 12.8 kB / 0.6221 GB, free: 0.8672 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.225e-05/0.006781, allocations: 8.078 kB / 0.6221 GB, free: 0.8594 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001608/0.006942, allocations: 83.3 kB / 0.6222 GB, free: 0.7656 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=7): time 1.493e-06/0.006944, allocations: 0 / 0.6222 GB, free: 0.7656 MB / 0.5294 GB Notification: Performance of matching and sorting (n=7): time 0.0002551/0.007199, allocations: 109.6 kB / 0.6223 GB, free: 0.6523 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.954e-05/0.007248, allocations: 55.34 kB / 0.6223 GB, free: 0.5859 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001091/0.007357, allocations: 121.8 kB / 0.6224 GB, free: 468 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.651e-05/0.007394, allocations: 33.69 kB / 0.6225 GB, free: 428 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 6.989e-05/0.007464, allocations: 92.09 kB / 0.6226 GB, free: 332 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.826e-05/0.007482, allocations: 23.84 kB / 0.6226 GB, free: 308 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.54e-05/0.007577, allocations: 45.69 kB / 0.6226 GB, free: 256 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001712/0.007749, allocations: 322.8 kB / 0.6229 GB, free: 15.93 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001764/0.007925, allocations: 115.4 kB / 0.6231 GB, free: 15.8 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002071/0.008132, allocations: 155.7 kB / 0.6232 GB, free: 15.62 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002085/0.008341, allocations: 151.6 kB / 0.6233 GB, free: 15.45 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.008343, allocations: 0 / 0.6233 GB, free: 15.45 MB / 0.545 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005151/0.008858, allocations: 332.2 kB / 0.6237 GB, free: 15.09 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 6.335e-05/0.008921, allocations: 67.39 kB / 0.6237 GB, free: 15.01 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.167e-06/0.008925, allocations: 0 / 0.6237 GB, free: 15.01 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.346e-05/0.008939, allocations: 4 kB / 0.6237 GB, free: 15.01 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.698e-05/0.008956, allocations: 3.938 kB / 0.6237 GB, free: 15 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.358e-06/0.00896, allocations: 4 kB / 0.6237 GB, free: 15 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003429/0.009303, allocations: 60.02 kB / 0.6238 GB, free: 14.94 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.207e-05/0.009335, allocations: 12.45 kB / 0.6238 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,nand1.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.0001152/0.00945, allocations: 119.7 kB / 0.6239 GB, free: 14.8 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.682e-05/0.009467, allocations: 11.89 kB / 0.6239 GB, free: 14.79 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.024e-05/0.009497, allocations: 12.42 kB / 0.6239 GB, free: 14.78 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.502e-06/0.009499, allocations: 4 kB / 0.6239 GB, free: 14.77 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.009503, allocations: 3.938 kB / 0.6239 GB, free: 14.77 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.009506, allocations: 64 / 0.6239 GB, free: 14.77 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001122/0.009618, allocations: 121.3 kB / 0.6241 GB, free: 14.62 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.009619, allocations: 11.94 kB / 0.6241 GB, free: 14.61 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.206e-06/0.009627, allocations: 0 / 0.6241 GB, free: 14.61 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.009631, allocations: 7.875 kB / 0.6241 GB, free: 14.6 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.498e-06/0.00964, allocations: 3.984 kB / 0.6241 GB, free: 14.6 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.009643, allocations: 4 kB / 0.6241 GB, free: 14.59 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.009644, allocations: 0 / 0.6241 GB, free: 14.59 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001518/0.009796, allocations: 105.1 kB / 0.6242 GB, free: 14.47 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 9.308e-06/0.009805, allocations: 3.984 kB / 0.6242 GB, free: 14.47 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.781e-05/0.009823, allocations: 7.938 kB / 0.6242 GB, free: 14.46 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.971e-05/0.009843, allocations: 0 / 0.6242 GB, free: 14.46 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.237e-05/0.009885, allocations: 11.98 kB / 0.6242 GB, free: 14.45 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.48e-06/0.009891, allocations: 4 kB / 0.6242 GB, free: 14.45 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.632e-05/0.009957, allocations: 95.2 kB / 0.6243 GB, free: 14.35 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.009957, allocations: 0 / 0.6243 GB, free: 14.35 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002402/0.0102, allocations: 31.94 kB / 0.6243 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,nand1.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.0001398/0.01034, allocations: 99.25 kB / 0.6244 GB, free: 14.21 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.000396/0.01073, allocations: 282.1 kB / 0.6247 GB, free: 13.9 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.01073, allocations: 0 / 0.6247 GB, free: 13.9 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 4.581e-05/0.01078, allocations: 19.98 kB / 0.6247 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.0002278/0.01101, allocations: 23.95 kB / 0.6247 GB, free: 13.86 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003502/0.01136, allocations: 161.3 kB / 0.6249 GB, free: 13.68 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000104/0.01146, allocations: 67.34 kB / 0.625 GB, free: 13.59 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.764e-05/0.01149, allocations: 7.984 kB / 0.625 GB, free: 13.58 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.097e-05/0.01151, allocations: 12.78 kB / 0.625 GB, free: 13.57 MB / 0.545 GB Notification: Performance of SimCode: time 4.11e-07/0.01151, allocations: 0 / 0.625 GB, free: 13.57 MB / 0.545 GB Notification: Performance of Templates: time 0.005218/0.01673, allocations: 2.029 MB / 0.627 GB, free: 11.61 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Nand.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Nand.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Nand.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Nand.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Nand.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Nand -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Nand.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.64893240109086] Failed to read output from testmodel.py, exit status != 0: 0.025508996099233627 0.040580305000000004 0.032310472 Calling exit ...