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.0009556/0.0009556, allocations: 93.06 kB / 19.65 MB, free: 280 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.001026/0.001026, allocations: 173.3 kB / 23.03 MB, free: 1.547 MB / 18.57 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.9889/0.9889, allocations: 177.1 MB / 203.4 MB, free: 5.637 MB / 186.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-535:34: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-535:42: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.8063/0.8063, allocations: 154.9 MB / 414.8 MB, free: 404 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [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: Performance of FrontEnd - loaded program: time 1.824e-06/1.824e-06, allocations: 0 / 0.5207 GB, free: 1.797 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.433e-05/2.615e-05, allocations: 2.859 kB / 0.5207 GB, free: 1.793 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.And): time 0.001415/0.001441, allocations: 0.6493 MB / 0.5213 GB, free: 1.172 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001751/0.003192, allocations: 1.248 MB / 0.5225 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.673e-05/0.003269, allocations: 0 / 0.5225 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 4.802e-05/0.003317, allocations: 3.938 kB / 0.5225 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0001335/0.00345, allocations: 15.88 kB / 0.5226 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006931/0.004143, allocations: 205 kB / 0.5228 GB, free: 15.7 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0002154/0.004359, allocations: 177 kB / 0.5229 GB, free: 15.52 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001093/0.004468, allocations: 7.938 kB / 0.5229 GB, free: 15.52 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001205/0.004588, allocations: 99.84 kB / 0.523 GB, free: 15.42 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001459/0.004734, allocations: 48.53 kB / 0.5231 GB, free: 15.37 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.892e-05/0.004763, allocations: 16 kB / 0.5231 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 7.787e-05/0.004841, allocations: 24.69 kB / 0.5231 GB, free: 15.33 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 2.696e-05/0.004868, allocations: 15.92 kB / 0.5231 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 6.761e-05/0.004936, allocations: 45.3 kB / 0.5232 GB, free: 15.27 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002053/0.005141, allocations: 139.6 kB / 0.5233 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.815e-06/0.005144, allocations: 0 / 0.5233 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of FrontEnd: time 8.42e-07/0.005145, allocations: 0 / 0.5233 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.601e-06/0.00515, allocations: 1 kB / 0.5233 GB, free: 15.14 MB / 0.4948 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.0005306/0.005681, allocations: 459.9 kB / 0.5237 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 6.419e-05/0.005745, allocations: 15.56 kB / 0.5238 GB, free: 14.62 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001075/0.005852, allocations: 12.89 kB / 0.5238 GB, free: 14.61 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001243/0.005977, allocations: 124.5 kB / 0.5239 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.271e-05/0.005999, allocations: 4.375 kB / 0.5239 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001149/0.006114, allocations: 8.375 kB / 0.5239 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.974e-05/0.006214, allocations: 42.25 kB / 0.5239 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.187e-06/0.006223, allocations: 192 / 0.5239 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.27e-05/0.006236, allocations: 4.359 kB / 0.5239 GB, free: 14.4 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.927e-06/0.006245, allocations: 8.312 kB / 0.524 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.202e-05/0.006267, allocations: 7.938 kB / 0.524 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004089/0.006676, allocations: 332.2 kB / 0.5243 GB, free: 14.03 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 8.761e-05/0.006764, allocations: 39.61 kB / 0.5243 GB, free: 13.98 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.075e-05/0.006784, allocations: 12.25 kB / 0.5243 GB, free: 13.96 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 7.194e-06/0.006791, allocations: 0.9688 kB / 0.5243 GB, free: 13.96 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001053/0.006897, allocations: 88.98 kB / 0.5244 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=7): time 1.613e-06/0.006898, allocations: 1.469 kB / 0.5244 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of matching and sorting (n=7): time 0.0002133/0.007112, allocations: 93.61 kB / 0.5245 GB, free: 13.76 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.047e-05/0.007152, allocations: 59.34 kB / 0.5246 GB, free: 13.69 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.207e-05/0.007244, allocations: 181.8 kB / 0.5247 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.265e-05/0.007267, allocations: 34.42 kB / 0.5248 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.751e-05/0.007324, allocations: 134.9 kB / 0.5249 GB, free: 13.32 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.44e-05/0.007339, allocations: 16.47 kB / 0.5249 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.072e-05/0.007399, allocations: 51.34 kB / 0.525 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001259/0.007525, allocations: 0.4942 MB / 0.5254 GB, free: 12.74 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001096/0.007635, allocations: 107.4 kB / 0.5255 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002847/0.00792, allocations: 157.8 kB / 0.5257 GB, free: 12.44 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001227/0.008042, allocations: 163 kB / 0.5259 GB, free: 12.25 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.008045, allocations: 4 kB / 0.5259 GB, free: 12.24 MB / 0.4948 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003018/0.008347, allocations: 322.2 kB / 0.5262 GB, free: 11.9 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 4.661e-05/0.008394, allocations: 71.33 kB / 0.5262 GB, free: 11.82 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.785e-06/0.008401, allocations: 4 kB / 0.5262 GB, free: 11.81 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.761e-05/0.008419, allocations: 1.875 kB / 0.5262 GB, free: 11.81 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.042e-05/0.00844, allocations: 4 kB / 0.5262 GB, free: 11.81 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.008446, allocations: 0 / 0.5262 GB, free: 11.81 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001736/0.00862, allocations: 46.64 kB / 0.5263 GB, free: 11.77 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.178e-05/0.008642, allocations: 12 kB / 0.5263 GB, free: 11.75 MB / 0.4948 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 9.507e-05/0.008737, allocations: 168.6 kB / 0.5265 GB, free: 11.58 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.412e-05/0.008751, allocations: 11.89 kB / 0.5265 GB, free: 11.57 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.622e-05/0.008777, allocations: 8.438 kB / 0.5265 GB, free: 11.56 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.008781, allocations: 7.938 kB / 0.5265 GB, free: 11.55 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.008786, allocations: 1.781 kB / 0.5265 GB, free: 11.55 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.008789, allocations: 0 / 0.5265 GB, free: 11.55 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.801e-05/0.008877, allocations: 124.6 kB / 0.5266 GB, free: 11.39 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-06/0.008878, allocations: 0 / 0.5266 GB, free: 11.39 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.743e-06/0.008885, allocations: 7.984 kB / 0.5266 GB, free: 11.39 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.053e-06/0.008887, allocations: 0.9375 kB / 0.5266 GB, free: 11.39 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.777e-06/0.008896, allocations: 7.938 kB / 0.5266 GB, free: 11.38 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.81e-07/0.008897, allocations: 0.7812 kB / 0.5266 GB, free: 11.38 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.008899, allocations: 3.984 kB / 0.5266 GB, free: 11.38 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000104/0.009003, allocations: 117 kB / 0.5267 GB, free: 11.24 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.473e-06/0.00901, allocations: 3.953 kB / 0.5267 GB, free: 11.23 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.013e-05/0.00902, allocations: 4.5 kB / 0.5267 GB, free: 11.23 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.099e-05/0.009031, allocations: 8 kB / 0.5268 GB, free: 11.22 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.509e-05/0.009066, allocations: 10.92 kB / 0.5268 GB, free: 11.21 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.431e-06/0.009072, allocations: 7.938 kB / 0.5268 GB, free: 11.21 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.887e-05/0.00911, allocations: 135.2 kB / 0.5269 GB, free: 11.07 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.00911, allocations: 0 / 0.5269 GB, free: 11.07 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001527/0.009263, allocations: 28 kB / 0.5269 GB, free: 11.05 MB / 0.4948 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.0001047/0.009368, allocations: 103.2 kB / 0.527 GB, free: 10.94 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0002464/0.009614, allocations: 281.3 kB / 0.5273 GB, free: 10.62 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.009617, allocations: 0 / 0.5273 GB, free: 10.62 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 3.235e-05/0.009649, allocations: 27.66 kB / 0.5273 GB, free: 10.59 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001675/0.009817, allocations: 24.92 kB / 0.5273 GB, free: 10.57 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002731/0.01009, allocations: 171.3 kB / 0.5275 GB, free: 10.37 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.167e-05/0.01012, allocations: 55.36 kB / 0.5276 GB, free: 10.3 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.066e-05/0.01014, allocations: 7.984 kB / 0.5276 GB, free: 10.29 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.793e-05/0.01016, allocations: 12.5 kB / 0.5276 GB, free: 10.28 MB / 0.4948 GB Notification: Performance of SimCode: time 5.41e-07/0.01016, allocations: 2.625 kB / 0.5276 GB, free: 10.28 MB / 0.4948 GB Notification: Performance of Templates: time 0.004056/0.01422, allocations: 2.215 MB / 0.5297 GB, free: 8.195 MB / 0.4948 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=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.And.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.8530474668368697]