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.001155/0.001155, allocations: 92.2 kB / 20.19 MB, free: 4.363 MB / 18.57 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.001216/0.001216, allocations: 173.3 kB / 23.49 MB, free: 1.062 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.086/1.086, allocations: 177.1 MB / 203.8 MB, free: 5.656 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.8086/0.8086, allocations: 154.8 MB / 415.1 MB, free: 500 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 3.486e-06/3.486e-06, allocations: 3.938 kB / 0.5206 GB, free: 2.285 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.128e-05/3.477e-05, allocations: 4 kB / 0.5206 GB, free: 2.281 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Or): time 0.001552/0.001587, allocations: 0.6435 MB / 0.5212 GB, free: 1.66 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001282/0.002869, allocations: 1.244 MB / 0.5224 GB, free: 416 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.262e-05/0.002922, allocations: 4 kB / 0.5224 GB, free: 412 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.969e-05/0.002951, allocations: 3.938 kB / 0.5224 GB, free: 408 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 7.651e-05/0.003028, allocations: 11.88 kB / 0.5224 GB, free: 396 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005937/0.003622, allocations: 204.5 kB / 0.5226 GB, free: 192 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001912/0.003813, allocations: 180.9 kB / 0.5228 GB, free: 12 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.677e-05/0.00391, allocations: 7.984 kB / 0.5228 GB, free: 4 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001355/0.004045, allocations: 95.86 kB / 0.5229 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001079/0.004153, allocations: 52.53 kB / 0.523 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.595e-05/0.004179, allocations: 17.62 kB / 0.523 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 6.266e-05/0.004242, allocations: 23.98 kB / 0.523 GB, free: 15.82 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 2.418e-05/0.004266, allocations: 11.94 kB / 0.523 GB, free: 15.81 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 6.35e-05/0.004329, allocations: 47.95 kB / 0.5231 GB, free: 15.76 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001781/0.004507, allocations: 139.6 kB / 0.5232 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.00451, allocations: 1.156 kB / 0.5232 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of FrontEnd: time 9.41e-07/0.004511, allocations: 0 / 0.5232 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.979e-06/0.004516, allocations: 0 / 0.5232 GB, free: 15.62 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.0004366/0.004953, allocations: 460.7 kB / 0.5236 GB, free: 15.12 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.024e-05/0.004993, allocations: 12.03 kB / 0.5236 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.278e-05/0.005056, allocations: 22.09 kB / 0.5237 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.52e-05/0.005141, allocations: 108.6 kB / 0.5238 GB, free: 14.96 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.535e-05/0.005156, allocations: 4.375 kB / 0.5238 GB, free: 14.96 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.041e-05/0.005177, allocations: 9.094 kB / 0.5238 GB, free: 14.95 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.118e-05/0.005268, allocations: 46.23 kB / 0.5238 GB, free: 14.9 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.797e-06/0.005277, allocations: 4.75 kB / 0.5238 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.325e-05/0.00529, allocations: 4.375 kB / 0.5238 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.845e-06/0.005298, allocations: 1.375 kB / 0.5238 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.408e-05/0.005322, allocations: 7.938 kB / 0.5238 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003649/0.005687, allocations: 328.3 kB / 0.5242 GB, free: 14.53 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 6.738e-05/0.005754, allocations: 39.8 kB / 0.5242 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.065e-05/0.005775, allocations: 11.69 kB / 0.5242 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 6.332e-06/0.005781, allocations: 7.125 kB / 0.5242 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.942e-05/0.00588, allocations: 85.05 kB / 0.5243 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=7): time 1.824e-06/0.005882, allocations: 0 / 0.5243 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of matching and sorting (n=7): time 0.0002041/0.006086, allocations: 93.61 kB / 0.5244 GB, free: 14.26 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.957e-05/0.006126, allocations: 59.34 kB / 0.5244 GB, free: 14.19 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.435e-05/0.00622, allocations: 185.8 kB / 0.5246 GB, free: 13.99 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.044e-05/0.006251, allocations: 37.69 kB / 0.5247 GB, free: 13.95 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 6.14e-05/0.006312, allocations: 134.9 kB / 0.5248 GB, free: 13.81 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.364e-05/0.006326, allocations: 12.81 kB / 0.5248 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.676e-05/0.006392, allocations: 55.34 kB / 0.5248 GB, free: 13.74 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001288/0.006521, allocations: 0.4884 MB / 0.5253 GB, free: 13.24 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000113/0.006634, allocations: 111.9 kB / 0.5254 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000118/0.006752, allocations: 158.7 kB / 0.5256 GB, free: 12.93 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001273/0.00688, allocations: 163.4 kB / 0.5257 GB, free: 12.74 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.006882, allocations: 0 / 0.5257 GB, free: 12.74 MB / 0.4948 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004007/0.007283, allocations: 329.1 kB / 0.5261 GB, free: 12.39 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 4.18e-05/0.007324, allocations: 69.45 kB / 0.5261 GB, free: 12.31 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.007329, allocations: 4 kB / 0.5261 GB, free: 12.3 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.387e-05/0.007343, allocations: 0 / 0.5261 GB, free: 12.3 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.961e-05/0.007363, allocations: 4 kB / 0.5261 GB, free: 12.3 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.007369, allocations: 0 / 0.5261 GB, free: 12.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001821/0.007551, allocations: 45.42 kB / 0.5262 GB, free: 12.26 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.811e-05/0.007569, allocations: 8 kB / 0.5262 GB, free: 12.25 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 8.737e-05/0.007657, allocations: 171.3 kB / 0.5263 GB, free: 12.07 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.709e-05/0.007674, allocations: 20.56 kB / 0.5264 GB, free: 12.05 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.392e-05/0.007698, allocations: 8.438 kB / 0.5264 GB, free: 12.05 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.754e-06/0.0077, allocations: 5.5 kB / 0.5264 GB, free: 12.04 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.007704, allocations: 0 / 0.5264 GB, free: 12.04 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.007708, allocations: 0 / 0.5264 GB, free: 12.04 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.743e-05/0.007795, allocations: 128.5 kB / 0.5265 GB, free: 11.88 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.007796, allocations: 2.75 kB / 0.5265 GB, free: 11.88 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.442e-06/0.007803, allocations: 8 kB / 0.5265 GB, free: 11.88 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.007805, allocations: 0 / 0.5265 GB, free: 11.88 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.767e-06/0.007813, allocations: 3.938 kB / 0.5265 GB, free: 11.87 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.007815, allocations: 0 / 0.5265 GB, free: 11.87 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.073e-06/0.007817, allocations: 4.312 kB / 0.5265 GB, free: 11.87 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001109/0.007928, allocations: 116.4 kB / 0.5266 GB, free: 11.73 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.843e-06/0.007934, allocations: 6.109 kB / 0.5266 GB, free: 11.73 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.462e-05/0.007949, allocations: 11.92 kB / 0.5266 GB, free: 11.71 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.631e-05/0.007965, allocations: 4 kB / 0.5266 GB, free: 11.71 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.614e-05/0.008001, allocations: 3.938 kB / 0.5266 GB, free: 11.71 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.07e-06/0.008007, allocations: 11.92 kB / 0.5267 GB, free: 11.7 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.356e-05/0.00805, allocations: 135.6 kB / 0.5268 GB, free: 11.56 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.00805, allocations: 0.9062 kB / 0.5268 GB, free: 11.56 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001668/0.008217, allocations: 28 kB / 0.5268 GB, free: 11.54 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.0001247/0.008342, allocations: 111.7 kB / 0.5269 GB, free: 11.42 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0002557/0.008597, allocations: 277.8 kB / 0.5272 GB, free: 11.11 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.008599, allocations: 0 / 0.5272 GB, free: 11.11 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 3.552e-05/0.008634, allocations: 27.67 kB / 0.5272 GB, free: 11.08 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001829/0.008817, allocations: 16.17 kB / 0.5272 GB, free: 11.07 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003023/0.00912, allocations: 162.7 kB / 0.5274 GB, free: 10.88 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.328e-05/0.009153, allocations: 55.36 kB / 0.5274 GB, free: 10.8 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.468e-05/0.009178, allocations: 11.02 kB / 0.5274 GB, free: 10.79 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.046e-05/0.009198, allocations: 12.5 kB / 0.5275 GB, free: 10.78 MB / 0.4948 GB Notification: Performance of SimCode: time 9.12e-07/0.009199, allocations: 0 / 0.5275 GB, free: 10.78 MB / 0.4948 GB Notification: Performance of Templates: time 0.003603/0.0128, allocations: 2.038 MB / 0.5295 GB, free: 8.859 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: 3.8737468000035733]