Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.001101/0.001101, allocations: 81.17 kB / 19.87 MB, free: 4.621 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.000899/0.000899, allocations: 169 kB / 23.27 MB, free: 1.223 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.9085/0.9085, allocations: 177.2 MB / 203.7 MB, free: 5.516 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7339/0.7339, allocations: 154.6 MB / 414.8 MB, free: 0.5078 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/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_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_IDEAS.Controls.OBC.CDL.Logical.Validation.Or") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.935e-06/2.935e-06, allocations: 0 / 0.5208 GB, free: 1.871 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.395e-05/2.688e-05, allocations: 2.312 kB / 0.5208 GB, free: 1.867 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Or): time 0.001477/0.001504, allocations: 0.6442 MB / 0.5214 GB, free: 1.246 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001192/0.002696, allocations: 1.236 MB / 0.5226 GB, free: 0 / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.457e-05/0.00275, allocations: 4.047 kB / 0.5226 GB, free: 15.99 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 2.259e-05/0.002773, allocations: 7.875 kB / 0.5226 GB, free: 15.99 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 6.302e-05/0.002836, allocations: 12.66 kB / 0.5226 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003985/0.003235, allocations: 211 kB / 0.5228 GB, free: 15.77 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0001604/0.003395, allocations: 175.7 kB / 0.523 GB, free: 15.6 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 6.773e-05/0.003463, allocations: 4 kB / 0.523 GB, free: 15.6 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001077/0.00357, allocations: 99.84 kB / 0.5231 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 8.958e-05/0.00366, allocations: 51.91 kB / 0.5231 GB, free: 15.45 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.431e-05/0.003684, allocations: 16 kB / 0.5232 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 5.31e-05/0.003737, allocations: 20 kB / 0.5232 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 2.015e-05/0.003757, allocations: 16.42 kB / 0.5232 GB, free: 15.4 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 4.462e-05/0.003802, allocations: 48.55 kB / 0.5232 GB, free: 15.35 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001431/0.003945, allocations: 139.6 kB / 0.5234 GB, free: 15.21 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.044e-06/0.003947, allocations: 1 kB / 0.5234 GB, free: 15.21 MB / 0.4948 GB Notification: Performance of FrontEnd: time 7.61e-07/0.003948, allocations: 0 / 0.5234 GB, free: 15.21 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.627e-06/0.003952, allocations: 0.9375 kB / 0.5234 GB, free: 15.21 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.000383/0.004335, allocations: 463.9 kB / 0.5238 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.214e-05/0.004367, allocations: 12.03 kB / 0.5238 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.268e-05/0.004409, allocations: 13.67 kB / 0.5238 GB, free: 14.69 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.745e-05/0.004477, allocations: 116.5 kB / 0.524 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.257e-05/0.004489, allocations: 9.078 kB / 0.524 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.711e-05/0.004507, allocations: 12.38 kB / 0.524 GB, free: 14.53 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.986e-05/0.004566, allocations: 38.75 kB / 0.524 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.502e-06/0.004573, allocations: 1.219 kB / 0.524 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.12e-06/0.004578, allocations: 384 / 0.524 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.071e-06/0.004584, allocations: 4.375 kB / 0.524 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.387e-05/0.004598, allocations: 12.98 kB / 0.524 GB, free: 14.47 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003434/0.004941, allocations: 312.2 kB / 0.5243 GB, free: 14.14 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 4.675e-05/0.004988, allocations: 31.69 kB / 0.5244 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.421e-05/0.005002, allocations: 17.14 kB / 0.5244 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 4.979e-06/0.005007, allocations: 0 / 0.5244 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.481e-05/0.005092, allocations: 85.02 kB / 0.5245 GB, free: 13.98 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=7): time 9.52e-07/0.005093, allocations: 0 / 0.5245 GB, free: 13.98 MB / 0.4948 GB Notification: Performance of matching and sorting (n=7): time 0.000146/0.005239, allocations: 94.06 kB / 0.5245 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.861e-05/0.005268, allocations: 55.97 kB / 0.5246 GB, free: 13.81 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.459e-05/0.005342, allocations: 185.8 kB / 0.5248 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.893e-05/0.005361, allocations: 31.05 kB / 0.5248 GB, free: 13.58 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.081e-05/0.005412, allocations: 138.9 kB / 0.5249 GB, free: 13.44 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 9.789e-06/0.005422, allocations: 11.91 kB / 0.5249 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.949e-05/0.005481, allocations: 64.09 kB / 0.525 GB, free: 13.36 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001019/0.005583, allocations: 496.1 kB / 0.5255 GB, free: 12.86 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.724e-05/0.00566, allocations: 100.6 kB / 0.5256 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.434e-05/0.005745, allocations: 153.7 kB / 0.5257 GB, free: 12.57 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.338e-05/0.005838, allocations: 151.1 kB / 0.5259 GB, free: 12.39 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.466e-06/0.005842, allocations: 7.938 kB / 0.5259 GB, free: 12.38 MB / 0.4948 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002315/0.006073, allocations: 298.3 kB / 0.5262 GB, free: 12.06 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 4.019e-05/0.006113, allocations: 75.33 kB / 0.5262 GB, free: 11.97 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.006118, allocations: 0 / 0.5262 GB, free: 11.97 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.1e-05/0.006129, allocations: 0.8125 kB / 0.5262 GB, free: 11.97 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.643e-05/0.006145, allocations: 4 kB / 0.5262 GB, free: 11.97 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.616e-06/0.006149, allocations: 5.188 kB / 0.5262 GB, free: 11.96 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001461/0.006295, allocations: 50.64 kB / 0.5263 GB, free: 11.92 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.704e-05/0.006312, allocations: 11.98 kB / 0.5263 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 7.232e-05/0.006384, allocations: 168.6 kB / 0.5265 GB, free: 11.73 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.211e-05/0.006397, allocations: 7.953 kB / 0.5265 GB, free: 11.72 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.178e-05/0.006418, allocations: 12.38 kB / 0.5265 GB, free: 11.71 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.496e-06/0.006422, allocations: 4 kB / 0.5265 GB, free: 11.71 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.743e-06/0.006424, allocations: 2.719 kB / 0.5265 GB, free: 11.71 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.006427, allocations: 3.984 kB / 0.5265 GB, free: 11.7 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.956e-05/0.006497, allocations: 105.2 kB / 0.5266 GB, free: 11.57 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.502e-06/0.006499, allocations: 0 / 0.5266 GB, free: 11.57 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.529e-06/0.006503, allocations: 0 / 0.5266 GB, free: 11.57 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.006505, allocations: 4 kB / 0.5266 GB, free: 11.57 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.777e-06/0.006509, allocations: 0 / 0.5266 GB, free: 11.57 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.00651, allocations: 1.281 kB / 0.5266 GB, free: 11.57 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.894e-06/0.006518, allocations: 7.922 kB / 0.5266 GB, free: 11.56 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.478e-05/0.006613, allocations: 120.3 kB / 0.5267 GB, free: 11.42 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 8.376e-06/0.006621, allocations: 7.953 kB / 0.5267 GB, free: 11.41 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.376e-06/0.006629, allocations: 5.766 kB / 0.5267 GB, free: 11.41 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.23e-05/0.006642, allocations: 3.984 kB / 0.5267 GB, free: 11.41 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.163e-05/0.006663, allocations: 7.938 kB / 0.5267 GB, free: 11.4 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.36e-06/0.006669, allocations: 4 kB / 0.5267 GB, free: 11.39 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.502e-05/0.006704, allocations: 135.2 kB / 0.5269 GB, free: 11.26 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.006704, allocations: 0.9062 kB / 0.5269 GB, free: 11.26 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001426/0.006846, allocations: 28 kB / 0.5269 GB, free: 11.23 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.0001174/0.006964, allocations: 100.5 kB / 0.527 GB, free: 11.13 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001919/0.007156, allocations: 270.5 kB / 0.5273 GB, free: 10.82 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.007157, allocations: 7.375 kB / 0.5273 GB, free: 10.82 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 2.619e-05/0.007183, allocations: 27.66 kB / 0.5273 GB, free: 10.79 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001473/0.007331, allocations: 20.67 kB / 0.5273 GB, free: 10.77 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002049/0.007536, allocations: 161.3 kB / 0.5275 GB, free: 10.58 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.577e-05/0.007561, allocations: 55.36 kB / 0.5275 GB, free: 10.51 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.931e-05/0.007581, allocations: 7.984 kB / 0.5275 GB, free: 10.5 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.255e-05/0.007673, allocations: 108.7 kB / 0.5276 GB, free: 10.39 MB / 0.4948 GB Notification: Performance of SimCode: time 7.31e-07/0.007674, allocations: 0 / 0.5276 GB, free: 10.39 MB / 0.4948 GB Notification: Performance of Templates: time 0.003605/0.01128, allocations: 2.22 MB / 0.5298 GB, free: 8.316 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Or.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Or.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Or.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Or.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Or.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Or -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Or.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.595818618312478]