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.001294/0.001294, allocations: 82.48 kB / 19.18 MB, free: 2.363 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.001372/0.001372, allocations: 167.2 kB / 22.45 MB, free: 4.984 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.423/1.423, allocations: 177.2 MB / 202.8 MB, free: 9.172 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.7 MB / 413.9 MB, free: 5.172 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.834e-06/1.834e-06, allocations: 0 / 0.6187 GB, free: 4.531 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.471e-05/2.654e-05, allocations: 5.344 kB / 0.6187 GB, free: 4.527 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Xor): time 0.001943/0.00197, allocations: 0.6393 MB / 0.6194 GB, free: 3.906 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002169/0.004139, allocations: 1.217 MB / 0.6206 GB, free: 2.676 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.164e-05/0.004191, allocations: 4 kB / 0.6206 GB, free: 2.672 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.29e-05/0.004224, allocations: 3.938 kB / 0.6206 GB, free: 2.668 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 7.409e-05/0.004298, allocations: 7.938 kB / 0.6206 GB, free: 2.66 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008114/0.005109, allocations: 218.3 kB / 0.6208 GB, free: 2.449 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0003026/0.005412, allocations: 175.7 kB / 0.621 GB, free: 2.277 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 9.964e-05/0.005512, allocations: 8 kB / 0.621 GB, free: 2.27 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002366/0.005748, allocations: 95.86 kB / 0.6211 GB, free: 2.176 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001736/0.005922, allocations: 55.89 kB / 0.6211 GB, free: 2.121 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 4.95e-05/0.005971, allocations: 16 kB / 0.6211 GB, free: 2.105 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 9.59e-05/0.006067, allocations: 24 kB / 0.6211 GB, free: 2.082 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 3.322e-05/0.0061, allocations: 15.92 kB / 0.6212 GB, free: 2.066 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001023/0.006203, allocations: 47.95 kB / 0.6212 GB, free: 2.02 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003537/0.006556, allocations: 183.5 kB / 0.6214 GB, free: 1.84 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.006561, allocations: 0 / 0.6214 GB, free: 1.84 MB / 0.5294 GB Notification: Performance of FrontEnd: time 8.21e-07/0.006562, allocations: 0 / 0.6214 GB, free: 1.84 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.62e-06/0.006568, allocations: 0 / 0.6214 GB, free: 1.84 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.0006518/0.00722, allocations: 361.5 kB / 0.6217 GB, free: 1.441 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.24e-05/0.007262, allocations: 12.03 kB / 0.6217 GB, free: 1.43 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.332e-05/0.007345, allocations: 16.89 kB / 0.6218 GB, free: 1.414 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001375/0.007483, allocations: 121.6 kB / 0.6219 GB, free: 1.27 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.197e-05/0.007505, allocations: 4.375 kB / 0.6219 GB, free: 1.266 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.857e-05/0.007553, allocations: 12.36 kB / 0.6219 GB, free: 1.254 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001369/0.00769, allocations: 50.25 kB / 0.6219 GB, free: 1.199 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.879e-06/0.0077, allocations: 192 / 0.6219 GB, free: 1.199 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.145e-05/0.007712, allocations: 384 / 0.6219 GB, free: 1.199 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.05e-06/0.007717, allocations: 384 / 0.6219 GB, free: 1.199 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.616e-05/0.007783, allocations: 23.91 kB / 0.622 GB, free: 1.176 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00057/0.008353, allocations: 280.4 kB / 0.6222 GB, free: 0.8711 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000126/0.008479, allocations: 42.56 kB / 0.6223 GB, free: 0.8203 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.482e-05/0.008524, allocations: 12.86 kB / 0.6223 GB, free: 0.8047 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.476e-05/0.008538, allocations: 0 / 0.6223 GB, free: 0.8047 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002041/0.008742, allocations: 79.41 kB / 0.6224 GB, free: 0.7148 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=7): time 1.393e-06/0.008744, allocations: 0 / 0.6224 GB, free: 0.7148 MB / 0.5294 GB Notification: Performance of matching and sorting (n=7): time 0.0003377/0.009081, allocations: 113.5 kB / 0.6225 GB, free: 0.5977 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.05e-05/0.009152, allocations: 55.41 kB / 0.6225 GB, free: 0.5312 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001259/0.009278, allocations: 113.8 kB / 0.6226 GB, free: 420 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.319e-05/0.009321, allocations: 33.7 kB / 0.6227 GB, free: 380 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001114/0.009433, allocations: 100.1 kB / 0.6227 GB, free: 276 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.905e-05/0.009462, allocations: 19.84 kB / 0.6228 GB, free: 256 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001381/0.0096, allocations: 49.69 kB / 0.6228 GB, free: 200 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0002134/0.009813, allocations: 314.8 kB / 0.6231 GB, free: 15.88 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002494/0.01006, allocations: 123.4 kB / 0.6232 GB, free: 15.75 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002798/0.01034, allocations: 162.8 kB / 0.6234 GB, free: 15.56 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002895/0.01063, allocations: 164 kB / 0.6235 GB, free: 15.38 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.01063, allocations: 0 / 0.6235 GB, free: 15.38 MB / 0.545 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0006955/0.01133, allocations: 332.2 kB / 0.6239 GB, free: 15.02 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 7.654e-05/0.01141, allocations: 65.59 kB / 0.6239 GB, free: 14.95 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/0.01141, allocations: 3.984 kB / 0.6239 GB, free: 14.94 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.743e-05/0.01143, allocations: 4 kB / 0.6239 GB, free: 14.94 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2e-05/0.01145, allocations: 0 / 0.6239 GB, free: 14.94 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.327e-06/0.01146, allocations: 4 kB / 0.6239 GB, free: 14.93 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000428/0.01189, allocations: 56.02 kB / 0.624 GB, free: 14.88 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.485e-05/0.01193, allocations: 15.98 kB / 0.624 GB, free: 14.86 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.0001471/0.01208, allocations: 123.6 kB / 0.6241 GB, free: 14.73 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.826e-05/0.01211, allocations: 11.89 kB / 0.6241 GB, free: 14.72 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.482e-05/0.01214, allocations: 8.438 kB / 0.6241 GB, free: 14.71 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.578e-06/0.01215, allocations: 4 kB / 0.6241 GB, free: 14.71 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.01215, allocations: 0 / 0.6241 GB, free: 14.71 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.951e-06/0.01216, allocations: 3.984 kB / 0.6241 GB, free: 14.7 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001542/0.01231, allocations: 117.3 kB / 0.6243 GB, free: 14.56 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.446e-06/0.01232, allocations: 8 kB / 0.6243 GB, free: 14.55 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.258e-05/0.01233, allocations: 4.062 kB / 0.6243 GB, free: 14.55 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.097e-06/0.01233, allocations: 3.938 kB / 0.6243 GB, free: 14.54 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.468e-06/0.01234, allocations: 0 / 0.6243 GB, free: 14.54 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.787e-06/0.01235, allocations: 4 kB / 0.6243 GB, free: 14.54 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.01235, allocations: 0 / 0.6243 GB, free: 14.54 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00021/0.01256, allocations: 113 kB / 0.6244 GB, free: 14.41 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.203e-05/0.01257, allocations: 4 kB / 0.6244 GB, free: 14.41 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.479e-05/0.0126, allocations: 7.922 kB / 0.6244 GB, free: 14.4 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.907e-05/0.01262, allocations: 0 / 0.6244 GB, free: 14.4 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.863e-05/0.01268, allocations: 11.98 kB / 0.6244 GB, free: 14.39 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.457e-06/0.01269, allocations: 8 kB / 0.6244 GB, free: 14.38 MB / 0.545 GB Notification: Performance of sorting global known variables: time 7.676e-05/0.01277, allocations: 91.22 kB / 0.6245 GB, free: 14.29 MB / 0.545 GB Notification: Performance of sort global known variables: time 9.1e-08/0.01277, allocations: 0 / 0.6245 GB, free: 14.29 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003532/0.01312, allocations: 31.92 kB / 0.6245 GB, free: 14.26 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.0001943/0.01332, allocations: 102.5 kB / 0.6246 GB, free: 14.15 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005192/0.01384, allocations: 286 kB / 0.6249 GB, free: 13.84 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.01384, allocations: 0 / 0.6249 GB, free: 13.84 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 7.616e-05/0.01391, allocations: 32.16 kB / 0.6249 GB, free: 13.8 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003156/0.01423, allocations: 15.98 kB / 0.625 GB, free: 13.79 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004245/0.01465, allocations: 157.4 kB / 0.6251 GB, free: 13.61 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.658e-05/0.01474, allocations: 67.34 kB / 0.6252 GB, free: 13.52 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.168e-05/0.01477, allocations: 4 kB / 0.6252 GB, free: 13.52 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.098e-05/0.0148, allocations: 16.48 kB / 0.6252 GB, free: 13.5 MB / 0.545 GB Notification: Performance of SimCode: time 3.51e-07/0.0148, allocations: 0 / 0.6252 GB, free: 13.5 MB / 0.545 GB Notification: Performance of Templates: time 0.006622/0.02143, allocations: 2.078 MB / 0.6272 GB, free: 11.49 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.650360578671098] Failed to read output from testmodel.py, exit status != 0: 0.030209003016352654 0.052266844 0.041553410000000006 Calling exit ...