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.001445/0.001445, allocations: 82.64 kB / 19.16 MB, free: 2.535 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.001682/0.001682, allocations: 166.5 kB / 22.44 MB, free: 5.34 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.559/1.559, allocations: 177.2 MB / 202.8 MB, free: 9.18 MB / 190.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.202/1.202, allocations: 155 MB / 414.2 MB, free: 4.93 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 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.002138/0.002138, allocations: 71.03 kB / 0.6192 GB, free: 4.121 MB / 0.5294 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of FrontEnd - Absyn->SCode: time 0.5411/0.5433, allocations: 102 MB / 0.7187 GB, free: 1.75 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Nand): time 0.001851/0.5451, allocations: 0.6349 MB / 0.7194 GB, free: 1.355 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001328/0.5465, allocations: 1.208 MB / 0.7205 GB, free: 500 kB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.494e-05/0.5465, allocations: 0 / 0.7205 GB, free: 500 kB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.934e-05/0.5465, allocations: 3.938 kB / 0.7206 GB, free: 496 kB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.781e-05/0.5466, allocations: 20.19 kB / 0.7206 GB, free: 480 kB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006586/0.5473, allocations: 218.6 kB / 0.7208 GB, free: 368 kB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002772/0.5475, allocations: 172.8 kB / 0.7209 GB, free: 292 kB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001185/0.5477, allocations: 10.02 kB / 0.721 GB, free: 288 kB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001649/0.5478, allocations: 96.73 kB / 0.721 GB, free: 244 kB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001525/0.548, allocations: 56.48 kB / 0.7211 GB, free: 224 kB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.983e-05/0.548, allocations: 19.91 kB / 0.7211 GB, free: 220 kB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 8.794e-05/0.5481, allocations: 23.11 kB / 0.7211 GB, free: 220 kB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.733e-05/0.5481, allocations: 9.516 kB / 0.7211 GB, free: 216 kB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 9.428e-05/0.5482, allocations: 64.14 kB / 0.7212 GB, free: 180 kB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003287/0.5486, allocations: 184.8 kB / 0.7214 GB, free: 108 kB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.274e-06/0.5486, allocations: 1.812 kB / 0.7214 GB, free: 108 kB / 0.6075 GB Notification: Performance of FrontEnd: time 1.403e-06/0.5486, allocations: 0 / 0.7214 GB, free: 108 kB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.025e-06/0.5486, allocations: 0 / 0.7214 GB, free: 108 kB / 0.6075 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.0006645/0.5492, allocations: 357.7 kB / 0.7217 GB, free: 15.76 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.49e-05/0.5493, allocations: 10.55 kB / 0.7217 GB, free: 15.76 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.562e-05/0.5494, allocations: 11.86 kB / 0.7218 GB, free: 15.75 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001349/0.5495, allocations: 115.2 kB / 0.7219 GB, free: 15.62 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.146e-05/0.5495, allocations: 6 kB / 0.7219 GB, free: 15.62 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.64e-05/0.5495, allocations: 10.69 kB / 0.7219 GB, free: 15.62 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001431/0.5497, allocations: 57.22 kB / 0.7219 GB, free: 15.57 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.308e-05/0.5497, allocations: 4.125 kB / 0.7219 GB, free: 15.57 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.676e-05/0.5497, allocations: 5.609 kB / 0.7219 GB, free: 15.57 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/0.5497, allocations: 0 / 0.7219 GB, free: 15.57 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.854e-05/0.5498, allocations: 14.38 kB / 0.722 GB, free: 15.56 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005347/0.5503, allocations: 275.1 kB / 0.7222 GB, free: 15.33 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 8.958e-05/0.5504, allocations: 30.45 kB / 0.7222 GB, free: 15.3 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.568e-05/0.5504, allocations: 22.48 kB / 0.7223 GB, free: 15.28 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 1.281e-05/0.5504, allocations: 5.156 kB / 0.7223 GB, free: 15.28 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000207/0.5507, allocations: 78.58 kB / 0.7223 GB, free: 15.22 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=7): time 1.343e-06/0.5507, allocations: 1.156 kB / 0.7223 GB, free: 15.22 MB / 0.6231 GB Notification: Performance of matching and sorting (n=7): time 0.0002997/0.551, allocations: 100.1 kB / 0.7224 GB, free: 15.17 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.874e-05/0.551, allocations: 57.78 kB / 0.7225 GB, free: 15.11 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001231/0.5511, allocations: 116.3 kB / 0.7226 GB, free: 15 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 4.448e-05/0.5512, allocations: 34.27 kB / 0.7226 GB, free: 14.96 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 8.45e-05/0.5513, allocations: 98.02 kB / 0.7227 GB, free: 14.87 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 2.056e-05/0.5513, allocations: 10.81 kB / 0.7227 GB, free: 14.86 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001077/0.5514, allocations: 54.61 kB / 0.7228 GB, free: 14.84 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001669/0.5516, allocations: 319.4 kB / 0.7231 GB, free: 14.52 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000197/0.5518, allocations: 120.3 kB / 0.7232 GB, free: 14.43 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002256/0.552, allocations: 158.5 kB / 0.7234 GB, free: 14.3 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002299/0.5522, allocations: 162.4 kB / 0.7235 GB, free: 14.16 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.604e-06/0.5522, allocations: 1.125 kB / 0.7235 GB, free: 14.16 MB / 0.6231 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005196/0.5527, allocations: 328.3 kB / 0.7238 GB, free: 13.94 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 6.329e-05/0.5528, allocations: 70.78 kB / 0.7239 GB, free: 13.87 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.5528, allocations: 0.9375 kB / 0.7239 GB, free: 13.87 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.598e-05/0.5528, allocations: 2.062 kB / 0.7239 GB, free: 13.87 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.477e-05/0.5528, allocations: 6.703 kB / 0.7239 GB, free: 13.87 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.915e-06/0.5529, allocations: 2.734 kB / 0.7239 GB, free: 13.87 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003422/0.5532, allocations: 55.25 kB / 0.724 GB, free: 13.86 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.629e-05/0.5532, allocations: 19.95 kB / 0.724 GB, free: 13.85 MB / 0.6231 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.0001162/0.5534, allocations: 124.9 kB / 0.7241 GB, free: 13.73 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.546e-05/0.5534, allocations: 7.969 kB / 0.7241 GB, free: 13.73 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.837e-05/0.5534, allocations: 10.98 kB / 0.7241 GB, free: 13.72 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.484e-06/0.5534, allocations: 1.156 kB / 0.7241 GB, free: 13.72 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.5534, allocations: 3.938 kB / 0.7241 GB, free: 13.71 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.5534, allocations: 0.7031 kB / 0.7241 GB, free: 13.71 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001303/0.5535, allocations: 120.7 kB / 0.7242 GB, free: 13.58 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.5535, allocations: 0.7031 kB / 0.7242 GB, free: 13.58 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.314e-05/0.5536, allocations: 10.8 kB / 0.7243 GB, free: 13.57 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.5536, allocations: 0 / 0.7243 GB, free: 13.57 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.126e-05/0.5536, allocations: 5.609 kB / 0.7243 GB, free: 13.57 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.133e-06/0.5536, allocations: 0.9688 kB / 0.7243 GB, free: 13.57 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.5536, allocations: 0.8906 kB / 0.7243 GB, free: 13.57 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001661/0.5537, allocations: 117.4 kB / 0.7244 GB, free: 13.48 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 9.518e-06/0.5537, allocations: 3.578 kB / 0.7244 GB, free: 13.48 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.445e-05/0.5538, allocations: 2.406 kB / 0.7244 GB, free: 13.48 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.996e-05/0.5538, allocations: 5.094 kB / 0.7244 GB, free: 13.48 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.623e-05/0.5538, allocations: 5.672 kB / 0.7244 GB, free: 13.48 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.868e-06/0.5538, allocations: 6.906 kB / 0.7244 GB, free: 13.47 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 5.545e-05/0.5539, allocations: 94.61 kB / 0.7245 GB, free: 13.39 MB / 0.6231 GB Notification: Performance of sort global known variables: time 8e-08/0.5539, allocations: 0 / 0.7245 GB, free: 13.39 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0002355/0.5541, allocations: 30.72 kB / 0.7245 GB, free: 13.39 MB / 0.6231 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.0001728/0.5543, allocations: 105.2 kB / 0.7246 GB, free: 13.3 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0004677/0.5548, allocations: 280.6 kB / 0.7249 GB, free: 13.07 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.5548, allocations: 0 / 0.7249 GB, free: 13.07 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 6.738e-05/0.5548, allocations: 24.62 kB / 0.7249 GB, free: 13.06 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002595/0.5551, allocations: 24.06 kB / 0.7249 GB, free: 13.05 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004179/0.5555, allocations: 153.1 kB / 0.7251 GB, free: 12.91 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.837e-05/0.5556, allocations: 74.78 kB / 0.7252 GB, free: 12.84 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 3.336e-05/0.5556, allocations: 8.188 kB / 0.7252 GB, free: 12.83 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.318e-05/0.5557, allocations: 17.77 kB / 0.7252 GB, free: 12.82 MB / 0.6231 GB Notification: Performance of SimCode: time 2.6e-07/0.5557, allocations: 0 / 0.7252 GB, free: 12.82 MB / 0.6231 GB Notification: Performance of Templates: time 0.005544/0.5612, allocations: 2.061 MB / 0.7272 GB, free: 12.57 MB / 0.6231 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.3456548899412155] Failed to read output from testmodel.py, exit status != 0: 0.5698159243911505 0.5858646129999999 0.033951822 Calling exit ...