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.0008318/0.0008318, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00136/0.002192, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.001167/0.001167, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001799/0.002965, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.017/1.017, allocations: 177.2 MB / 189.7 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09607/1.113, allocations: 53.67 MB / 243.4 MB, free: 15.49 MB / 250.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.7809/0.7809, allocations: 154.6 MB / 398.8 MB, free: 380 kB / 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. Notification: Performance of NFInstanceAPI.mkTop(): time 0.2867/1.068, allocations: 49.04 MB / 447.8 MB, free: 6.605 MB / 426.7 MB " [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.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 1.342e-06/1.342e-06, allocations: 0 / 449.1 MB, free: 5.293 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.005e-06/9.347e-06, allocations: 2.312 kB / 449.1 MB, free: 5.289 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Xor): time 0.00103/0.001039, allocations: 0.6945 MB / 449.8 MB, free: 4.633 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009421/0.001981, allocations: 1.244 MB / 451.1 MB, free: 3.379 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.825e-05/0.00201, allocations: 4 kB / 451.1 MB, free: 3.375 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 1.879e-05/0.002028, allocations: 5.094 kB / 451.1 MB, free: 3.371 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 3.629e-05/0.002065, allocations: 4.703 kB / 451.1 MB, free: 3.371 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000319/0.002384, allocations: 209.6 kB / 451.3 MB, free: 3.168 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.000189/0.002573, allocations: 173.1 kB / 451.5 MB, free: 3.012 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.706e-05/0.00264, allocations: 10.02 kB / 451.5 MB, free: 3.004 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001077/0.002748, allocations: 103 kB / 451.6 MB, free: 2.906 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.43e-05/0.002842, allocations: 50.16 kB / 451.6 MB, free: 2.859 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 2.423e-05/0.002866, allocations: 21.41 kB / 451.7 MB, free: 2.84 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.118e-05/0.002937, allocations: 32.53 kB / 451.7 MB, free: 2.809 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 1.939e-05/0.002957, allocations: 5.75 kB / 451.7 MB, free: 2.805 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 4.23e-05/0.002999, allocations: 34.41 kB / 451.7 MB, free: 2.773 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001399/0.003139, allocations: 106.6 kB / 451.8 MB, free: 2.676 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.061e-05/0.003149, allocations: 0 / 451.8 MB, free: 2.676 MB / 426.7 MB Notification: Performance of FrontEnd: time 5.11e-07/0.00315, allocations: 1.438 kB / 451.8 MB, free: 2.676 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.207e-05/0.003162, allocations: 3.938 kB / 451.8 MB, free: 2.672 MB / 426.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.0003904/0.003552, allocations: 349.9 kB / 452.2 MB, free: 2.293 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.681e-05/0.003579, allocations: 8.031 kB / 452.2 MB, free: 2.285 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4e-05/0.003619, allocations: 17.47 kB / 452.2 MB, free: 2.27 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.272e-05/0.003692, allocations: 115.6 kB / 452.3 MB, free: 2.133 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.106e-05/0.003703, allocations: 4.375 kB / 452.3 MB, free: 2.129 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.11e-05/0.003724, allocations: 12.38 kB / 452.3 MB, free: 2.117 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.087e-05/0.003785, allocations: 42.23 kB / 452.4 MB, free: 2.07 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.041e-06/0.003791, allocations: 192 / 452.4 MB, free: 2.07 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.292e-06/0.003797, allocations: 6.594 kB / 452.4 MB, free: 2.066 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.003802, allocations: 384 / 452.4 MB, free: 2.066 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.462e-05/0.003817, allocations: 11.88 kB / 452.4 MB, free: 2.055 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002178/0.004035, allocations: 177.4 kB / 452.6 MB, free: 1.867 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.157e-05/0.004086, allocations: 34.62 kB / 452.6 MB, free: 1.824 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.45e-05/0.004101, allocations: 9.578 kB / 452.6 MB, free: 1.812 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.639e-06/0.004105, allocations: 0 / 452.6 MB, free: 1.812 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.37e-05/0.004189, allocations: 84.05 kB / 452.7 MB, free: 1.719 MB / 426.7 MB Notification: Performance of pre-optimization done (n=7): time 7.81e-07/0.00419, allocations: 0 / 452.7 MB, free: 1.719 MB / 426.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001135/0.004303, allocations: 82.59 kB / 452.8 MB, free: 1.633 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.609e-05/0.004329, allocations: 55.41 kB / 452.8 MB, free: 1.566 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.069e-05/0.00439, allocations: 127.2 kB / 452.9 MB, free: 1.43 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.986e-05/0.00441, allocations: 33.64 kB / 453 MB, free: 1.391 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.595e-05/0.004446, allocations: 95.22 kB / 453.1 MB, free: 1.297 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.792e-05/0.004464, allocations: 15.89 kB / 453.1 MB, free: 1.281 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.074e-05/0.004515, allocations: 41.67 kB / 453.1 MB, free: 1.234 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.316e-05/0.004578, allocations: 318.8 kB / 453.4 MB, free: 0.9141 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.794e-05/0.004646, allocations: 99.38 kB / 453.5 MB, free: 0.8047 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.615e-05/0.004722, allocations: 133 kB / 453.7 MB, free: 0.6484 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.998e-05/0.004812, allocations: 149.1 kB / 453.8 MB, free: 488 kB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.004814, allocations: 0 / 453.8 MB, free: 488 kB / 426.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001704/0.004984, allocations: 266.2 kB / 454.1 MB, free: 192 kB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.952e-05/0.005024, allocations: 71.33 kB / 454.1 MB, free: 108 kB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.005029, allocations: 3.938 kB / 454.1 MB, free: 104 kB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.125e-05/0.00504, allocations: 4 kB / 454.2 MB, free: 100 kB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.583e-05/0.005056, allocations: 6.156 kB / 454.2 MB, free: 96 kB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.489e-06/0.00506, allocations: 4 kB / 454.2 MB, free: 92 kB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001376/0.005198, allocations: 48.97 kB / 454.2 MB, free: 44 kB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.574e-05/0.005214, allocations: 8.625 kB / 454.2 MB, free: 36 kB / 426.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 7.023e-05/0.005284, allocations: 125.2 kB / 454.3 MB, free: 15.91 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.404e-06/0.005291, allocations: 4 kB / 454.3 MB, free: 15.9 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.259e-05/0.005314, allocations: 12.38 kB / 454.4 MB, free: 15.89 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.005317, allocations: 4.594 kB / 454.4 MB, free: 15.89 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.442e-06/0.005318, allocations: 1.281 kB / 454.4 MB, free: 15.89 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.005321, allocations: 0 / 454.4 MB, free: 15.89 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.697e-05/0.005378, allocations: 77.81 kB / 454.4 MB, free: 15.79 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.81e-07/0.005379, allocations: 0 / 454.4 MB, free: 15.79 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.354e-06/0.005386, allocations: 12.98 kB / 454.4 MB, free: 15.78 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.082e-06/0.005392, allocations: 3.953 kB / 454.5 MB, free: 15.78 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.005394, allocations: 4 kB / 454.5 MB, free: 15.77 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.597e-06/0.005398, allocations: 0.875 kB / 454.5 MB, free: 15.77 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.005399, allocations: 3.938 kB / 454.5 MB, free: 15.77 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.0054, allocations: 0.75 kB / 454.5 MB, free: 15.77 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.382e-05/0.005464, allocations: 86.69 kB / 454.5 MB, free: 15.67 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.524e-06/0.005471, allocations: 0.5938 kB / 454.5 MB, free: 15.67 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.143e-05/0.005483, allocations: 1.438 kB / 454.5 MB, free: 15.67 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.527e-05/0.005508, allocations: 15.92 kB / 454.6 MB, free: 15.65 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.076e-06/0.005511, allocations: 0 / 454.6 MB, free: 15.65 MB / 442.7 MB Notification: Performance of sorting global known variables: time 1.511e-05/0.005526, allocations: 16.84 kB / 454.6 MB, free: 15.63 MB / 442.7 MB Notification: Performance of sort global known variables: time 4e-08/0.005526, allocations: 0.7812 kB / 454.6 MB, free: 15.63 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001206/0.005647, allocations: 28 kB / 454.6 MB, free: 15.61 MB / 442.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 9.197e-05/0.005739, allocations: 89.78 kB / 454.7 MB, free: 15.51 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001894/0.005928, allocations: 263.8 kB / 455 MB, free: 15.21 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.005931, allocations: 0 / 455 MB, free: 15.21 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 2.279e-05/0.005954, allocations: 21.52 kB / 455 MB, free: 15.19 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001382/0.006092, allocations: 132.7 kB / 455.1 MB, free: 15.04 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003804/0.006473, allocations: 158.3 kB / 455.3 MB, free: 14.86 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.747e-05/0.0065, allocations: 55.36 kB / 455.3 MB, free: 14.79 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 1.946e-05/0.00652, allocations: 8.609 kB / 455.3 MB, free: 14.78 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.056e-05/0.00661, allocations: 79.97 kB / 455.4 MB, free: 14.7 MB / 442.7 MB Notification: Performance of SimCode: time 4e-07/0.006611, allocations: 3.938 kB / 455.4 MB, free: 14.7 MB / 442.7 MB Notification: Performance of Templates: time 0.003158/0.009769, allocations: 2.259 MB / 457.7 MB, free: 12.59 MB / 442.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: 3.5588664785027504]