Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.001362/0.001362, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001587/0.001587, allocations: 220.4 kB / 22.26 MB, free: 5.125 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.5/1.5, allocations: 230.6 MB / 256 MB, free: 7.984 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 1.341/1.341, allocations: 203.8 MB / 0.5042 GB, free: 4.945 MB / 414.1 MB " [Timeout remaining time 178] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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_dev_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_dev_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.002128/0.002128, allocations: 71.89 kB / 0.7187 GB, free: 2.246 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6395/0.6416, allocations: 102 MB / 0.8183 GB, free: 29.2 MB / 0.6387 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Nand): time 0.001741/0.6433, allocations: 0.648 MB / 0.819 GB, free: 28.8 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.001389/0.6447, allocations: 1.224 MB / 0.8202 GB, free: 27.91 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.997e-05/0.6448, allocations: 1.375 kB / 0.8202 GB, free: 27.91 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 2.583e-05/0.6448, allocations: 4.969 kB / 0.8202 GB, free: 27.91 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 7.042e-05/0.6449, allocations: 16.2 kB / 0.8202 GB, free: 27.9 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006131/0.6455, allocations: 215.5 kB / 0.8204 GB, free: 27.8 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0002401/0.6457, allocations: 171.6 kB / 0.8206 GB, free: 27.72 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 8.447e-05/0.6458, allocations: 9.672 kB / 0.8206 GB, free: 27.72 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001102/0.6459, allocations: 67.28 kB / 0.8206 GB, free: 27.7 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001564/0.6461, allocations: 67.34 kB / 0.8207 GB, free: 27.66 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 3.82e-05/0.6461, allocations: 15.91 kB / 0.8207 GB, free: 27.66 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 8.089e-05/0.6462, allocations: 25.36 kB / 0.8207 GB, free: 27.66 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 2.089e-05/0.6462, allocations: 9.312 kB / 0.8207 GB, free: 27.66 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 8.35e-05/0.6463, allocations: 60.69 kB / 0.8208 GB, free: 27.63 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0002659/0.6466, allocations: 153.8 kB / 0.8209 GB, free: 27.58 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.6466, allocations: 1.062 kB / 0.8209 GB, free: 27.58 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.674e-06/0.6466, allocations: 3.078 kB / 0.8209 GB, free: 27.58 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 5.19e-06/0.6466, allocations: 0.625 kB / 0.8209 GB, free: 27.58 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.0005049/0.6471, allocations: 361.2 kB / 0.8213 GB, free: 27.23 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 5.487e-05/0.6471, allocations: 10.12 kB / 0.8213 GB, free: 27.23 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.661e-05/0.6472, allocations: 13.78 kB / 0.8213 GB, free: 27.23 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.745e-05/0.6473, allocations: 112.3 kB / 0.8214 GB, free: 27.1 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.498e-05/0.6473, allocations: 10.16 kB / 0.8214 GB, free: 27.1 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.098e-05/0.6473, allocations: 9.453 kB / 0.8214 GB, free: 27.1 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001213/0.6475, allocations: 53.14 kB / 0.8215 GB, free: 27.05 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.999e-06/0.6475, allocations: 2.219 kB / 0.8215 GB, free: 27.05 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.32e-05/0.6475, allocations: 9.219 kB / 0.8215 GB, free: 27.05 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.531e-06/0.6475, allocations: 4.531 kB / 0.8215 GB, free: 27.04 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.48e-05/0.6475, allocations: 13.75 kB / 0.8215 GB, free: 27.04 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004665/0.648, allocations: 323.4 kB / 0.8218 GB, free: 26.77 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 7.604e-05/0.6481, allocations: 33.38 kB / 0.8219 GB, free: 26.74 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.375e-05/0.6481, allocations: 20.53 kB / 0.8219 GB, free: 26.72 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 1.307e-05/0.6481, allocations: 0.5938 kB / 0.8219 GB, free: 26.72 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001736/0.6483, allocations: 84.52 kB / 0.822 GB, free: 26.66 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=7): time 2.244e-06/0.6483, allocations: 4.922 kB / 0.822 GB, free: 26.66 MB / 0.6387 GB Notification: Performance of matching and sorting (n=7): time 0.0002633/0.6486, allocations: 102.9 kB / 0.8221 GB, free: 26.61 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.617e-05/0.6486, allocations: 53.75 kB / 0.8221 GB, free: 26.54 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.391e-05/0.6487, allocations: 123.3 kB / 0.8222 GB, free: 26.43 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 3.053e-05/0.6487, allocations: 33.61 kB / 0.8223 GB, free: 26.4 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 5.508e-05/0.6488, allocations: 93.75 kB / 0.8224 GB, free: 26.31 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 1.711e-05/0.6488, allocations: 11.92 kB / 0.8224 GB, free: 26.3 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001165/0.6489, allocations: 48.56 kB / 0.8224 GB, free: 26.28 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 6.129e-05/0.649, allocations: 324.6 kB / 0.8227 GB, free: 25.96 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001592/0.6491, allocations: 60.2 kB / 0.8228 GB, free: 25.94 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001718/0.6493, allocations: 89.95 kB / 0.8229 GB, free: 25.88 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001841/0.6495, allocations: 161.7 kB / 0.823 GB, free: 25.74 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.6495, allocations: 1.312 kB / 0.823 GB, free: 25.74 MB / 0.6387 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003949/0.6499, allocations: 269.4 kB / 0.8233 GB, free: 25.59 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 4.867e-05/0.6499, allocations: 67.97 kB / 0.8233 GB, free: 25.52 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.6499, allocations: 1.375 kB / 0.8233 GB, free: 25.52 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.739e-05/0.65, allocations: 2.594 kB / 0.8233 GB, free: 25.52 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.285e-05/0.65, allocations: 9.812 kB / 0.8234 GB, free: 25.51 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.394e-06/0.65, allocations: 2.891 kB / 0.8234 GB, free: 25.51 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003323/0.6503, allocations: 55.84 kB / 0.8234 GB, free: 25.5 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.227e-05/0.6504, allocations: 15.23 kB / 0.8234 GB, free: 25.5 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.6504, allocations: 127 kB / 0.8235 GB, free: 25.38 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.423e-05/0.6505, allocations: 11.39 kB / 0.8236 GB, free: 25.37 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.399e-05/0.6505, allocations: 6.094 kB / 0.8236 GB, free: 25.37 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.6505, allocations: 1.156 kB / 0.8236 GB, free: 25.37 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.6505, allocations: 4.547 kB / 0.8236 GB, free: 25.36 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.6505, allocations: 0 / 0.8236 GB, free: 25.36 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.996e-05/0.6506, allocations: 151 kB / 0.8237 GB, free: 25.2 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.6506, allocations: 0 / 0.8237 GB, free: 25.2 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.033e-05/0.6506, allocations: 11.03 kB / 0.8237 GB, free: 25.19 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.383e-06/0.6506, allocations: 0 / 0.8237 GB, free: 25.19 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.628e-06/0.6506, allocations: 2.172 kB / 0.8237 GB, free: 25.19 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.6506, allocations: 1.75 kB / 0.8237 GB, free: 25.19 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.724e-06/0.6506, allocations: 4 kB / 0.8237 GB, free: 25.18 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001325/0.6507, allocations: 112.5 kB / 0.8238 GB, free: 25.1 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 9.798e-06/0.6508, allocations: 2.312 kB / 0.8238 GB, free: 25.1 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.637e-05/0.6508, allocations: 2.078 kB / 0.8238 GB, free: 25.1 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.945e-05/0.6508, allocations: 4.656 kB / 0.8238 GB, free: 25.09 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.666e-05/0.6509, allocations: 9.781 kB / 0.8239 GB, free: 25.09 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.604e-06/0.6509, allocations: 4.078 kB / 0.8239 GB, free: 25.09 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 3.665e-05/0.6509, allocations: 89.7 kB / 0.8239 GB, free: 25.01 MB / 0.6387 GB Notification: Performance of sort global known variables: time 7e-08/0.6509, allocations: 0 / 0.8239 GB, free: 25.01 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0002379/0.6511, allocations: 28.25 kB / 0.824 GB, free: 25.01 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.0001334/0.6513, allocations: 115.1 kB / 0.8241 GB, free: 24.91 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.000322/0.6516, allocations: 223.8 kB / 0.8243 GB, free: 24.74 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.6516, allocations: 288 / 0.8243 GB, free: 24.74 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 4.742e-05/0.6516, allocations: 23.55 kB / 0.8243 GB, free: 24.73 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002305/0.6519, allocations: 20.61 kB / 0.8243 GB, free: 24.73 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003438/0.6522, allocations: 152.9 kB / 0.8245 GB, free: 24.59 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001382/0.6524, allocations: 0.69 MB / 0.8252 GB, free: 23.89 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 2.696e-05/0.6524, allocations: 13.19 kB / 0.8252 GB, free: 23.88 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.106e-05/0.6524, allocations: 14.89 kB / 0.8252 GB, free: 23.87 MB / 0.6387 GB Notification: Performance of SimCode: time 3.5e-07/0.6524, allocations: 1.438 kB / 0.8252 GB, free: 23.87 MB / 0.6387 GB Notification: Performance of Templates: time 0.005511/0.6579, allocations: 1.86 MB / 0.827 GB, free: 23.72 MB / 0.6387 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Nand.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Nand.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Nand.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Nand.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Nand.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Nand -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Nand.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.868131771683693] Failed to read output from testmodel.py, exit status != 0: 0.6664558500051498 0.6807681879999999 0.031041422000000003 Calling exit ...