Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.And.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.0006507/0.0006507, allocations: 76.5 kB / 19.93 MB, free: 4.629 MB / 18.57 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.0007035/0.0007035, allocations: 177.9 kB / 23.21 MB, free: 1.348 MB / 18.57 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 0.8197/0.8197, allocations: 177.1 MB / 203.5 MB, free: 5.715 MB / 186.7 MB " [Timeout remaining time 179] 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 0.6748/0.6748, allocations: 154.6 MB / 414.5 MB, free: 0.8047 MB / 378.7 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 179] 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.And,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.And") translateModel(IDEAS.Controls.OBC.CDL.Logical.Validation.And,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.And") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.307e-06/3.307e-06, allocations: 4 kB / 0.6193 GB, free: 13.22 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.64e-05/2.971e-05, allocations: 5.891 kB / 0.6193 GB, free: 13.21 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.And): time 0.001213/0.001243, allocations: 0.6335 MB / 0.6199 GB, free: 12.58 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001144/0.002387, allocations: 1.213 MB / 0.6211 GB, free: 11.35 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.207e-05/0.002429, allocations: 0 / 0.6211 GB, free: 11.35 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.722e-05/0.002456, allocations: 3.938 kB / 0.6211 GB, free: 11.35 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 6.534e-05/0.002522, allocations: 15.92 kB / 0.6211 GB, free: 11.33 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005022/0.003024, allocations: 218.4 kB / 0.6213 GB, free: 11.12 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001689/0.003193, allocations: 171.7 kB / 0.6215 GB, free: 10.96 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 8.95e-05/0.003282, allocations: 4 kB / 0.6215 GB, free: 10.95 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001125/0.003395, allocations: 95.86 kB / 0.6216 GB, free: 10.86 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 9.682e-05/0.003492, allocations: 47.91 kB / 0.6216 GB, free: 10.81 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.327e-05/0.003515, allocations: 16 kB / 0.6216 GB, free: 10.8 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 6.372e-05/0.003579, allocations: 35.92 kB / 0.6217 GB, free: 10.76 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 2.029e-05/0.003599, allocations: 11.94 kB / 0.6217 GB, free: 10.75 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 5.27e-05/0.003652, allocations: 51.94 kB / 0.6217 GB, free: 10.7 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001921/0.003844, allocations: 179.6 kB / 0.6219 GB, free: 10.52 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.785e-06/0.003847, allocations: 0 / 0.6219 GB, free: 10.52 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.132e-06/0.003848, allocations: 0 / 0.6219 GB, free: 10.52 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.047e-06/0.003852, allocations: 0 / 0.6219 GB, free: 10.52 MB / 0.5886 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.0004004/0.004252, allocations: 357.6 kB / 0.6222 GB, free: 10.13 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.862e-05/0.004291, allocations: 13.41 kB / 0.6223 GB, free: 10.12 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.121e-05/0.004342, allocations: 12.89 kB / 0.6223 GB, free: 10.11 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.589e-05/0.004418, allocations: 109.7 kB / 0.6224 GB, free: 9.973 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.493e-05/0.004433, allocations: 8.375 kB / 0.6224 GB, free: 9.965 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.95e-05/0.004452, allocations: 16.36 kB / 0.6224 GB, free: 9.949 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.504e-05/0.004547, allocations: 50.19 kB / 0.6224 GB, free: 9.895 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.873e-06/0.004554, allocations: 192 / 0.6224 GB, free: 9.895 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.375e-06/0.004563, allocations: 384 / 0.6224 GB, free: 9.895 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.908e-06/0.004566, allocations: 384 / 0.6224 GB, free: 9.895 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.397e-05/0.0046, allocations: 23.92 kB / 0.6225 GB, free: 9.871 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003315/0.004932, allocations: 268.5 kB / 0.6227 GB, free: 9.578 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 6.389e-05/0.004996, allocations: 34.58 kB / 0.6228 GB, free: 9.535 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.18e-05/0.005018, allocations: 16.88 kB / 0.6228 GB, free: 9.516 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 9.988e-06/0.005028, allocations: 0 / 0.6228 GB, free: 9.516 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001433/0.005171, allocations: 87.25 kB / 0.6229 GB, free: 9.418 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=7): time 8.22e-07/0.005172, allocations: 0 / 0.6229 GB, free: 9.418 MB / 0.5886 GB Notification: Performance of matching and sorting (n=7): time 0.0002154/0.005387, allocations: 105.6 kB / 0.623 GB, free: 9.309 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.655e-05/0.005424, allocations: 59.34 kB / 0.623 GB, free: 9.238 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.719e-05/0.005491, allocations: 117.8 kB / 0.6231 GB, free: 9.113 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.131e-05/0.005512, allocations: 29.7 kB / 0.6232 GB, free: 9.078 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.342e-05/0.005556, allocations: 96.08 kB / 0.6232 GB, free: 8.98 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.34e-05/0.005569, allocations: 19.84 kB / 0.6233 GB, free: 8.961 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.881e-05/0.005628, allocations: 49.69 kB / 0.6233 GB, free: 8.906 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.175e-05/0.0057, allocations: 314.8 kB / 0.6236 GB, free: 8.59 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000116/0.005816, allocations: 123.4 kB / 0.6237 GB, free: 8.457 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001108/0.005926, allocations: 155.7 kB / 0.6239 GB, free: 8.277 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001263/0.006053, allocations: 164 kB / 0.624 GB, free: 8.09 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.006055, allocations: 0 / 0.624 GB, free: 8.09 MB / 0.5886 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002854/0.00634, allocations: 324.2 kB / 0.6243 GB, free: 7.742 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 3.993e-05/0.00638, allocations: 71.39 kB / 0.6244 GB, free: 7.66 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.139e-06/0.006385, allocations: 4.125 kB / 0.6244 GB, free: 7.656 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.519e-05/0.0064, allocations: 3.984 kB / 0.6244 GB, free: 7.652 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.895e-05/0.006419, allocations: 7.938 kB / 0.6244 GB, free: 7.645 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/0.006424, allocations: 0 / 0.6244 GB, free: 7.645 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001884/0.006612, allocations: 52 kB / 0.6245 GB, free: 7.594 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.058e-05/0.006633, allocations: 19.98 kB / 0.6245 GB, free: 7.574 MB / 0.5886 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,and1.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 7.067e-05/0.006704, allocations: 121.8 kB / 0.6246 GB, free: 7.449 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.959e-06/0.006714, allocations: 15.88 kB / 0.6246 GB, free: 7.434 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.159e-05/0.006735, allocations: 12.44 kB / 0.6246 GB, free: 7.418 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.006737, allocations: 0 / 0.6246 GB, free: 7.418 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.006741, allocations: 0 / 0.6246 GB, free: 7.418 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.006744, allocations: 0 / 0.6246 GB, free: 7.418 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.862e-05/0.006812, allocations: 117.3 kB / 0.6248 GB, free: 7.273 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.006813, allocations: 0 / 0.6248 GB, free: 7.273 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.109e-06/0.006819, allocations: 7.922 kB / 0.6248 GB, free: 7.266 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.366e-06/0.006822, allocations: 3.938 kB / 0.6248 GB, free: 7.262 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.521e-06/0.006827, allocations: 4 kB / 0.6248 GB, free: 7.258 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.51e-07/0.006828, allocations: 4 kB / 0.6248 GB, free: 7.254 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.006829, allocations: 0 / 0.6248 GB, free: 7.254 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.999e-05/0.006929, allocations: 117 kB / 0.6249 GB, free: 7.121 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 7.043e-06/0.006936, allocations: 4 kB / 0.6249 GB, free: 7.117 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.058e-05/0.006946, allocations: 3.938 kB / 0.6249 GB, free: 7.113 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.197e-05/0.006958, allocations: 0 / 0.6249 GB, free: 7.113 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.132e-05/0.00699, allocations: 7.984 kB / 0.6249 GB, free: 7.105 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.073e-06/0.006997, allocations: 8 kB / 0.6249 GB, free: 7.098 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.399e-05/0.007031, allocations: 99.14 kB / 0.625 GB, free: 7 MB / 0.5886 GB Notification: Performance of sort global known variables: time 6e-08/0.007031, allocations: 0 / 0.625 GB, free: 7 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.000161/0.007192, allocations: 31.89 kB / 0.625 GB, free: 6.969 MB / 0.5886 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,and1.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.0001202/0.007312, allocations: 107.2 kB / 0.6251 GB, free: 6.855 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0002378/0.00755, allocations: 278.5 kB / 0.6254 GB, free: 6.547 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.674e-06/0.007552, allocations: 0 / 0.6254 GB, free: 6.547 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 3.653e-05/0.007588, allocations: 27.97 kB / 0.6254 GB, free: 6.52 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001661/0.007754, allocations: 18.94 kB / 0.6254 GB, free: 6.504 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000266/0.00802, allocations: 187.4 kB / 0.6256 GB, free: 6.281 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.136e-05/0.008062, allocations: 75.33 kB / 0.6257 GB, free: 6.188 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.694e-05/0.008078, allocations: 12.5 kB / 0.6257 GB, free: 6.176 MB / 0.5886 GB Notification: Performance of SimCode: time 4.31e-07/0.008079, allocations: 0 / 0.6257 GB, free: 6.176 MB / 0.5886 GB Notification: Performance of Templates: time 0.002105/0.01018, allocations: 1.398 MB / 0.6271 GB, free: 4.801 MB / 0.5886 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.And.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.And.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.And.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.And.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.And.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.And -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.And.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.835305669344962] Failed to read output from testmodel.py, exit status != 0: 0.016036336310207844 0.029892147 0.024107622000000002 Calling exit ...