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.001283/0.001283, allocations: 80.22 kB / 19.18 MB, free: 2.516 MB / 14.72 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.001387/0.001387, allocations: 167 kB / 22.46 MB, free: 5.379 MB / 14.72 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.439/1.439, allocations: 177.1 MB / 202.8 MB, free: 9.176 MB / 190.1 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-531:686: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-531:694: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.179/1.179, allocations: 154.6 MB / 413.8 MB, free: 5.23 MB / 382.1 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 1.954e-06/1.954e-06, allocations: 0 / 0.6186 GB, free: 4.574 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.549e-05/2.744e-05, allocations: 6.109 kB / 0.6186 GB, free: 4.57 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Xor): time 0.001599/0.001626, allocations: 0.6248 MB / 0.6192 GB, free: 3.953 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.00167/0.003296, allocations: 1.221 MB / 0.6204 GB, free: 2.719 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.254e-05/0.003339, allocations: 0 / 0.6204 GB, free: 2.719 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.681e-05/0.003366, allocations: 7.922 kB / 0.6204 GB, free: 2.711 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 6.783e-05/0.003433, allocations: 11.92 kB / 0.6204 GB, free: 2.699 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006141/0.004048, allocations: 217.3 kB / 0.6206 GB, free: 2.492 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.00027/0.004318, allocations: 179.6 kB / 0.6208 GB, free: 2.316 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001109/0.004428, allocations: 7.984 kB / 0.6208 GB, free: 2.309 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001717/0.0046, allocations: 99.92 kB / 0.6209 GB, free: 2.211 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001563/0.004756, allocations: 55.8 kB / 0.6209 GB, free: 2.156 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 4.754e-05/0.004804, allocations: 16 kB / 0.621 GB, free: 2.141 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 8.977e-05/0.004894, allocations: 27.97 kB / 0.621 GB, free: 2.113 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.819e-05/0.004922, allocations: 8 kB / 0.621 GB, free: 2.105 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001008/0.005023, allocations: 51.88 kB / 0.621 GB, free: 2.055 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003146/0.005337, allocations: 187.5 kB / 0.6212 GB, free: 1.871 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 2.455e-06/0.00534, allocations: 0 / 0.6212 GB, free: 1.871 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.172e-06/0.005341, allocations: 0 / 0.6212 GB, free: 1.871 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.989e-06/0.005346, allocations: 0 / 0.6212 GB, free: 1.871 MB / 0.5294 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.0007028/0.006049, allocations: 361.6 kB / 0.6216 GB, free: 1.473 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.336e-05/0.006102, allocations: 12.03 kB / 0.6216 GB, free: 1.461 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.646e-05/0.006179, allocations: 12.88 kB / 0.6216 GB, free: 1.449 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001415/0.00632, allocations: 109.7 kB / 0.6217 GB, free: 1.316 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.997e-05/0.00634, allocations: 4.375 kB / 0.6217 GB, free: 1.312 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.118e-05/0.006381, allocations: 16.31 kB / 0.6217 GB, free: 1.297 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001391/0.00652, allocations: 54.23 kB / 0.6218 GB, free: 1.238 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/0.006531, allocations: 192 / 0.6218 GB, free: 1.238 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.191e-05/0.006543, allocations: 384 / 0.6218 GB, free: 1.238 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.344e-06/0.00655, allocations: 4.375 kB / 0.6218 GB, free: 1.234 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.542e-05/0.006596, allocations: 19.88 kB / 0.6218 GB, free: 1.215 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004922/0.007088, allocations: 272.5 kB / 0.6221 GB, free: 0.918 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 9.709e-05/0.007185, allocations: 46.55 kB / 0.6221 GB, free: 0.8633 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.132e-05/0.007217, allocations: 16.94 kB / 0.6221 GB, free: 0.8438 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.094e-05/0.007227, allocations: 0 / 0.6221 GB, free: 0.8438 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001852/0.007413, allocations: 91.23 kB / 0.6222 GB, free: 0.7422 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=7): time 1.272e-06/0.007414, allocations: 0 / 0.6222 GB, free: 0.7422 MB / 0.5294 GB Notification: Performance of matching and sorting (n=7): time 0.0002602/0.007674, allocations: 101.6 kB / 0.6223 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.892e-05/0.007723, allocations: 51.41 kB / 0.6223 GB, free: 0.5742 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000113/0.007836, allocations: 129.7 kB / 0.6225 GB, free: 448 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.643e-05/0.007873, allocations: 33.7 kB / 0.6225 GB, free: 408 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 7.122e-05/0.007944, allocations: 92.09 kB / 0.6226 GB, free: 312 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.095e-05/0.007965, allocations: 19.83 kB / 0.6226 GB, free: 292 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.51e-05/0.00806, allocations: 49.69 kB / 0.6227 GB, free: 236 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001512/0.008211, allocations: 322.8 kB / 0.623 GB, free: 15.91 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001791/0.00839, allocations: 119.4 kB / 0.6231 GB, free: 15.78 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002011/0.008591, allocations: 154.9 kB / 0.6232 GB, free: 15.6 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002059/0.008797, allocations: 159.6 kB / 0.6234 GB, free: 15.42 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.008799, allocations: 4 kB / 0.6234 GB, free: 15.41 MB / 0.545 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004863/0.009286, allocations: 324.2 kB / 0.6237 GB, free: 15.07 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 5.588e-05/0.009342, allocations: 67.39 kB / 0.6238 GB, free: 14.99 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.009349, allocations: 4 kB / 0.6238 GB, free: 14.98 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.338e-05/0.009362, allocations: 0 / 0.6238 GB, free: 14.98 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.272e-05/0.009385, allocations: 7.938 kB / 0.6238 GB, free: 14.98 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.55e-06/0.00939, allocations: 0 / 0.6238 GB, free: 14.98 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003603/0.00975, allocations: 64 kB / 0.6238 GB, free: 14.91 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.112e-05/0.009782, allocations: 8 kB / 0.6238 GB, free: 14.91 MB / 0.545 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.0001116/0.009893, allocations: 127.7 kB / 0.624 GB, free: 14.77 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.529e-05/0.009908, allocations: 11.83 kB / 0.624 GB, free: 14.76 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.112e-05/0.00994, allocations: 12.44 kB / 0.624 GB, free: 14.75 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.009942, allocations: 0 / 0.624 GB, free: 14.75 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.009945, allocations: 480 / 0.624 GB, free: 14.75 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.009948, allocations: 0 / 0.624 GB, free: 14.75 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001195/0.01007, allocations: 117.3 kB / 0.6241 GB, free: 14.6 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.01007, allocations: 4 kB / 0.6241 GB, free: 14.6 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.363e-05/0.01008, allocations: 7.922 kB / 0.6241 GB, free: 14.59 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.01009, allocations: 7.875 kB / 0.6241 GB, free: 14.58 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.518e-06/0.0101, allocations: 4 kB / 0.6241 GB, free: 14.58 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.0101, allocations: 0 / 0.6241 GB, free: 14.58 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.058e-06/0.0101, allocations: 4.062 kB / 0.6241 GB, free: 14.57 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001595/0.01026, allocations: 113 kB / 0.6242 GB, free: 14.45 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 9.328e-06/0.01027, allocations: 4 kB / 0.6242 GB, free: 14.44 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.715e-05/0.01029, allocations: 3.938 kB / 0.6242 GB, free: 14.44 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.044e-05/0.01031, allocations: 0 / 0.6242 GB, free: 14.44 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.021e-05/0.01037, allocations: 15.98 kB / 0.6243 GB, free: 14.42 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.757e-06/0.01038, allocations: 4 kB / 0.6243 GB, free: 14.42 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.794e-05/0.01043, allocations: 91.27 kB / 0.6243 GB, free: 14.33 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.01043, allocations: 0 / 0.6243 GB, free: 14.33 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002392/0.01067, allocations: 35.94 kB / 0.6244 GB, free: 14.29 MB / 0.545 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.0001517/0.01082, allocations: 106.3 kB / 0.6245 GB, free: 14.18 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003737/0.0112, allocations: 274.1 kB / 0.6247 GB, free: 13.88 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.908e-06/0.0112, allocations: 4 kB / 0.6247 GB, free: 13.88 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 5.095e-05/0.01125, allocations: 28.23 kB / 0.6248 GB, free: 13.85 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002225/0.01148, allocations: 11.98 kB / 0.6248 GB, free: 13.84 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003329/0.01181, allocations: 157.4 kB / 0.6249 GB, free: 13.65 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.25e-05/0.01187, allocations: 71.33 kB / 0.625 GB, free: 13.56 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.246e-05/0.01189, allocations: 4 kB / 0.625 GB, free: 13.56 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.8e-05/0.01192, allocations: 16.44 kB / 0.625 GB, free: 13.54 MB / 0.545 GB Notification: Performance of SimCode: time 4.21e-07/0.01192, allocations: 4 kB / 0.625 GB, free: 13.54 MB / 0.545 GB Notification: Performance of Templates: time 0.005021/0.01694, allocations: 2.06 MB / 0.627 GB, free: 11.55 MB / 0.545 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.643665909767151] Failed to read output from testmodel.py, exit status != 0: 0.025251712650060654 0.040230178000000005 0.031805475 Calling exit ...