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.001782/0.001782, allocations: 95.64 kB / 18.95 MB, free: 2.691 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: 212.4 kB / 22.24 MB, free: 5.242 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.488/1.488, allocations: 230.6 MB / 256 MB, free: 7.797 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.297/1.297, allocations: 203.8 MB / 0.5041 GB, free: 4.594 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.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.002154/0.002154, allocations: 71.84 kB / 0.7187 GB, free: 1.918 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6291/0.6313, allocations: 102 MB / 0.8183 GB, free: 28.88 MB / 0.6387 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Or): time 0.001982/0.6332, allocations: 0.6365 MB / 0.8189 GB, free: 28.51 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.001583/0.6348, allocations: 1.206 MB / 0.8201 GB, free: 27.64 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.925e-05/0.6349, allocations: 0.5312 kB / 0.8201 GB, free: 27.64 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 3.27e-05/0.6349, allocations: 5.734 kB / 0.8201 GB, free: 27.64 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 8.281e-05/0.635, allocations: 15.66 kB / 0.8201 GB, free: 27.62 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006755/0.6357, allocations: 218.5 kB / 0.8203 GB, free: 27.52 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0002579/0.6359, allocations: 176.6 kB / 0.8205 GB, free: 27.45 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 9.194e-05/0.636, allocations: 4.75 kB / 0.8205 GB, free: 27.45 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001187/0.6361, allocations: 68.86 kB / 0.8205 GB, free: 27.43 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001548/0.6363, allocations: 64.34 kB / 0.8206 GB, free: 27.4 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 5.337e-05/0.6363, allocations: 15.34 kB / 0.8206 GB, free: 27.4 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 8.922e-05/0.6364, allocations: 25.02 kB / 0.8206 GB, free: 27.4 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 2.349e-05/0.6364, allocations: 9.766 kB / 0.8206 GB, free: 27.4 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 9.034e-05/0.6365, allocations: 52.2 kB / 0.8207 GB, free: 27.38 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0002794/0.6368, allocations: 155 kB / 0.8208 GB, free: 27.32 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.6368, allocations: 0 / 0.8208 GB, free: 27.32 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.913e-06/0.6368, allocations: 1.062 kB / 0.8208 GB, free: 27.32 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 6.512e-06/0.6368, allocations: 0.9375 kB / 0.8208 GB, free: 27.32 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.0005025/0.6373, allocations: 357.9 kB / 0.8212 GB, free: 26.98 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.368e-05/0.6374, allocations: 11.98 kB / 0.8212 GB, free: 26.98 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.238e-05/0.6375, allocations: 11.61 kB / 0.8212 GB, free: 26.98 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.277e-05/0.6375, allocations: 113 kB / 0.8213 GB, free: 26.85 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.537e-05/0.6376, allocations: 9.672 kB / 0.8213 GB, free: 26.84 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.705e-05/0.6376, allocations: 10.08 kB / 0.8213 GB, free: 26.84 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000123/0.6377, allocations: 46.72 kB / 0.8214 GB, free: 26.81 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.6377, allocations: 192 / 0.8214 GB, free: 26.81 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.397e-05/0.6377, allocations: 10.22 kB / 0.8214 GB, free: 26.8 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.6377, allocations: 0.8438 kB / 0.8214 GB, free: 26.8 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.763e-05/0.6378, allocations: 18.88 kB / 0.8214 GB, free: 26.79 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004537/0.6383, allocations: 270.2 kB / 0.8217 GB, free: 26.56 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 8.575e-05/0.6383, allocations: 33.25 kB / 0.8217 GB, free: 26.53 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.571e-05/0.6384, allocations: 24.64 kB / 0.8217 GB, free: 26.51 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 1.118e-05/0.6384, allocations: 0.5 kB / 0.8217 GB, free: 26.51 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001792/0.6386, allocations: 80.11 kB / 0.8218 GB, free: 26.46 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=7): time 1.192e-06/0.6386, allocations: 0 / 0.8218 GB, free: 26.46 MB / 0.6387 GB Notification: Performance of matching and sorting (n=7): time 0.000306/0.6389, allocations: 104.5 kB / 0.8219 GB, free: 26.4 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.305e-05/0.6389, allocations: 54.59 kB / 0.822 GB, free: 26.34 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.72e-05/0.639, allocations: 125 kB / 0.8221 GB, free: 26.23 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 3.121e-05/0.639, allocations: 34.14 kB / 0.8221 GB, free: 26.19 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 5.485e-05/0.6391, allocations: 98.36 kB / 0.8222 GB, free: 26.1 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 1.906e-05/0.6391, allocations: 16.91 kB / 0.8222 GB, free: 26.09 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001033/0.6392, allocations: 50.11 kB / 0.8223 GB, free: 26.06 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 5.189e-05/0.6392, allocations: 318.6 kB / 0.8226 GB, free: 25.75 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001872/0.6394, allocations: 117.6 kB / 0.8227 GB, free: 25.66 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001679/0.6396, allocations: 153.8 kB / 0.8228 GB, free: 25.54 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001728/0.6398, allocations: 163.4 kB / 0.823 GB, free: 25.4 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.6398, allocations: 1.844 kB / 0.823 GB, free: 25.4 MB / 0.6387 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004347/0.6402, allocations: 320 kB / 0.8233 GB, free: 25.18 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 4.712e-05/0.6403, allocations: 68 kB / 0.8234 GB, free: 25.12 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.6403, allocations: 1.844 kB / 0.8234 GB, free: 25.12 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.795e-05/0.6403, allocations: 2.016 kB / 0.8234 GB, free: 25.12 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.435e-05/0.6403, allocations: 10.86 kB / 0.8234 GB, free: 25.11 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.936e-06/0.6403, allocations: 4.875 kB / 0.8234 GB, free: 25.11 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003661/0.6407, allocations: 59.75 kB / 0.8234 GB, free: 25.1 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.536e-05/0.6407, allocations: 12.25 kB / 0.8234 GB, free: 25.1 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,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 8.25e-05/0.6408, allocations: 126.2 kB / 0.8236 GB, free: 24.98 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.517e-05/0.6408, allocations: 9.141 kB / 0.8236 GB, free: 24.97 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.599e-05/0.6408, allocations: 11.25 kB / 0.8236 GB, free: 24.96 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.6408, allocations: 0 / 0.8236 GB, free: 24.96 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.6409, allocations: 2.125 kB / 0.8236 GB, free: 24.96 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.6409, allocations: 0.6562 kB / 0.8236 GB, free: 24.96 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.396e-05/0.6409, allocations: 128.2 kB / 0.8237 GB, free: 24.82 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.6409, allocations: 4 kB / 0.8237 GB, free: 24.82 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.084e-05/0.641, allocations: 2 kB / 0.8237 GB, free: 24.82 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.641, allocations: 1.969 kB / 0.8237 GB, free: 24.82 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.061e-05/0.641, allocations: 5.953 kB / 0.8237 GB, free: 24.82 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.641, allocations: 3.938 kB / 0.8237 GB, free: 24.81 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.641, allocations: 1.219 kB / 0.8237 GB, free: 24.81 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001388/0.6411, allocations: 113.5 kB / 0.8238 GB, free: 24.73 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 9.247e-06/0.6411, allocations: 2.844 kB / 0.8238 GB, free: 24.73 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.506e-05/0.6411, allocations: 2.062 kB / 0.8238 GB, free: 24.73 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.233e-05/0.6412, allocations: 4.516 kB / 0.8238 GB, free: 24.72 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.95e-05/0.6412, allocations: 13.97 kB / 0.8239 GB, free: 24.71 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.442e-06/0.6412, allocations: 2.844 kB / 0.8239 GB, free: 24.71 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 4.071e-05/0.6412, allocations: 90.92 kB / 0.8239 GB, free: 24.64 MB / 0.6387 GB Notification: Performance of sort global known variables: time 7e-08/0.6412, allocations: 0 / 0.8239 GB, free: 24.64 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0002444/0.6415, allocations: 32.12 kB / 0.824 GB, free: 24.63 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,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.0001298/0.6416, allocations: 103.9 kB / 0.8241 GB, free: 24.54 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.00035/0.642, allocations: 276.1 kB / 0.8243 GB, free: 24.31 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.642, allocations: 1.25 kB / 0.8243 GB, free: 24.31 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 5.155e-05/0.642, allocations: 32.88 kB / 0.8244 GB, free: 24.3 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002372/0.6423, allocations: 15.42 kB / 0.8244 GB, free: 24.29 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003183/0.6426, allocations: 162.9 kB / 0.8245 GB, free: 24.15 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.45e-05/0.6426, allocations: 70.31 kB / 0.8246 GB, free: 24.08 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 2.516e-05/0.6427, allocations: 8.578 kB / 0.8246 GB, free: 24.07 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.16e-05/0.6427, allocations: 11.83 kB / 0.8246 GB, free: 24.07 MB / 0.6387 GB Notification: Performance of SimCode: time 3e-07/0.6427, allocations: 4 kB / 0.8246 GB, free: 24.06 MB / 0.6387 GB Notification: Performance of Templates: time 0.005588/0.6483, allocations: 2.084 MB / 0.8267 GB, free: 23.81 MB / 0.6387 GB " [Timeout remaining time 659] 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: 6.856024470180273] Failed to read output from testmodel.py, exit status != 0: 0.656453900039196 0.6690534960000001 0.029471448 Calling exit ...