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.001044/0.001044, allocations: 92.22 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.001437/0.001437, allocations: 165 kB / 23.02 MB, free: 1.555 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 1.029/1.029, allocations: 177.1 MB / 203.4 MB, free: 5.648 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.8197/0.8197, allocations: 154.8 MB / 414.7 MB, free: 492 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.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: Performance of FrontEnd - loaded program: time 2.174e-06/2.174e-06, allocations: 0 / 0.5206 GB, free: 1.941 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.926e-05/3.143e-05, allocations: 2.312 kB / 0.5206 GB, free: 1.938 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Or): time 0.00471/0.004741, allocations: 0.6419 MB / 0.5212 GB, free: 1.324 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001527/0.006268, allocations: 1.236 MB / 0.5224 GB, free: 76 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.759e-05/0.006316, allocations: 0.9375 kB / 0.5224 GB, free: 76 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.286e-05/0.006349, allocations: 3.938 kB / 0.5224 GB, free: 72 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 7.812e-05/0.006427, allocations: 21.23 kB / 0.5224 GB, free: 52 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006415/0.007068, allocations: 208.6 kB / 0.5226 GB, free: 15.85 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.003249/0.01032, allocations: 176.5 kB / 0.5228 GB, free: 15.68 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000103/0.01042, allocations: 3.938 kB / 0.5228 GB, free: 15.67 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001386/0.01056, allocations: 99.91 kB / 0.5229 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000128/0.01069, allocations: 57.08 kB / 0.523 GB, free: 15.52 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 3.381e-05/0.01072, allocations: 12 kB / 0.523 GB, free: 15.51 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 8.48e-05/0.01081, allocations: 27.98 kB / 0.523 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 2.406e-05/0.01083, allocations: 13.33 kB / 0.523 GB, free: 15.47 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 7.245e-05/0.0109, allocations: 47.89 kB / 0.523 GB, free: 15.42 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002094/0.01111, allocations: 131.6 kB / 0.5232 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.01111, allocations: 4 kB / 0.5232 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.132e-06/0.01112, allocations: 0.7812 kB / 0.5232 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.739e-06/0.01112, allocations: 0 / 0.5232 GB, free: 15.29 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.0005537/0.01167, allocations: 465.7 kB / 0.5236 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.558e-05/0.01172, allocations: 8.031 kB / 0.5236 GB, free: 14.78 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.605e-05/0.0118, allocations: 16.89 kB / 0.5236 GB, free: 14.76 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001126/0.01191, allocations: 116.6 kB / 0.5238 GB, free: 14.62 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.889e-05/0.01193, allocations: 6.438 kB / 0.5238 GB, free: 14.62 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.946e-05/0.01196, allocations: 12.31 kB / 0.5238 GB, free: 14.61 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001121/0.01207, allocations: 46.19 kB / 0.5238 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.211e-05/0.01208, allocations: 192 / 0.5238 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.876e-05/0.0121, allocations: 4.359 kB / 0.5238 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.057e-05/0.01211, allocations: 384 / 0.5238 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.132e-05/0.01214, allocations: 17.41 kB / 0.5238 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004793/0.01262, allocations: 323.7 kB / 0.5241 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 8.992e-05/0.01271, allocations: 42.98 kB / 0.5242 GB, free: 14.13 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.632e-05/0.01274, allocations: 12.66 kB / 0.5242 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 9.538e-06/0.01275, allocations: 4 kB / 0.5242 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001359/0.01288, allocations: 82.03 kB / 0.5243 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=7): time 1.603e-06/0.01288, allocations: 0 / 0.5243 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of matching and sorting (n=7): time 0.003264/0.01615, allocations: 101.5 kB / 0.5244 GB, free: 13.91 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.164e-05/0.01619, allocations: 60.41 kB / 0.5244 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001097/0.0163, allocations: 173.9 kB / 0.5246 GB, free: 13.65 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.645e-05/0.01633, allocations: 34.2 kB / 0.5246 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 7.166e-05/0.0164, allocations: 142.8 kB / 0.5248 GB, free: 13.47 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.553e-05/0.01641, allocations: 8.812 kB / 0.5248 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.655e-05/0.0165, allocations: 55.34 kB / 0.5248 GB, free: 13.4 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001437/0.01664, allocations: 0.4935 MB / 0.5253 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001695/0.01681, allocations: 107.4 kB / 0.5254 GB, free: 12.78 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001449/0.01696, allocations: 161.7 kB / 0.5256 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001676/0.01713, allocations: 164 kB / 0.5257 GB, free: 12.39 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.01713, allocations: 0 / 0.5257 GB, free: 12.39 MB / 0.4948 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003835/0.01751, allocations: 325.9 kB / 0.526 GB, free: 12.05 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 5.473e-05/0.01757, allocations: 69.27 kB / 0.5261 GB, free: 11.97 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.01757, allocations: 0 / 0.5261 GB, free: 11.97 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.776e-05/0.01759, allocations: 4 kB / 0.5261 GB, free: 11.96 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.94e-05/0.01761, allocations: 1.562 kB / 0.5261 GB, free: 11.96 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.543e-06/0.01762, allocations: 4 kB / 0.5261 GB, free: 11.96 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002114/0.01783, allocations: 44.64 kB / 0.5262 GB, free: 11.92 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.515e-05/0.01785, allocations: 12 kB / 0.5262 GB, free: 11.91 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,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 0.000101/0.01795, allocations: 173.4 kB / 0.5263 GB, free: 11.73 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.627e-05/0.01798, allocations: 12.95 kB / 0.5263 GB, free: 11.71 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.268e-05/0.01801, allocations: 8.438 kB / 0.5264 GB, free: 11.71 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.01802, allocations: 0 / 0.5264 GB, free: 11.71 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.01802, allocations: 6.906 kB / 0.5264 GB, free: 11.7 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.636e-06/0.01802, allocations: 3.938 kB / 0.5264 GB, free: 11.7 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000106/0.01813, allocations: 128.6 kB / 0.5265 GB, free: 11.54 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.01813, allocations: 0 / 0.5265 GB, free: 11.54 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.015e-06/0.01814, allocations: 3.984 kB / 0.5265 GB, free: 11.54 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.28e-06/0.01815, allocations: 7.984 kB / 0.5265 GB, free: 11.53 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.828e-06/0.01816, allocations: 3.938 kB / 0.5265 GB, free: 11.52 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.01816, allocations: 0 / 0.5265 GB, free: 11.52 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.01816, allocations: 2.75 kB / 0.5265 GB, free: 11.52 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000144/0.0183, allocations: 116.3 kB / 0.5266 GB, free: 11.39 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.074e-05/0.01831, allocations: 7.953 kB / 0.5266 GB, free: 11.38 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.791e-05/0.01833, allocations: 7.938 kB / 0.5266 GB, free: 11.37 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.802e-05/0.01835, allocations: 0 / 0.5266 GB, free: 11.37 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.324e-05/0.01839, allocations: 7.984 kB / 0.5266 GB, free: 11.36 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.466e-06/0.0184, allocations: 4 kB / 0.5266 GB, free: 11.36 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 5.525e-05/0.01846, allocations: 135.9 kB / 0.5268 GB, free: 11.23 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.01846, allocations: 0 / 0.5268 GB, free: 11.23 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002735/0.01873, allocations: 25.12 kB / 0.5268 GB, free: 11.2 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,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.003192/0.02192, allocations: 104 kB / 0.5269 GB, free: 11.09 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0003407/0.02226, allocations: 279.2 kB / 0.5272 GB, free: 10.78 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.02226, allocations: 0 / 0.5272 GB, free: 10.78 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 4.389e-05/0.02231, allocations: 35.59 kB / 0.5272 GB, free: 10.74 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002392/0.02255, allocations: 14.3 kB / 0.5272 GB, free: 10.73 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003649/0.02291, allocations: 166.7 kB / 0.5274 GB, free: 10.54 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.742e-05/0.02295, allocations: 55.95 kB / 0.5274 GB, free: 10.46 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 3.051e-05/0.02298, allocations: 8.484 kB / 0.5274 GB, free: 10.45 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.411e-05/0.023, allocations: 13.31 kB / 0.5274 GB, free: 10.44 MB / 0.4948 GB Notification: Performance of SimCode: time 1.032e-06/0.02301, allocations: 0 / 0.5274 GB, free: 10.44 MB / 0.4948 GB Notification: Performance of Templates: time 0.007635/0.03064, allocations: 2.049 MB / 0.5294 GB, free: 8.512 MB / 0.4948 GB " [Timeout remaining time 660] 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=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Or.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.07582784909755]