Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Or.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.0007109/0.0007109, allocations: 96.38 kB / 19.7 MB, free: 448 kB / 13.93 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.0006956/0.0006956, allocations: 211.2 kB / 23 MB, free: 2.977 MB / 13.93 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.8206/0.8206, allocations: 230.6 MB / 256.8 MB, free: 9.566 MB / 202.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.7116/0.7116, allocations: 203.8 MB / 0.5049 GB, free: 10.38 MB / 410.7 MB " [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.Or,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Or") translateModel(IDEAS.Controls.OBC.CDL.Logical.Validation.Or,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Or") [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.0008435/0.0008435, allocations: 63.84 kB / 0.7194 GB, free: 3.523 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.41/0.4109, allocations: 102 MB / 0.819 GB, free: 1.312 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Or): time 0.00131/0.4122, allocations: 0.6408 MB / 0.8196 GB, free: 0.9141 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0009456/0.4131, allocations: 1.211 MB / 0.8208 GB, free: 44 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.55e-05/0.4132, allocations: 0 / 0.8208 GB, free: 44 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.041e-05/0.4132, allocations: 0.7969 kB / 0.8208 GB, free: 44 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.885e-05/0.4132, allocations: 9.328 kB / 0.8208 GB, free: 36 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004878/0.4137, allocations: 221.5 kB / 0.821 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001816/0.4139, allocations: 172 kB / 0.8212 GB, free: 15.85 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 8.231e-05/0.414, allocations: 9.266 kB / 0.8212 GB, free: 15.85 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 7.584e-05/0.4141, allocations: 70.72 kB / 0.8213 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001047/0.4142, allocations: 52.36 kB / 0.8213 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.248e-05/0.4142, allocations: 14.25 kB / 0.8214 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 5.578e-05/0.4143, allocations: 36.44 kB / 0.8214 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.167e-05/0.4143, allocations: 13.48 kB / 0.8214 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.199e-05/0.4143, allocations: 50.92 kB / 0.8214 GB, free: 15.76 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001846/0.4145, allocations: 156.6 kB / 0.8216 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.4145, allocations: 0 / 0.8216 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.353e-06/0.4145, allocations: 0 / 0.8216 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.801e-06/0.4145, allocations: 0 / 0.8216 GB, free: 15.71 MB / 0.6198 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.0003949/0.4149, allocations: 356.9 kB / 0.8219 GB, free: 15.37 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.02e-05/0.415, allocations: 9.188 kB / 0.8219 GB, free: 15.37 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.868e-05/0.415, allocations: 15.2 kB / 0.822 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.141e-05/0.4151, allocations: 109.2 kB / 0.8221 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.777e-05/0.4151, allocations: 18.44 kB / 0.8221 GB, free: 15.22 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.828e-05/0.4151, allocations: 9.219 kB / 0.8221 GB, free: 15.22 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.151e-05/0.4152, allocations: 45 kB / 0.8221 GB, free: 15.19 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.124e-06/0.4152, allocations: 192 / 0.8221 GB, free: 15.19 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.074e-05/0.4152, allocations: 12.77 kB / 0.8221 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-06/0.4152, allocations: 0 / 0.8221 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.005e-05/0.4153, allocations: 13.05 kB / 0.8222 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003359/0.4156, allocations: 272 kB / 0.8224 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 6.744e-05/0.4157, allocations: 33.7 kB / 0.8225 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.122e-05/0.4157, allocations: 21.19 kB / 0.8225 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 8.166e-06/0.4157, allocations: 7.938 kB / 0.8225 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001423/0.4159, allocations: 86.39 kB / 0.8226 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.533e-06/0.4159, allocations: 0 / 0.8226 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0002021/0.4161, allocations: 108.2 kB / 0.8227 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.989e-05/0.4161, allocations: 55.72 kB / 0.8227 GB, free: 14.7 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.01e-05/0.4162, allocations: 114.6 kB / 0.8228 GB, free: 14.6 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.221e-05/0.4162, allocations: 30.92 kB / 0.8229 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.661e-05/0.4162, allocations: 95.05 kB / 0.8229 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.314e-05/0.4162, allocations: 18.7 kB / 0.823 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.315e-05/0.4163, allocations: 49.78 kB / 0.823 GB, free: 14.44 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.467e-05/0.4164, allocations: 318.1 kB / 0.8233 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001181/0.4165, allocations: 124.9 kB / 0.8234 GB, free: 14.03 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001195/0.4166, allocations: 155 kB / 0.8236 GB, free: 13.9 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001256/0.4167, allocations: 166.7 kB / 0.8237 GB, free: 13.76 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.023e-06/0.4167, allocations: 0 / 0.8237 GB, free: 13.76 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002967/0.417, allocations: 323.9 kB / 0.8241 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.072e-05/0.4171, allocations: 69.52 kB / 0.8241 GB, free: 13.47 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.4171, allocations: 1.156 kB / 0.8241 GB, free: 13.47 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.29e-05/0.4171, allocations: 2.656 kB / 0.8241 GB, free: 13.47 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.762e-05/0.4171, allocations: 5.25 kB / 0.8241 GB, free: 13.47 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.03e-06/0.4171, allocations: 1.125 kB / 0.8241 GB, free: 13.47 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001999/0.4173, allocations: 59.02 kB / 0.8242 GB, free: 13.46 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.092e-05/0.4173, allocations: 12.52 kB / 0.8242 GB, free: 13.46 MB / 0.6198 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,or1.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.149e-05/0.4174, allocations: 132 kB / 0.8243 GB, free: 13.33 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.296e-06/0.4174, allocations: 6.578 kB / 0.8243 GB, free: 13.33 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.087e-05/0.4174, allocations: 10.5 kB / 0.8243 GB, free: 13.32 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.4174, allocations: 1.344 kB / 0.8243 GB, free: 13.32 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.4174, allocations: 0 / 0.8243 GB, free: 13.32 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.4174, allocations: 1.906 kB / 0.8243 GB, free: 13.32 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.377e-05/0.4175, allocations: 119.5 kB / 0.8245 GB, free: 13.19 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.4175, allocations: 0.875 kB / 0.8245 GB, free: 13.19 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.941e-06/0.4175, allocations: 1.875 kB / 0.8245 GB, free: 13.19 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.342e-06/0.4175, allocations: 1.219 kB / 0.8245 GB, free: 13.19 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.974e-06/0.4175, allocations: 5.609 kB / 0.8245 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.4175, allocations: 0.8906 kB / 0.8245 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.4175, allocations: 5 kB / 0.8245 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001079/0.4176, allocations: 121.1 kB / 0.8246 GB, free: 13.09 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 7.043e-06/0.4177, allocations: 7 kB / 0.8246 GB, free: 13.08 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.097e-05/0.4177, allocations: 1.219 kB / 0.8246 GB, free: 13.08 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.298e-05/0.4177, allocations: 1.891 kB / 0.8246 GB, free: 13.08 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.175e-05/0.4177, allocations: 9.672 kB / 0.8246 GB, free: 13.08 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.69e-06/0.4177, allocations: 3.109 kB / 0.8246 GB, free: 13.08 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.196e-05/0.4177, allocations: 90.36 kB / 0.8247 GB, free: 13 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7e-08/0.4177, allocations: 4 kB / 0.8247 GB, free: 13 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001521/0.4179, allocations: 28.47 kB / 0.8247 GB, free: 13 MB / 0.6198 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,or1.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.0001081/0.418, allocations: 103.4 kB / 0.8248 GB, free: 12.9 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002497/0.4183, allocations: 277.4 kB / 0.8251 GB, free: 12.68 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.4183, allocations: 0 / 0.8251 GB, free: 12.68 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 3.711e-05/0.4183, allocations: 25.14 kB / 0.8251 GB, free: 12.67 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001711/0.4185, allocations: 31.17 kB / 0.8251 GB, free: 12.65 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002764/0.4187, allocations: 185.5 kB / 0.8253 GB, free: 12.48 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.487e-05/0.4188, allocations: 69.11 kB / 0.8254 GB, free: 12.41 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.908e-05/0.4188, allocations: 12.14 kB / 0.8254 GB, free: 12.4 MB / 0.6198 GB Notification: Performance of SimCode: time 2.5e-07/0.4188, allocations: 0 / 0.8254 GB, free: 12.4 MB / 0.6198 GB Notification: Performance of Templates: time 0.002329/0.4211, allocations: 1.394 MB / 0.8268 GB, free: 12.27 MB / 0.6198 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Or.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Or.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Or.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Or.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Or.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Or -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Or.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.252060709986836] Failed to read output from testmodel.py, exit status != 0: 0.42925954423844814 0.43851651900000005 0.022263444 Calling exit ...