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.001282/0.001282, allocations: 78.09 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.001443/0.001443, allocations: 164.8 kB / 22.46 MB, free: 5.367 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.426/1.426, allocations: 177.2 MB / 202.8 MB, free: 9.152 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.185/1.185, allocations: 154.7 MB / 413.9 MB, free: 5.137 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 5.48e-06/5.48e-06, allocations: 0 / 0.6188 GB, free: 4.523 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.337e-05/3.885e-05, allocations: 6.219 kB / 0.6188 GB, free: 4.516 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Nand): time 0.001998/0.002037, allocations: 0.6298 MB / 0.6194 GB, free: 3.898 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002001/0.004038, allocations: 1.217 MB / 0.6206 GB, free: 2.668 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.111e-05/0.004089, allocations: 3.938 kB / 0.6206 GB, free: 2.664 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.123e-05/0.00412, allocations: 3.938 kB / 0.6206 GB, free: 2.66 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 8.408e-05/0.004204, allocations: 19.84 kB / 0.6206 GB, free: 2.641 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006644/0.004869, allocations: 214.2 kB / 0.6208 GB, free: 2.438 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002938/0.005163, allocations: 179.6 kB / 0.621 GB, free: 2.262 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 9.361e-05/0.005256, allocations: 4 kB / 0.621 GB, free: 2.258 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001425/0.005399, allocations: 91.92 kB / 0.6211 GB, free: 2.168 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001344/0.005533, allocations: 51.84 kB / 0.6211 GB, free: 2.117 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.394e-05/0.005567, allocations: 16 kB / 0.6211 GB, free: 2.102 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 7.772e-05/0.005645, allocations: 31.98 kB / 0.6212 GB, free: 2.07 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.22e-05/0.005667, allocations: 4 kB / 0.6212 GB, free: 2.066 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 9.845e-05/0.005766, allocations: 55.94 kB / 0.6212 GB, free: 2.012 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002726/0.006038, allocations: 183.5 kB / 0.6214 GB, free: 1.832 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.006042, allocations: 0 / 0.6214 GB, free: 1.832 MB / 0.5294 GB Notification: Performance of FrontEnd: time 9.62e-07/0.006043, allocations: 0 / 0.6214 GB, free: 1.832 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.941e-06/0.006049, allocations: 0 / 0.6214 GB, free: 1.832 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.0005849/0.006634, allocations: 361.5 kB / 0.6217 GB, free: 1.434 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.28e-05/0.006677, allocations: 8.031 kB / 0.6217 GB, free: 1.426 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.722e-05/0.006744, allocations: 12.89 kB / 0.6217 GB, free: 1.414 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001263/0.00687, allocations: 117.7 kB / 0.6219 GB, free: 1.273 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.306e-05/0.006893, allocations: 8.359 kB / 0.6219 GB, free: 1.266 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.035e-05/0.006924, allocations: 12.38 kB / 0.6219 GB, free: 1.254 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001181/0.007042, allocations: 42.25 kB / 0.6219 GB, free: 1.207 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/0.007052, allocations: 192 / 0.6219 GB, free: 1.207 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.045e-05/0.007063, allocations: 4.375 kB / 0.6219 GB, free: 1.203 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.857e-06/0.007066, allocations: 384 / 0.6219 GB, free: 1.203 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.096e-05/0.007117, allocations: 27.8 kB / 0.622 GB, free: 1.176 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005305/0.007648, allocations: 268.5 kB / 0.6222 GB, free: 0.8828 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 8.881e-05/0.007737, allocations: 30.67 kB / 0.6222 GB, free: 0.8438 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.901e-05/0.007776, allocations: 20.84 kB / 0.6223 GB, free: 0.8203 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.28e-05/0.007789, allocations: 4 kB / 0.6223 GB, free: 0.8164 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001939/0.007982, allocations: 83.25 kB / 0.6223 GB, free: 0.7227 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=7): time 1.613e-06/0.007984, allocations: 0 / 0.6223 GB, free: 0.7227 MB / 0.5294 GB Notification: Performance of matching and sorting (n=7): time 0.0002957/0.00828, allocations: 105.6 kB / 0.6224 GB, free: 0.6133 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.3e-05/0.008333, allocations: 59.34 kB / 0.6225 GB, free: 0.543 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001058/0.008439, allocations: 121.8 kB / 0.6226 GB, free: 424 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.94e-05/0.008478, allocations: 33.64 kB / 0.6226 GB, free: 384 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 7.413e-05/0.008552, allocations: 92.09 kB / 0.6227 GB, free: 288 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.044e-05/0.008573, allocations: 19.83 kB / 0.6228 GB, free: 268 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.089e-05/0.008663, allocations: 49.69 kB / 0.6228 GB, free: 212 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001784/0.008842, allocations: 318.8 kB / 0.6231 GB, free: 15.89 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001787/0.009021, allocations: 119.4 kB / 0.6232 GB, free: 15.76 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001985/0.009219, allocations: 151.7 kB / 0.6234 GB, free: 15.58 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002117/0.009431, allocations: 159.6 kB / 0.6235 GB, free: 15.4 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.009433, allocations: 0 / 0.6235 GB, free: 15.4 MB / 0.545 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004697/0.009902, allocations: 328.3 kB / 0.6238 GB, free: 15.05 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 6.934e-05/0.009972, allocations: 67.39 kB / 0.6239 GB, free: 14.97 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.116e-06/0.00998, allocations: 4 kB / 0.6239 GB, free: 14.96 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.698e-05/0.009997, allocations: 0 / 0.6239 GB, free: 14.96 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.494e-05/0.01002, allocations: 8.406 kB / 0.6239 GB, free: 14.96 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.699e-06/0.01003, allocations: 3.984 kB / 0.6239 GB, free: 14.95 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003284/0.01036, allocations: 59.95 kB / 0.624 GB, free: 14.89 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.155e-05/0.01039, allocations: 16.05 kB / 0.624 GB, free: 14.88 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.0001226/0.01051, allocations: 127.7 kB / 0.6241 GB, free: 14.75 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.471e-05/0.01053, allocations: 11.83 kB / 0.6241 GB, free: 14.73 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.283e-05/0.01056, allocations: 12.44 kB / 0.6241 GB, free: 14.72 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.285e-06/0.01056, allocations: 0 / 0.6241 GB, free: 14.72 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.01057, allocations: 0 / 0.6241 GB, free: 14.72 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.01057, allocations: 0 / 0.6241 GB, free: 14.72 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000116/0.01069, allocations: 121.3 kB / 0.6242 GB, free: 14.57 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.01069, allocations: 3.984 kB / 0.6242 GB, free: 14.57 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.085e-06/0.0107, allocations: 3.938 kB / 0.6242 GB, free: 14.56 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.526e-06/0.0107, allocations: 7.938 kB / 0.6243 GB, free: 14.55 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.127e-06/0.01071, allocations: 7.938 kB / 0.6243 GB, free: 14.55 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.01071, allocations: 0 / 0.6243 GB, free: 14.55 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.01071, allocations: 0 / 0.6243 GB, free: 14.55 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001636/0.01088, allocations: 109.1 kB / 0.6244 GB, free: 14.42 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 9.919e-06/0.01089, allocations: 4 kB / 0.6244 GB, free: 14.42 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.755e-05/0.0109, allocations: 3.938 kB / 0.6244 GB, free: 14.41 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.884e-05/0.01092, allocations: 0 / 0.6244 GB, free: 14.41 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.557e-05/0.01097, allocations: 7.984 kB / 0.6244 GB, free: 14.41 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.183e-06/0.01098, allocations: 4 kB / 0.6244 GB, free: 14.4 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.765e-05/0.01103, allocations: 91.27 kB / 0.6245 GB, free: 14.31 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.01103, allocations: 8 kB / 0.6245 GB, free: 14.3 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002333/0.01127, allocations: 27.94 kB / 0.6245 GB, free: 14.28 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.0001523/0.01142, allocations: 103.2 kB / 0.6246 GB, free: 14.17 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.000425/0.01184, allocations: 282.1 kB / 0.6249 GB, free: 13.86 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.01185, allocations: 0 / 0.6249 GB, free: 13.86 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 9.31e-05/0.01194, allocations: 23.98 kB / 0.6249 GB, free: 13.83 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002494/0.01219, allocations: 23.25 kB / 0.6249 GB, free: 13.81 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003707/0.01256, allocations: 153.7 kB / 0.6251 GB, free: 13.63 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001072/0.01267, allocations: 71.33 kB / 0.6251 GB, free: 13.54 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.537e-05/0.01269, allocations: 4 kB / 0.6251 GB, free: 13.54 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.364e-05/0.01272, allocations: 16.44 kB / 0.6252 GB, free: 13.52 MB / 0.545 GB Notification: Performance of SimCode: time 3.9e-07/0.01272, allocations: 0 / 0.6252 GB, free: 13.52 MB / 0.545 GB Notification: Performance of Templates: time 0.00514/0.01786, allocations: 2.063 MB / 0.6272 GB, free: 11.53 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.658258916810155] Failed to read output from testmodel.py, exit status != 0: 0.026188287883996964 0.041038073 0.03196749 Calling exit ...