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.001865/0.001865, 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.0022/0.0022, allocations: 215.3 kB / 22.25 MB, free: 5.082 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.531/1.531, allocations: 230.6 MB / 256 MB, free: 8.027 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.27/1.27, allocations: 203.8 MB / 0.5041 GB, free: 4.941 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.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.002202/0.002202, allocations: 67.91 kB / 0.7187 GB, free: 2.238 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.647/0.6492, allocations: 102 MB / 0.8183 GB, free: 29.16 MB / 0.6387 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.And): time 0.001806/0.651, allocations: 0.6366 MB / 0.819 GB, free: 28.77 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.001442/0.6524, allocations: 1.224 MB / 0.8202 GB, free: 27.88 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.503e-05/0.6525, allocations: 1.062 kB / 0.8202 GB, free: 27.88 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 2.818e-05/0.6525, allocations: 5.484 kB / 0.8202 GB, free: 27.88 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 7.352e-05/0.6526, allocations: 17.38 kB / 0.8202 GB, free: 27.87 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006383/0.6532, allocations: 218.3 kB / 0.8204 GB, free: 27.76 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.000237/0.6535, allocations: 171 kB / 0.8205 GB, free: 27.69 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 8.644e-05/0.6536, allocations: 9.984 kB / 0.8206 GB, free: 27.69 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001021/0.6537, allocations: 74.12 kB / 0.8206 GB, free: 27.66 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001435/0.6538, allocations: 65.38 kB / 0.8207 GB, free: 27.63 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 4.033e-05/0.6538, allocations: 19.05 kB / 0.8207 GB, free: 27.62 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 8.986e-05/0.6539, allocations: 24.95 kB / 0.8207 GB, free: 27.62 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 2.41e-05/0.654, allocations: 9.188 kB / 0.8207 GB, free: 27.62 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 9.116e-05/0.6541, allocations: 56.16 kB / 0.8208 GB, free: 27.59 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0002714/0.6543, allocations: 151.1 kB / 0.8209 GB, free: 27.55 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.6543, allocations: 0.5312 kB / 0.8209 GB, free: 27.55 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.954e-06/0.6543, allocations: 1.156 kB / 0.8209 GB, free: 27.55 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 5.641e-06/0.6543, allocations: 1.844 kB / 0.8209 GB, free: 27.55 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.0004964/0.6548, allocations: 362.3 kB / 0.8213 GB, free: 27.2 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.358e-05/0.6549, allocations: 11.52 kB / 0.8213 GB, free: 27.2 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.484e-05/0.6549, allocations: 14.05 kB / 0.8213 GB, free: 27.2 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.994e-05/0.655, allocations: 119.8 kB / 0.8214 GB, free: 27.06 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.848e-05/0.655, allocations: 10.52 kB / 0.8214 GB, free: 27.06 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.71e-05/0.6551, allocations: 8.922 kB / 0.8214 GB, free: 27.06 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001174/0.6552, allocations: 49.72 kB / 0.8215 GB, free: 27.02 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.6552, allocations: 5.5 kB / 0.8215 GB, free: 27.02 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.126e-05/0.6552, allocations: 4.5 kB / 0.8215 GB, free: 27.01 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.084e-06/0.6552, allocations: 2.094 kB / 0.8215 GB, free: 27.01 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.279e-05/0.6553, allocations: 13.56 kB / 0.8215 GB, free: 27.01 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004657/0.6557, allocations: 330.2 kB / 0.8218 GB, free: 26.73 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 7.47e-05/0.6558, allocations: 35.77 kB / 0.8219 GB, free: 26.7 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.831e-05/0.6558, allocations: 18.91 kB / 0.8219 GB, free: 26.68 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 6.673e-06/0.6558, allocations: 1.453 kB / 0.8219 GB, free: 26.68 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001784/0.656, allocations: 83.48 kB / 0.822 GB, free: 26.62 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=7): time 1.323e-06/0.656, allocations: 0.5 kB / 0.822 GB, free: 26.62 MB / 0.6387 GB Notification: Performance of matching and sorting (n=7): time 0.0002754/0.6563, allocations: 104 kB / 0.8221 GB, free: 26.57 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.476e-05/0.6563, allocations: 53 kB / 0.8221 GB, free: 26.51 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.777e-05/0.6564, allocations: 117.8 kB / 0.8222 GB, free: 26.4 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 3.143e-05/0.6565, allocations: 33.36 kB / 0.8223 GB, free: 26.37 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 6.151e-05/0.6565, allocations: 102.1 kB / 0.8224 GB, free: 26.27 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 1.671e-05/0.6565, allocations: 11.23 kB / 0.8224 GB, free: 26.27 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001193/0.6567, allocations: 49.5 kB / 0.8224 GB, free: 26.24 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 7.779e-05/0.6567, allocations: 322.2 kB / 0.8227 GB, free: 25.92 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001658/0.6569, allocations: 60.06 kB / 0.8228 GB, free: 25.9 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001741/0.6571, allocations: 95.91 kB / 0.8229 GB, free: 25.84 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002036/0.6573, allocations: 164.4 kB / 0.823 GB, free: 25.7 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.574e-06/0.6573, allocations: 0 / 0.823 GB, free: 25.7 MB / 0.6387 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004396/0.6577, allocations: 262.7 kB / 0.8233 GB, free: 25.55 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 6.201e-05/0.6578, allocations: 68.81 kB / 0.8233 GB, free: 25.48 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.387e-06/0.6578, allocations: 2.125 kB / 0.8233 GB, free: 25.48 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.102e-05/0.6578, allocations: 1.344 kB / 0.8233 GB, free: 25.48 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.889e-05/0.6579, allocations: 7.297 kB / 0.8234 GB, free: 25.48 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.227e-05/0.6579, allocations: 1.75 kB / 0.8234 GB, free: 25.48 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003726/0.6582, allocations: 55.64 kB / 0.8234 GB, free: 25.47 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.815e-05/0.6583, allocations: 12.38 kB / 0.8234 GB, free: 25.47 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,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 0.00011/0.6584, allocations: 132.2 kB / 0.8235 GB, free: 25.34 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.938e-05/0.6584, allocations: 11.5 kB / 0.8236 GB, free: 25.34 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.09e-05/0.6584, allocations: 6.312 kB / 0.8236 GB, free: 25.33 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.6584, allocations: 1.219 kB / 0.8236 GB, free: 25.33 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.6584, allocations: 0 / 0.8236 GB, free: 25.33 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.6584, allocations: 5.641 kB / 0.8236 GB, free: 25.33 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001316/0.6586, allocations: 150.5 kB / 0.8237 GB, free: 25.16 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.6586, allocations: 0.75 kB / 0.8237 GB, free: 25.16 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.829e-06/0.6586, allocations: 1.922 kB / 0.8237 GB, free: 25.16 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.6586, allocations: 0 / 0.8237 GB, free: 25.16 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.475e-05/0.6586, allocations: 7.219 kB / 0.8237 GB, free: 25.16 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.6586, allocations: 4 kB / 0.8237 GB, free: 25.15 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.6586, allocations: 0.7969 kB / 0.8237 GB, free: 25.15 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001508/0.6588, allocations: 119.6 kB / 0.8238 GB, free: 25.06 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 1.011e-05/0.6588, allocations: 2.047 kB / 0.8238 GB, free: 25.06 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.936e-05/0.6588, allocations: 2.312 kB / 0.8238 GB, free: 25.06 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.082e-05/0.6588, allocations: 2.141 kB / 0.8238 GB, free: 25.06 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.44e-05/0.6589, allocations: 9.719 kB / 0.8239 GB, free: 25.05 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.125e-06/0.6589, allocations: 2.203 kB / 0.8239 GB, free: 25.05 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 4.944e-05/0.6589, allocations: 97.89 kB / 0.824 GB, free: 24.97 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1e-07/0.6589, allocations: 0 / 0.824 GB, free: 24.97 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0002625/0.6592, allocations: 27.53 kB / 0.824 GB, free: 24.97 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,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.000157/0.6593, allocations: 105.8 kB / 0.8241 GB, free: 24.88 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.000383/0.6597, allocations: 220 kB / 0.8243 GB, free: 24.71 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.6597, allocations: 0 / 0.8243 GB, free: 24.71 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 5.447e-05/0.6598, allocations: 24.34 kB / 0.8243 GB, free: 24.7 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002778/0.6601, allocations: 20.36 kB / 0.8243 GB, free: 24.7 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003893/0.6605, allocations: 156.5 kB / 0.8245 GB, free: 24.55 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000172/0.6606, allocations: 0.6898 MB / 0.8252 GB, free: 23.86 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 2.978e-05/0.6607, allocations: 9.125 kB / 0.8252 GB, free: 23.85 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.331e-05/0.6607, allocations: 15.53 kB / 0.8252 GB, free: 23.84 MB / 0.6387 GB Notification: Performance of SimCode: time 3.1e-07/0.6607, allocations: 4 kB / 0.8252 GB, free: 23.84 MB / 0.6387 GB Notification: Performance of Templates: time 0.006241/0.6669, allocations: 1.861 MB / 0.827 GB, free: 23.68 MB / 0.6387 GB " [Timeout remaining time 659] 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: 6.855664851143956] Failed to read output from testmodel.py, exit status != 0: 0.6763444058597088 0.689125413 0.031849418000000004 Calling exit ...