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.0007748/0.0007748, 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.0009298/0.0009298, 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.8789/0.8789, allocations: 230.6 MB / 256.8 MB, free: 9.582 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.7099/0.7099, allocations: 203.8 MB / 0.5049 GB, free: 10.37 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.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: 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.0008739/0.0008739, allocations: 66.91 kB / 0.7194 GB, free: 3.523 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4358/0.4367, allocations: 102 MB / 0.819 GB, free: 1.324 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.And): time 0.001229/0.4379, allocations: 0.6408 MB / 0.8196 GB, free: 0.9297 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0008822/0.4388, allocations: 1.206 MB / 0.8208 GB, free: 60 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.062e-05/0.4388, allocations: 1.25 kB / 0.8208 GB, free: 60 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.052e-05/0.4389, allocations: 4.562 kB / 0.8208 GB, free: 56 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.967e-05/0.4389, allocations: 15.58 kB / 0.8208 GB, free: 44 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004992/0.4394, allocations: 219.6 kB / 0.8211 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001757/0.4396, allocations: 166.2 kB / 0.8212 GB, free: 15.87 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 8.295e-05/0.4397, allocations: 6.812 kB / 0.8212 GB, free: 15.87 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 8.143e-05/0.4398, allocations: 74.42 kB / 0.8213 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001027/0.4399, allocations: 60.33 kB / 0.8213 GB, free: 15.81 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.351e-05/0.4399, allocations: 18.84 kB / 0.8214 GB, free: 15.81 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 6.055e-05/0.4399, allocations: 28.78 kB / 0.8214 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.983e-05/0.44, allocations: 8.344 kB / 0.8214 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.326e-05/0.44, allocations: 52.16 kB / 0.8214 GB, free: 15.78 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001826/0.4402, allocations: 153.1 kB / 0.8216 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.4402, allocations: 1.156 kB / 0.8216 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.754e-06/0.4402, allocations: 0 / 0.8216 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.799e-06/0.4402, allocations: 0 / 0.8216 GB, free: 15.73 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.0003938/0.4406, allocations: 359.5 kB / 0.8219 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.418e-05/0.4406, allocations: 10.38 kB / 0.8219 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.796e-05/0.4407, allocations: 14.64 kB / 0.822 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.128e-05/0.4408, allocations: 110.9 kB / 0.8221 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.721e-05/0.4408, allocations: 14.55 kB / 0.8221 GB, free: 15.24 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.962e-05/0.4408, allocations: 9.625 kB / 0.8221 GB, free: 15.24 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.096e-05/0.4409, allocations: 46.47 kB / 0.8221 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.4409, allocations: 192 / 0.8221 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.917e-06/0.4409, allocations: 3.938 kB / 0.8221 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.4409, allocations: 1.844 kB / 0.8221 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.26e-05/0.441, allocations: 18.12 kB / 0.8222 GB, free: 15.19 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003467/0.4413, allocations: 270.1 kB / 0.8224 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 6.909e-05/0.4414, allocations: 43.53 kB / 0.8225 GB, free: 14.92 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.295e-05/0.4414, allocations: 21.09 kB / 0.8225 GB, free: 14.9 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 8.667e-06/0.4414, allocations: 1 kB / 0.8225 GB, free: 14.9 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001268/0.4415, allocations: 83.89 kB / 0.8226 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.162e-06/0.4415, allocations: 0 / 0.8226 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0001899/0.4417, allocations: 111.6 kB / 0.8227 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.657e-05/0.4417, allocations: 51.41 kB / 0.8227 GB, free: 14.72 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.537e-05/0.4418, allocations: 118.8 kB / 0.8228 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.133e-05/0.4418, allocations: 29.67 kB / 0.8229 GB, free: 14.58 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.52e-05/0.4419, allocations: 102.2 kB / 0.823 GB, free: 14.49 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.148e-05/0.4419, allocations: 15.91 kB / 0.823 GB, free: 14.47 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.446e-05/0.4419, allocations: 50.42 kB / 0.823 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.742e-05/0.442, allocations: 324.6 kB / 0.8233 GB, free: 14.13 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001112/0.4421, allocations: 113.5 kB / 0.8234 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001248/0.4423, allocations: 154.4 kB / 0.8236 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000132/0.4424, allocations: 168.2 kB / 0.8237 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.4424, allocations: 0 / 0.8237 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003143/0.4427, allocations: 324.7 kB / 0.8241 GB, free: 13.55 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.376e-05/0.4427, allocations: 70.56 kB / 0.8241 GB, free: 13.49 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.4428, allocations: 1.375 kB / 0.8241 GB, free: 13.49 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.536e-05/0.4428, allocations: 5.953 kB / 0.8241 GB, free: 13.48 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.983e-05/0.4428, allocations: 3.625 kB / 0.8241 GB, free: 13.48 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.4428, allocations: 1.438 kB / 0.8241 GB, free: 13.48 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002156/0.443, allocations: 64.27 kB / 0.8242 GB, free: 13.47 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.104e-05/0.443, allocations: 12.75 kB / 0.8242 GB, free: 13.47 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,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.321e-05/0.4431, allocations: 128.1 kB / 0.8243 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.117e-06/0.4431, allocations: 6.797 kB / 0.8243 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.022e-05/0.4431, allocations: 10.33 kB / 0.8243 GB, free: 13.33 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.4431, allocations: 1.25 kB / 0.8243 GB, free: 13.33 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.127e-06/0.4431, allocations: 480 / 0.8243 GB, free: 13.33 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.307e-06/0.4431, allocations: 0.5625 kB / 0.8243 GB, free: 13.33 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.389e-05/0.4432, allocations: 125.2 kB / 0.8245 GB, free: 13.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.4432, allocations: 0 / 0.8245 GB, free: 13.2 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.631e-06/0.4432, allocations: 6.234 kB / 0.8245 GB, free: 13.19 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.4432, allocations: 4.969 kB / 0.8245 GB, free: 13.19 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.033e-06/0.4432, allocations: 1.969 kB / 0.8245 GB, free: 13.19 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.4432, allocations: 0.7969 kB / 0.8245 GB, free: 13.19 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.71e-07/0.4432, allocations: 1.156 kB / 0.8245 GB, free: 13.19 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001087/0.4433, allocations: 116.9 kB / 0.8246 GB, free: 13.1 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 6.042e-06/0.4433, allocations: 2.344 kB / 0.8246 GB, free: 13.1 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.086e-05/0.4434, allocations: 1.891 kB / 0.8246 GB, free: 13.1 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.488e-05/0.4434, allocations: 5.781 kB / 0.8246 GB, free: 13.09 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.104e-05/0.4434, allocations: 6.359 kB / 0.8246 GB, free: 13.09 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.109e-06/0.4434, allocations: 6.891 kB / 0.8246 GB, free: 13.09 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.383e-05/0.4434, allocations: 89.92 kB / 0.8247 GB, free: 13.01 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.4434, allocations: 0 / 0.8247 GB, free: 13.01 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001568/0.4436, allocations: 32.08 kB / 0.8247 GB, free: 13.01 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,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.0001018/0.4437, allocations: 106.1 kB / 0.8248 GB, free: 12.91 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002613/0.444, allocations: 274.8 kB / 0.8251 GB, free: 12.69 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.444, allocations: 0 / 0.8251 GB, free: 12.69 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 3.818e-05/0.444, allocations: 29.7 kB / 0.8251 GB, free: 12.68 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001752/0.4442, allocations: 19.98 kB / 0.8251 GB, free: 12.67 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004112/0.4446, allocations: 187.8 kB / 0.8253 GB, free: 12.49 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.338e-05/0.4446, allocations: 69.88 kB / 0.8254 GB, free: 12.42 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.882e-05/0.4447, allocations: 12.91 kB / 0.8254 GB, free: 12.41 MB / 0.6198 GB Notification: Performance of SimCode: time 4.91e-07/0.4447, allocations: 0 / 0.8254 GB, free: 12.41 MB / 0.6198 GB Notification: Performance of Templates: time 0.002316/0.447, allocations: 1.398 MB / 0.8268 GB, free: 12.28 MB / 0.6198 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: 5.400682277977467] Failed to read output from testmodel.py, exit status != 0: 0.45207166485488415 0.460932059 0.018833666000000002 Calling exit ...