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.001433/0.001433, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001618/0.001618, allocations: 214.9 kB / 22.25 MB, free: 5.078 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: 230.6 MB / 256 MB, free: 7.992 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.287/1.287, allocations: 203.8 MB / 0.5041 GB, free: 4.906 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.002158/0.002158, allocations: 75.89 kB / 0.7187 GB, free: 2.254 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6088/0.611, allocations: 102 MB / 0.8183 GB, free: 29.21 MB / 0.6387 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Or): time 0.001997/0.6129, allocations: 0.6487 MB / 0.819 GB, free: 28.82 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.001692/0.6146, allocations: 1.224 MB / 0.8202 GB, free: 27.93 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.746e-05/0.6147, allocations: 1.562 kB / 0.8202 GB, free: 27.93 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 3.468e-05/0.6147, allocations: 0 / 0.8202 GB, free: 27.93 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 8.694e-05/0.6148, allocations: 16.27 kB / 0.8202 GB, free: 27.91 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007249/0.6155, allocations: 224.4 kB / 0.8204 GB, free: 27.8 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0002531/0.6158, allocations: 161.7 kB / 0.8206 GB, free: 27.74 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001031/0.6159, allocations: 13.42 kB / 0.8206 GB, free: 27.73 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001236/0.616, allocations: 71.27 kB / 0.8206 GB, free: 27.71 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001577/0.6162, allocations: 69.17 kB / 0.8207 GB, free: 27.68 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 3.583e-05/0.6162, allocations: 15.31 kB / 0.8207 GB, free: 27.68 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001004/0.6163, allocations: 27.7 kB / 0.8207 GB, free: 27.67 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 2.411e-05/0.6163, allocations: 5.859 kB / 0.8207 GB, free: 27.67 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0001056/0.6164, allocations: 60.95 kB / 0.8208 GB, free: 27.64 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0002932/0.6167, allocations: 146.7 kB / 0.8209 GB, free: 27.6 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/0.6167, allocations: 0 / 0.8209 GB, free: 27.6 MB / 0.6387 GB Notification: Performance of FrontEnd: time 3.767e-06/0.6167, allocations: 1.031 kB / 0.8209 GB, free: 27.6 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.109e-05/0.6168, allocations: 5.25 kB / 0.8209 GB, free: 27.59 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.0005124/0.6173, allocations: 362 kB / 0.8213 GB, free: 27.25 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.818e-05/0.6173, allocations: 11.03 kB / 0.8213 GB, free: 27.25 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.289e-05/0.6174, allocations: 12.88 kB / 0.8213 GB, free: 27.25 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.282e-05/0.6175, allocations: 120 kB / 0.8214 GB, free: 27.11 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.534e-05/0.6175, allocations: 9.609 kB / 0.8214 GB, free: 27.11 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.076e-05/0.6175, allocations: 9.812 kB / 0.8214 GB, free: 27.11 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001409/0.6177, allocations: 54.45 kB / 0.8215 GB, free: 27.06 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.163e-05/0.6177, allocations: 192 / 0.8215 GB, free: 27.06 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.311e-05/0.6177, allocations: 5.766 kB / 0.8215 GB, free: 27.06 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.8e-06/0.6177, allocations: 1.812 kB / 0.8215 GB, free: 27.06 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.149e-05/0.6178, allocations: 13.55 kB / 0.8215 GB, free: 27.05 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000505/0.6183, allocations: 318.5 kB / 0.8218 GB, free: 26.79 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 9.675e-05/0.6184, allocations: 41.98 kB / 0.8219 GB, free: 26.75 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.184e-05/0.6184, allocations: 16.58 kB / 0.8219 GB, free: 26.74 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 1.552e-05/0.6184, allocations: 1.312 kB / 0.8219 GB, free: 26.74 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001998/0.6186, allocations: 78.44 kB / 0.822 GB, free: 26.68 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=7): time 1.242e-06/0.6186, allocations: 0.5 kB / 0.822 GB, free: 26.68 MB / 0.6387 GB Notification: Performance of matching and sorting (n=7): time 0.0003061/0.6189, allocations: 113 kB / 0.8221 GB, free: 26.62 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.189e-05/0.619, allocations: 56.56 kB / 0.8221 GB, free: 26.56 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.453e-05/0.619, allocations: 116.5 kB / 0.8222 GB, free: 26.45 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 2.872e-05/0.6191, allocations: 29.48 kB / 0.8223 GB, free: 26.42 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 5.54e-05/0.6191, allocations: 95.14 kB / 0.8223 GB, free: 26.33 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 1.806e-05/0.6191, allocations: 14.59 kB / 0.8224 GB, free: 26.32 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001082/0.6193, allocations: 48.81 kB / 0.8224 GB, free: 26.3 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 4.91e-05/0.6193, allocations: 319.3 kB / 0.8227 GB, free: 25.98 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001544/0.6195, allocations: 62.02 kB / 0.8228 GB, free: 25.96 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001551/0.6196, allocations: 98.25 kB / 0.8229 GB, free: 25.89 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001617/0.6198, allocations: 165.2 kB / 0.823 GB, free: 25.75 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.6198, allocations: 1.281 kB / 0.823 GB, free: 25.75 MB / 0.6387 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003807/0.6202, allocations: 260.2 kB / 0.8233 GB, free: 25.61 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 4.407e-05/0.6202, allocations: 69.03 kB / 0.8233 GB, free: 25.54 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.261e-06/0.6202, allocations: 2.031 kB / 0.8233 GB, free: 25.54 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.853e-05/0.6202, allocations: 5.031 kB / 0.8233 GB, free: 25.54 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.068e-05/0.6202, allocations: 3.828 kB / 0.8233 GB, free: 25.54 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.015e-06/0.6203, allocations: 1.766 kB / 0.8234 GB, free: 25.54 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003384/0.6206, allocations: 55.34 kB / 0.8234 GB, free: 25.53 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.447e-05/0.6206, allocations: 16.41 kB / 0.8234 GB, free: 25.53 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 9.003e-05/0.6207, allocations: 133.5 kB / 0.8235 GB, free: 25.4 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.554e-05/0.6207, allocations: 10.22 kB / 0.8236 GB, free: 25.39 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.631e-05/0.6208, allocations: 6.578 kB / 0.8236 GB, free: 25.39 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.6208, allocations: 1.594 kB / 0.8236 GB, free: 25.39 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.6208, allocations: 3.938 kB / 0.8236 GB, free: 25.38 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.159e-06/0.6208, allocations: 1.828 kB / 0.8236 GB, free: 25.38 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.163e-05/0.6209, allocations: 153.6 kB / 0.8237 GB, free: 25.21 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.6209, allocations: 0.6094 kB / 0.8237 GB, free: 25.21 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.975e-06/0.6209, allocations: 3.328 kB / 0.8237 GB, free: 25.21 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.6209, allocations: 0 / 0.8237 GB, free: 25.21 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.558e-06/0.6209, allocations: 6.344 kB / 0.8237 GB, free: 25.21 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.6209, allocations: 0 / 0.8237 GB, free: 25.21 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.6209, allocations: 0.75 kB / 0.8237 GB, free: 25.21 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001245/0.621, allocations: 115.8 kB / 0.8238 GB, free: 25.12 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 9.267e-06/0.621, allocations: 3.172 kB / 0.8238 GB, free: 25.12 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.687e-05/0.621, allocations: 2.016 kB / 0.8238 GB, free: 25.12 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.878e-05/0.6211, allocations: 0.7969 kB / 0.8238 GB, free: 25.12 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.797e-05/0.6211, allocations: 9.641 kB / 0.8239 GB, free: 25.11 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.053e-06/0.6211, allocations: 7.422 kB / 0.8239 GB, free: 25.11 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 3.355e-05/0.6211, allocations: 93.23 kB / 0.8239 GB, free: 25.03 MB / 0.6387 GB Notification: Performance of sort global known variables: time 7e-08/0.6211, allocations: 1.312 kB / 0.8239 GB, free: 25.03 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0002329/0.6214, allocations: 27.61 kB / 0.824 GB, free: 25.03 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.0001121/0.6215, allocations: 104.3 kB / 0.8241 GB, free: 24.93 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0003086/0.6218, allocations: 223.6 kB / 0.8243 GB, free: 24.77 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.6218, allocations: 256 / 0.8243 GB, free: 24.77 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 6.196e-05/0.6219, allocations: 30.2 kB / 0.8243 GB, free: 24.75 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002258/0.6221, allocations: 21.27 kB / 0.8243 GB, free: 24.75 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003201/0.6224, allocations: 161.6 kB / 0.8245 GB, free: 24.61 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001221/0.6225, allocations: 0.6867 MB / 0.8252 GB, free: 23.91 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 2.591e-05/0.6226, allocations: 9.016 kB / 0.8252 GB, free: 23.91 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.924e-05/0.6226, allocations: 15.22 kB / 0.8252 GB, free: 23.89 MB / 0.6387 GB Notification: Performance of SimCode: time 3.11e-07/0.6226, allocations: 0 / 0.8252 GB, free: 23.89 MB / 0.6387 GB Notification: Performance of Templates: time 0.00568/0.6283, allocations: 1.858 MB / 0.827 GB, free: 23.73 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.765817439183593] Failed to read output from testmodel.py, exit status != 0: 0.637110399082303 0.6507528100000001 0.031175233000000004 Calling exit ...