Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Xor.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.001446/0.001446, allocations: 92.7 kB / 19.44 MB, free: 324 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.001613/0.001613, allocations: 161.3 kB / 22.75 MB, free: 1.656 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.455/1.455, allocations: 177.1 MB / 203.1 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] 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 1.222/1.222, allocations: 154.6 MB / 414.2 MB, free: 0.6445 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 178] 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.Xor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Xor") translateModel(IDEAS.Controls.OBC.CDL.Logical.Validation.Xor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Xor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.324e-06/2.324e-06, allocations: 0 / 0.5196 GB, free: 2.555 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.826e-05/3.059e-05, allocations: 2.312 kB / 0.5196 GB, free: 2.551 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Xor): time 0.001839/0.00187, allocations: 0.6286 MB / 0.5203 GB, free: 1.945 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.002141/0.004011, allocations: 1.216 MB / 0.5214 GB, free: 0.7188 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.834e-05/0.004059, allocations: 0 / 0.5214 GB, free: 0.7188 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.203e-05/0.004091, allocations: 3.938 kB / 0.5214 GB, free: 0.7148 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 8.65e-05/0.004177, allocations: 15.92 kB / 0.5215 GB, free: 0.6992 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006674/0.004845, allocations: 216.9 kB / 0.5217 GB, free: 500 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002594/0.005104, allocations: 172.3 kB / 0.5218 GB, free: 328 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.035e-05/0.005195, allocations: 8.953 kB / 0.5218 GB, free: 320 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001703/0.005365, allocations: 91.88 kB / 0.5219 GB, free: 228 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001404/0.005505, allocations: 55.89 kB / 0.522 GB, free: 172 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 4.133e-05/0.005547, allocations: 16.97 kB / 0.522 GB, free: 156 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.813e-05/0.005625, allocations: 27.88 kB / 0.522 GB, free: 128 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 2.963e-05/0.005654, allocations: 15.97 kB / 0.522 GB, free: 112 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 8.986e-05/0.005744, allocations: 48.84 kB / 0.5221 GB, free: 64 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000299/0.006043, allocations: 183.5 kB / 0.5223 GB, free: 15.88 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.866e-06/0.006046, allocations: 0.9688 kB / 0.5223 GB, free: 15.88 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.122e-06/0.006047, allocations: 0 / 0.5223 GB, free: 15.88 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.097e-06/0.006051, allocations: 0 / 0.5223 GB, free: 15.88 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.0005886/0.00664, allocations: 363.3 kB / 0.5226 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.804e-05/0.006678, allocations: 8.031 kB / 0.5226 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.668e-05/0.006755, allocations: 12.89 kB / 0.5226 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001244/0.006879, allocations: 109.7 kB / 0.5227 GB, free: 15.33 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.002e-05/0.006899, allocations: 5.406 kB / 0.5227 GB, free: 15.33 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.959e-05/0.006939, allocations: 16.36 kB / 0.5228 GB, free: 15.31 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001232/0.007062, allocations: 46.25 kB / 0.5228 GB, free: 15.26 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/0.00707, allocations: 1.406 kB / 0.5228 GB, free: 15.26 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.077e-05/0.007081, allocations: 384 / 0.5228 GB, free: 15.26 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.007086, allocations: 384 / 0.5228 GB, free: 15.26 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.032e-05/0.007146, allocations: 36.42 kB / 0.5228 GB, free: 15.23 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005166/0.007663, allocations: 272.5 kB / 0.5231 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 9.2e-05/0.007755, allocations: 36.19 kB / 0.5231 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.495e-05/0.00779, allocations: 12.86 kB / 0.5231 GB, free: 14.87 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.131e-05/0.007801, allocations: 0 / 0.5231 GB, free: 14.87 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001954/0.007996, allocations: 92.52 kB / 0.5232 GB, free: 14.77 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=7): time 1.142e-06/0.007997, allocations: 0 / 0.5232 GB, free: 14.77 MB / 0.4948 GB Notification: Performance of matching and sorting (n=7): time 0.0003125/0.00831, allocations: 105.6 kB / 0.5233 GB, free: 14.66 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.351e-05/0.008363, allocations: 56.22 kB / 0.5234 GB, free: 14.59 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00013/0.008493, allocations: 114.1 kB / 0.5235 GB, free: 14.47 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.337e-05/0.008537, allocations: 29.7 kB / 0.5235 GB, free: 14.44 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 9.02e-05/0.008627, allocations: 101.2 kB / 0.5236 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.522e-05/0.008652, allocations: 23.78 kB / 0.5236 GB, free: 14.31 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001116/0.008764, allocations: 49.69 kB / 0.5237 GB, free: 14.26 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001783/0.008942, allocations: 319.5 kB / 0.524 GB, free: 13.94 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002037/0.009146, allocations: 119.4 kB / 0.5241 GB, free: 13.81 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002316/0.009377, allocations: 159 kB / 0.5243 GB, free: 13.63 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002351/0.009613, allocations: 161.4 kB / 0.5244 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.009614, allocations: 0 / 0.5244 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005848/0.0102, allocations: 348.1 kB / 0.5247 GB, free: 13.08 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 7.01e-05/0.01027, allocations: 67.39 kB / 0.5248 GB, free: 13 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.581e-06/0.01027, allocations: 0 / 0.5248 GB, free: 13 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.089e-05/0.0103, allocations: 4 kB / 0.5248 GB, free: 13 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.148e-05/0.01032, allocations: 3.938 kB / 0.5248 GB, free: 12.99 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.545e-06/0.01032, allocations: 4.312 kB / 0.5248 GB, free: 12.99 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003564/0.01068, allocations: 52.81 kB / 0.5249 GB, free: 12.94 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.857e-05/0.01072, allocations: 12.55 kB / 0.5249 GB, free: 12.93 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,xor1.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.0001285/0.01085, allocations: 119.6 kB / 0.525 GB, free: 12.8 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.33e-05/0.01087, allocations: 11.89 kB / 0.525 GB, free: 12.79 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.438e-05/0.01091, allocations: 16.42 kB / 0.525 GB, free: 12.77 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.01091, allocations: 0 / 0.525 GB, free: 12.77 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.01091, allocations: 1.531 kB / 0.525 GB, free: 12.77 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.01092, allocations: 0 / 0.525 GB, free: 12.77 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001517/0.01107, allocations: 125.2 kB / 0.5251 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.01107, allocations: 0 / 0.5251 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.132e-05/0.01108, allocations: 3.938 kB / 0.5251 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.359e-06/0.01108, allocations: 6.688 kB / 0.5252 GB, free: 12.61 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.291e-05/0.0111, allocations: 7.984 kB / 0.5252 GB, free: 12.61 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.49e-06/0.0111, allocations: 3.984 kB / 0.5252 GB, free: 12.6 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.0111, allocations: 0 / 0.5252 GB, free: 12.6 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001891/0.01129, allocations: 113.1 kB / 0.5253 GB, free: 12.47 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 8.837e-06/0.0113, allocations: 0 / 0.5253 GB, free: 12.47 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.213e-05/0.01132, allocations: 7.938 kB / 0.5253 GB, free: 12.46 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.499e-05/0.01135, allocations: 6.125 kB / 0.5253 GB, free: 12.46 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.928e-05/0.0114, allocations: 7.984 kB / 0.5253 GB, free: 12.45 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.472e-06/0.0114, allocations: 0 / 0.5253 GB, free: 12.45 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 6.859e-05/0.01147, allocations: 91.27 kB / 0.5254 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of sort global known variables: time 9.1e-08/0.01147, allocations: 4 kB / 0.5254 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002545/0.01173, allocations: 35.89 kB / 0.5254 GB, free: 12.32 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,xor1.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.0001667/0.01189, allocations: 104.8 kB / 0.5255 GB, free: 12.21 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0004457/0.01234, allocations: 279 kB / 0.5258 GB, free: 11.91 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.01234, allocations: 0 / 0.5258 GB, free: 11.91 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 5.445e-05/0.0124, allocations: 24.64 kB / 0.5258 GB, free: 11.88 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002564/0.01265, allocations: 23.52 kB / 0.5258 GB, free: 11.86 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004078/0.01306, allocations: 165.1 kB / 0.526 GB, free: 11.67 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.01e-05/0.01314, allocations: 79.25 kB / 0.5261 GB, free: 11.57 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.638e-05/0.01317, allocations: 4 kB / 0.5261 GB, free: 11.57 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.809e-05/0.01319, allocations: 12.5 kB / 0.5261 GB, free: 11.56 MB / 0.4948 GB Notification: Performance of SimCode: time 3.91e-07/0.0132, allocations: 3.062 kB / 0.5261 GB, free: 11.56 MB / 0.4948 GB Notification: Performance of Templates: time 0.005675/0.01887, allocations: 2.062 MB / 0.5281 GB, free: 9.625 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Xor.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Xor.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Xor.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Xor.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Xor.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Xor -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Xor.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.787341360002756]