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.00155/0.00155, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001707/0.001707, allocations: 214.6 kB / 22.24 MB, free: 5.262 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.552/1.552, allocations: 230.6 MB / 256 MB, free: 7.781 MB / 206.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.293/1.293, allocations: 203.5 MB / 0.5038 GB, free: 4.891 MB / 414.1 MB " [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: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003172/0.003172, allocations: 59.91 kB / 0.7183 GB, free: 2.324 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6039/0.607, allocations: 102 MB / 0.8179 GB, free: 29.08 MB / 0.6387 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Nand): time 0.001707/0.6087, allocations: 0.6356 MB / 0.8185 GB, free: 28.71 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.001371/0.6101, allocations: 1.207 MB / 0.8197 GB, free: 27.85 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.281e-05/0.6102, allocations: 0.7656 kB / 0.8197 GB, free: 27.85 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 2.849e-05/0.6102, allocations: 5.125 kB / 0.8197 GB, free: 27.84 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 6.599e-05/0.6103, allocations: 15.31 kB / 0.8197 GB, free: 27.83 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006392/0.6109, allocations: 223.2 kB / 0.8199 GB, free: 27.72 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0002228/0.6111, allocations: 167.5 kB / 0.82 GB, free: 27.66 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 8.677e-05/0.6112, allocations: 7.219 kB / 0.8201 GB, free: 27.66 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 9.787e-05/0.6113, allocations: 69.19 kB / 0.8201 GB, free: 27.63 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000124/0.6114, allocations: 64.66 kB / 0.8202 GB, free: 27.61 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 3.647e-05/0.6115, allocations: 15.66 kB / 0.8202 GB, free: 27.61 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 7.649e-05/0.6115, allocations: 22.91 kB / 0.8202 GB, free: 27.61 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 2.107e-05/0.6116, allocations: 9.5 kB / 0.8202 GB, free: 27.61 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 7.76e-05/0.6116, allocations: 55.98 kB / 0.8203 GB, free: 27.58 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0002048/0.6119, allocations: 146.7 kB / 0.8204 GB, free: 27.54 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.6119, allocations: 1.531 kB / 0.8204 GB, free: 27.54 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.254e-06/0.6119, allocations: 0 / 0.8204 GB, free: 27.54 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 6.172e-06/0.6119, allocations: 0.7188 kB / 0.8204 GB, free: 27.54 MB / 0.6387 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.0004876/0.6124, allocations: 363 kB / 0.8208 GB, free: 27.19 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.516e-05/0.6124, allocations: 10.31 kB / 0.8208 GB, free: 27.19 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.883e-05/0.6125, allocations: 13.25 kB / 0.8208 GB, free: 27.18 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.576e-05/0.6125, allocations: 114.9 kB / 0.8209 GB, free: 27.05 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.141e-05/0.6126, allocations: 5.516 kB / 0.8209 GB, free: 27.05 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.207e-05/0.6126, allocations: 10.73 kB / 0.8209 GB, free: 27.05 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001257/0.6127, allocations: 53.56 kB / 0.821 GB, free: 27.01 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.6127, allocations: 2.25 kB / 0.821 GB, free: 27.01 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.338e-05/0.6128, allocations: 5.188 kB / 0.821 GB, free: 27 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.212e-06/0.6128, allocations: 1.984 kB / 0.821 GB, free: 27 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.677e-05/0.6128, allocations: 12.81 kB / 0.821 GB, free: 27 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004786/0.6133, allocations: 270.8 kB / 0.8212 GB, free: 26.77 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 9.814e-05/0.6134, allocations: 35.05 kB / 0.8213 GB, free: 26.74 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.38e-05/0.6134, allocations: 22.75 kB / 0.8213 GB, free: 26.72 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 1.292e-05/0.6134, allocations: 5.766 kB / 0.8213 GB, free: 26.71 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000186/0.6136, allocations: 79.3 kB / 0.8214 GB, free: 26.66 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=7): time 1.512e-06/0.6136, allocations: 0 / 0.8214 GB, free: 26.66 MB / 0.6387 GB Notification: Performance of matching and sorting (n=7): time 0.000273/0.6139, allocations: 108.8 kB / 0.8215 GB, free: 26.6 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.945e-05/0.6139, allocations: 62.42 kB / 0.8215 GB, free: 26.53 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.742e-05/0.614, allocations: 117.8 kB / 0.8217 GB, free: 26.43 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 3.321e-05/0.614, allocations: 34.33 kB / 0.8217 GB, free: 26.39 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 5.666e-05/0.6141, allocations: 90.47 kB / 0.8218 GB, free: 26.3 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 1.742e-05/0.6141, allocations: 14.98 kB / 0.8218 GB, free: 26.29 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000128/0.6142, allocations: 49.67 kB / 0.8218 GB, free: 26.27 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 5.458e-05/0.6143, allocations: 323 kB / 0.8221 GB, free: 25.95 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002017/0.6145, allocations: 120.3 kB / 0.8223 GB, free: 25.87 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002244/0.6147, allocations: 151.2 kB / 0.8224 GB, free: 25.74 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002077/0.6149, allocations: 167 kB / 0.8226 GB, free: 25.6 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.6149, allocations: 0.8125 kB / 0.8226 GB, free: 25.6 MB / 0.6387 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004674/0.6154, allocations: 324.9 kB / 0.8229 GB, free: 25.38 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 4.722e-05/0.6155, allocations: 68.62 kB / 0.8229 GB, free: 25.32 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.114e-06/0.6155, allocations: 5.219 kB / 0.8229 GB, free: 25.31 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.742e-05/0.6155, allocations: 1.062 kB / 0.8229 GB, free: 25.31 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.319e-05/0.6155, allocations: 3.078 kB / 0.823 GB, free: 25.31 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.634e-06/0.6155, allocations: 6.922 kB / 0.823 GB, free: 25.31 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003576/0.6159, allocations: 58.77 kB / 0.823 GB, free: 25.3 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.724e-05/0.6159, allocations: 16.72 kB / 0.823 GB, free: 25.3 MB / 0.6387 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 8.168e-05/0.616, allocations: 124 kB / 0.8231 GB, free: 25.18 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.474e-05/0.616, allocations: 15.39 kB / 0.8232 GB, free: 25.16 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.603e-05/0.616, allocations: 7.375 kB / 0.8232 GB, free: 25.16 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.474e-06/0.616, allocations: 1.562 kB / 0.8232 GB, free: 25.16 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.311e-06/0.616, allocations: 0 / 0.8232 GB, free: 25.16 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.988e-06/0.616, allocations: 0.7969 kB / 0.8232 GB, free: 25.16 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.106e-05/0.6161, allocations: 126.7 kB / 0.8233 GB, free: 25.02 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.6161, allocations: 1.438 kB / 0.8233 GB, free: 25.02 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.014e-05/0.6161, allocations: 2.203 kB / 0.8233 GB, free: 25.02 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.6161, allocations: 0 / 0.8233 GB, free: 25.02 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.052e-05/0.6161, allocations: 2.609 kB / 0.8233 GB, free: 25.02 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.6161, allocations: 1.438 kB / 0.8233 GB, free: 25.02 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.6161, allocations: 0 / 0.8233 GB, free: 25.02 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001327/0.6163, allocations: 112.5 kB / 0.8234 GB, free: 24.94 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 1.149e-05/0.6163, allocations: 10.42 kB / 0.8234 GB, free: 24.93 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.798e-05/0.6163, allocations: 5.891 kB / 0.8234 GB, free: 24.93 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.355e-05/0.6163, allocations: 5.5 kB / 0.8234 GB, free: 24.93 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.169e-05/0.6164, allocations: 10.25 kB / 0.8234 GB, free: 24.92 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.685e-06/0.6164, allocations: 3.531 kB / 0.8234 GB, free: 24.92 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 3.349e-05/0.6164, allocations: 90.45 kB / 0.8235 GB, free: 24.84 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1e-07/0.6164, allocations: 0 / 0.8235 GB, free: 24.84 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0002483/0.6167, allocations: 32.42 kB / 0.8236 GB, free: 24.84 MB / 0.6387 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.0001141/0.6168, allocations: 103.3 kB / 0.8237 GB, free: 24.75 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0003391/0.6171, allocations: 280.4 kB / 0.8239 GB, free: 24.52 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.6171, allocations: 1.125 kB / 0.8239 GB, free: 24.52 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 4.48e-05/0.6172, allocations: 24.14 kB / 0.8239 GB, free: 24.51 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002416/0.6174, allocations: 23.78 kB / 0.824 GB, free: 24.5 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000286/0.6177, allocations: 154.6 kB / 0.8241 GB, free: 24.36 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.307e-05/0.6177, allocations: 74.64 kB / 0.8242 GB, free: 24.29 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 2.538e-05/0.6178, allocations: 7.906 kB / 0.8242 GB, free: 24.28 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.056e-05/0.6178, allocations: 13.02 kB / 0.8242 GB, free: 24.27 MB / 0.6387 GB Notification: Performance of SimCode: time 2.91e-07/0.6178, allocations: 0 / 0.8242 GB, free: 24.27 MB / 0.6387 GB Notification: Performance of Templates: time 0.005473/0.6233, allocations: 2.081 MB / 0.8262 GB, free: 24.03 MB / 0.6387 GB " [Timeout remaining time 659] 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: 7.063176492229104] Failed to read output from testmodel.py, exit status != 0: 0.6331653948873281 0.644644032 0.029872640000000002 Calling exit ...