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.00242/0.00242, allocations: 85.48 kB / 19.44 MB, free: 344 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.002851/0.002851, allocations: 177.2 kB / 22.76 MB, free: 1.66 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.626/1.626, 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.344/1.344, allocations: 154.6 MB / 414.1 MB, free: 0.6367 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: 1.457 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.327e-05/3.56e-05, allocations: 7.766 kB / 0.5196 GB, free: 1.453 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Xor): time 0.001942/0.001978, allocations: 0.6325 MB / 0.5202 GB, free: 0.8398 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.002008/0.003986, allocations: 1.222 MB / 0.5214 GB, free: 15.61 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.076e-05/0.004036, allocations: 0 / 0.5214 GB, free: 15.61 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 2.644e-05/0.004063, allocations: 3.938 kB / 0.5214 GB, free: 15.61 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 8.43e-05/0.004147, allocations: 13.47 kB / 0.5215 GB, free: 15.59 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006083/0.004755, allocations: 209.2 kB / 0.5217 GB, free: 15.39 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.000267/0.005022, allocations: 176.7 kB / 0.5218 GB, free: 15.22 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.4e-05/0.005106, allocations: 11.98 kB / 0.5218 GB, free: 15.21 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001544/0.005261, allocations: 95.86 kB / 0.5219 GB, free: 15.11 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001322/0.005393, allocations: 48.81 kB / 0.522 GB, free: 15.07 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 4.573e-05/0.005439, allocations: 19.94 kB / 0.522 GB, free: 15.05 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.724e-05/0.005516, allocations: 28.61 kB / 0.522 GB, free: 15.02 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 1.97e-05/0.005536, allocations: 7.938 kB / 0.522 GB, free: 15.01 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 9.03e-05/0.005626, allocations: 56.59 kB / 0.5221 GB, free: 14.96 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000277/0.005903, allocations: 184.8 kB / 0.5223 GB, free: 14.78 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.005906, allocations: 0 / 0.5223 GB, free: 14.78 MB / 458.7 MB Notification: Performance of FrontEnd: time 7.62e-07/0.005906, allocations: 0 / 0.5223 GB, free: 14.78 MB / 458.7 MB Notification: Performance of Transformations before backend: time 4.188e-06/0.005911, allocations: 0 / 0.5223 GB, free: 14.78 MB / 458.7 MB 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.0006412/0.006552, allocations: 469.3 kB / 0.5227 GB, free: 14.27 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.538e-05/0.006587, allocations: 11.97 kB / 0.5227 GB, free: 14.26 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.023e-05/0.006657, allocations: 16.89 kB / 0.5227 GB, free: 14.24 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001274/0.006785, allocations: 112.6 kB / 0.5228 GB, free: 14.11 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.771e-05/0.006803, allocations: 4.375 kB / 0.5228 GB, free: 14.1 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.871e-05/0.006831, allocations: 14.12 kB / 0.5229 GB, free: 14.09 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001291/0.00696, allocations: 50.23 kB / 0.5229 GB, free: 14.04 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.709e-06/0.00697, allocations: 192 / 0.5229 GB, free: 14.04 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.062e-05/0.006981, allocations: 4.375 kB / 0.5229 GB, free: 14.03 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.978e-06/0.006985, allocations: 5.062 kB / 0.5229 GB, free: 14.03 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.35e-05/0.007038, allocations: 23.86 kB / 0.5229 GB, free: 14 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005325/0.007571, allocations: 329.1 kB / 0.5232 GB, free: 13.65 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003882/0.007959, allocations: 43.06 kB / 0.5233 GB, free: 13.59 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.488e-05/0.007994, allocations: 23.77 kB / 0.5233 GB, free: 13.57 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.467e-05/0.008008, allocations: 5.328 kB / 0.5233 GB, free: 13.56 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001567/0.008165, allocations: 92.91 kB / 0.5234 GB, free: 13.46 MB / 458.7 MB Notification: Performance of pre-optimization done (n=7): time 1.072e-06/0.008166, allocations: 0 / 0.5234 GB, free: 13.46 MB / 458.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002926/0.008459, allocations: 121.8 kB / 0.5235 GB, free: 13.33 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.87e-05/0.008508, allocations: 57.11 kB / 0.5236 GB, free: 13.27 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001578/0.008665, allocations: 181.9 kB / 0.5237 GB, free: 13.07 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 3.881e-05/0.008704, allocations: 29.7 kB / 0.5238 GB, free: 13.04 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001056/0.00881, allocations: 142.8 kB / 0.5239 GB, free: 12.89 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.469e-05/0.008844, allocations: 22.02 kB / 0.5239 GB, free: 12.87 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001083/0.008953, allocations: 59.28 kB / 0.524 GB, free: 12.8 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0002652/0.009218, allocations: 0.4884 MB / 0.5245 GB, free: 12.3 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002093/0.009427, allocations: 139.4 kB / 0.5246 GB, free: 12.16 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002487/0.009676, allocations: 188.5 kB / 0.5248 GB, free: 11.94 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002563/0.009932, allocations: 182.9 kB / 0.525 GB, free: 11.73 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.009934, allocations: 1 kB / 0.525 GB, free: 11.73 MB / 458.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005615/0.0105, allocations: 365.2 kB / 0.5253 GB, free: 11.34 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.969e-05/0.01057, allocations: 68.73 kB / 0.5254 GB, free: 11.27 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.01057, allocations: 0 / 0.5254 GB, free: 11.27 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.72e-05/0.01059, allocations: 4 kB / 0.5254 GB, free: 11.26 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.18e-05/0.01061, allocations: 4.875 kB / 0.5254 GB, free: 11.26 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.217e-06/0.01062, allocations: 4 kB / 0.5254 GB, free: 11.25 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002853/0.0109, allocations: 43.17 kB / 0.5254 GB, free: 11.21 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.491e-05/0.01094, allocations: 11.98 kB / 0.5254 GB, free: 11.2 MB / 458.7 MB 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.0001495/0.01109, allocations: 168.6 kB / 0.5256 GB, free: 11.03 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.682e-05/0.01111, allocations: 15.88 kB / 0.5256 GB, free: 11.01 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.976e-05/0.01114, allocations: 8.438 kB / 0.5256 GB, free: 11 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.01115, allocations: 0 / 0.5256 GB, free: 11 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.359e-06/0.01115, allocations: 7.031 kB / 0.5256 GB, free: 11 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.01115, allocations: 0 / 0.5256 GB, free: 11 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001476/0.0113, allocations: 136.6 kB / 0.5258 GB, free: 10.83 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.011e-06/0.0113, allocations: 0 / 0.5258 GB, free: 10.83 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.434e-05/0.01132, allocations: 7.922 kB / 0.5258 GB, free: 10.82 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.363e-06/0.01132, allocations: 0 / 0.5258 GB, free: 10.82 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.374e-05/0.01133, allocations: 7.938 kB / 0.5258 GB, free: 10.82 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.01133, allocations: 0 / 0.5258 GB, free: 10.82 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.01133, allocations: 0 / 0.5258 GB, free: 10.82 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001898/0.01152, allocations: 125.9 kB / 0.5259 GB, free: 10.67 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.258e-05/0.01154, allocations: 8 kB / 0.5259 GB, free: 10.66 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.699e-05/0.01155, allocations: 3.938 kB / 0.5259 GB, free: 10.66 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.94e-05/0.01157, allocations: 0 / 0.5259 GB, free: 10.66 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.338e-05/0.01163, allocations: 12.48 kB / 0.5259 GB, free: 10.65 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.094e-05/0.01164, allocations: 10.69 kB / 0.5259 GB, free: 10.64 MB / 458.7 MB Notification: Performance of sorting global known variables: time 9.854e-05/0.01174, allocations: 139.1 kB / 0.5261 GB, free: 10.5 MB / 458.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01174, allocations: 0 / 0.5261 GB, free: 10.5 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002279/0.01196, allocations: 31.94 kB / 0.5261 GB, free: 10.47 MB / 458.7 MB 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.0001856/0.01215, allocations: 111.2 kB / 0.5262 GB, free: 10.36 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0004775/0.01263, allocations: 340.2 kB / 0.5265 GB, free: 9.984 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.01263, allocations: 0 / 0.5265 GB, free: 9.984 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 7.208e-05/0.0127, allocations: 31.67 kB / 0.5265 GB, free: 9.949 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002281/0.01293, allocations: 17.61 kB / 0.5266 GB, free: 9.934 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000377/0.01331, allocations: 154.9 kB / 0.5267 GB, free: 9.75 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.885e-05/0.01338, allocations: 75.45 kB / 0.5268 GB, free: 9.656 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 2.866e-05/0.01341, allocations: 16.95 kB / 0.5268 GB, free: 9.641 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.755e-05/0.01344, allocations: 8.5 kB / 0.5268 GB, free: 9.633 MB / 458.7 MB Notification: Performance of SimCode: time 5.91e-07/0.01344, allocations: 0.9688 kB / 0.5268 GB, free: 9.633 MB / 458.7 MB Notification: Performance of Templates: time 0.006088/0.01953, allocations: 2.067 MB / 0.5288 GB, free: 7.695 MB / 458.7 MB " [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=240 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Xor.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.059763464028947]