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.001325/0.001325, allocations: 93.06 kB / 19.65 MB, free: 280 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.001347/0.001347, allocations: 165 kB / 23.02 MB, free: 1.555 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.095/1.095, allocations: 177.1 MB / 203.4 MB, free: 5.613 MB / 186.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.8/0.8, allocations: 154.6 MB / 414.5 MB, free: 0.6602 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 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 3.046e-06/3.046e-06, allocations: 0 / 0.5203 GB, free: 2.156 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.853e-05/3.158e-05, allocations: 3.578 kB / 0.5203 GB, free: 2.152 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Xor): time 0.002304/0.002336, allocations: 0.6353 MB / 0.521 GB, free: 1.539 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001781/0.004117, allocations: 1.242 MB / 0.5222 GB, free: 292 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.371e-05/0.004171, allocations: 1.688 kB / 0.5222 GB, free: 292 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 4.992e-05/0.004221, allocations: 3.938 kB / 0.5222 GB, free: 288 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 9.727e-05/0.004318, allocations: 19.8 kB / 0.5222 GB, free: 268 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007328/0.005051, allocations: 209.6 kB / 0.5224 GB, free: 60 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.000282/0.005333, allocations: 175.7 kB / 0.5226 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001046/0.005438, allocations: 4 kB / 0.5226 GB, free: 15.88 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001683/0.005606, allocations: 105.2 kB / 0.5227 GB, free: 15.78 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001401/0.005746, allocations: 47.91 kB / 0.5227 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 4.533e-05/0.005791, allocations: 16 kB / 0.5227 GB, free: 15.72 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 8.554e-05/0.005877, allocations: 29.36 kB / 0.5228 GB, free: 15.69 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 2.851e-05/0.005905, allocations: 7.938 kB / 0.5228 GB, free: 15.68 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 8.633e-05/0.005992, allocations: 55.94 kB / 0.5228 GB, free: 15.63 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.000241/0.006233, allocations: 139.6 kB / 0.5229 GB, free: 15.49 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.367e-06/0.006236, allocations: 2.625 kB / 0.5229 GB, free: 15.49 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.844e-06/0.006238, allocations: 0 / 0.5229 GB, free: 15.49 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.63e-06/0.006244, allocations: 0 / 0.5229 GB, free: 15.49 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.0007143/0.006958, allocations: 459.9 kB / 0.5234 GB, free: 14.99 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 6.055e-05/0.007018, allocations: 12.03 kB / 0.5234 GB, free: 14.98 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001061/0.007125, allocations: 16.89 kB / 0.5234 GB, free: 14.96 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001424/0.007267, allocations: 112.6 kB / 0.5235 GB, free: 14.83 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.092e-05/0.007298, allocations: 4.938 kB / 0.5235 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.379e-05/0.007342, allocations: 13.33 kB / 0.5235 GB, free: 14.81 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001405/0.007482, allocations: 46.19 kB / 0.5236 GB, free: 14.76 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.731e-05/0.007499, allocations: 4.188 kB / 0.5236 GB, free: 14.76 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.462e-05/0.007514, allocations: 1.938 kB / 0.5236 GB, free: 14.76 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.101e-05/0.007525, allocations: 384 / 0.5236 GB, free: 14.76 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.241e-05/0.007577, allocations: 23.92 kB / 0.5236 GB, free: 14.73 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005599/0.008137, allocations: 319.7 kB / 0.5239 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001065/0.008244, allocations: 47.92 kB / 0.524 GB, free: 14.33 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.89e-05/0.008273, allocations: 11.69 kB / 0.524 GB, free: 14.31 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 8.646e-06/0.008281, allocations: 1.406 kB / 0.524 GB, free: 14.31 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001473/0.008429, allocations: 85.05 kB / 0.5241 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=7): time 2.444e-06/0.008431, allocations: 0 / 0.5241 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of matching and sorting (n=7): time 0.0002798/0.008711, allocations: 106.9 kB / 0.5242 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.699e-05/0.008758, allocations: 55.41 kB / 0.5242 GB, free: 14.04 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001295/0.008887, allocations: 181.8 kB / 0.5244 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.363e-05/0.008921, allocations: 30.39 kB / 0.5244 GB, free: 13.81 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 8.124e-05/0.009002, allocations: 138.9 kB / 0.5245 GB, free: 13.67 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.315e-05/0.009025, allocations: 17.19 kB / 0.5246 GB, free: 13.65 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001189/0.009144, allocations: 51.34 kB / 0.5246 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001629/0.009307, allocations: 0.4884 MB / 0.5251 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001662/0.009473, allocations: 112.4 kB / 0.5252 GB, free: 12.97 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001939/0.009667, allocations: 165.8 kB / 0.5254 GB, free: 12.78 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002107/0.009878, allocations: 165 kB / 0.5255 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.009881, allocations: 0 / 0.5255 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004862/0.01037, allocations: 328.2 kB / 0.5258 GB, free: 12.23 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 6.468e-05/0.01043, allocations: 69.89 kB / 0.5259 GB, free: 12.16 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.246e-06/0.01044, allocations: 4.062 kB / 0.5259 GB, free: 12.15 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.002e-05/0.01046, allocations: 2.844 kB / 0.5259 GB, free: 12.15 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.376e-05/0.01048, allocations: 4 kB / 0.5259 GB, free: 12.15 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.406e-06/0.01049, allocations: 3.984 kB / 0.5259 GB, free: 12.14 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002558/0.01075, allocations: 43.89 kB / 0.5259 GB, free: 12.1 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.145e-05/0.01078, allocations: 8 kB / 0.526 GB, free: 12.09 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.0001133/0.01089, allocations: 174 kB / 0.5261 GB, free: 11.91 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.372e-05/0.01092, allocations: 15.89 kB / 0.5261 GB, free: 11.9 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.81e-05/0.01095, allocations: 8.438 kB / 0.5261 GB, free: 11.89 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.01096, allocations: 0.5 kB / 0.5261 GB, free: 11.89 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.01096, allocations: 1.031 kB / 0.5261 GB, free: 11.89 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.01097, allocations: 0 / 0.5261 GB, free: 11.89 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001249/0.01109, allocations: 132.6 kB / 0.5263 GB, free: 11.73 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.01109, allocations: 0.5 kB / 0.5263 GB, free: 11.73 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.668e-06/0.0111, allocations: 2.188 kB / 0.5263 GB, free: 11.73 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.936e-06/0.01111, allocations: 0 / 0.5263 GB, free: 11.73 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.225e-05/0.01112, allocations: 7.938 kB / 0.5263 GB, free: 11.72 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.384e-06/0.01112, allocations: 0 / 0.5263 GB, free: 11.72 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.01112, allocations: 0 / 0.5263 GB, free: 11.72 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001806/0.0113, allocations: 120.3 kB / 0.5264 GB, free: 11.58 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.382e-05/0.01132, allocations: 10.39 kB / 0.5264 GB, free: 11.57 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.984e-05/0.01134, allocations: 11.98 kB / 0.5264 GB, free: 11.56 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.602e-05/0.01136, allocations: 0 / 0.5264 GB, free: 11.56 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.047e-05/0.01141, allocations: 11.98 kB / 0.5264 GB, free: 11.55 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.036e-05/0.01142, allocations: 4 kB / 0.5264 GB, free: 11.54 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 6.858e-05/0.01149, allocations: 127.2 kB / 0.5266 GB, free: 11.42 MB / 0.4948 GB Notification: Performance of sort global known variables: time 8e-08/0.01149, allocations: 0 / 0.5266 GB, free: 11.42 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002968/0.01179, allocations: 34.05 kB / 0.5266 GB, free: 11.39 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.0001881/0.01198, allocations: 103.2 kB / 0.5267 GB, free: 11.28 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0003718/0.01235, allocations: 282.8 kB / 0.527 GB, free: 10.96 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.01235, allocations: 0 / 0.527 GB, free: 10.96 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 5.502e-05/0.01241, allocations: 31.61 kB / 0.527 GB, free: 10.93 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002786/0.01268, allocations: 21.98 kB / 0.527 GB, free: 10.91 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003936/0.01308, allocations: 162.7 kB / 0.5272 GB, free: 10.72 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.606e-05/0.01312, allocations: 59.34 kB / 0.5272 GB, free: 10.64 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 3.517e-05/0.01316, allocations: 9.281 kB / 0.5272 GB, free: 10.63 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.794e-05/0.01319, allocations: 8.5 kB / 0.5272 GB, free: 10.62 MB / 0.4948 GB Notification: Performance of SimCode: time 6.82e-07/0.01319, allocations: 0 / 0.5272 GB, free: 10.62 MB / 0.4948 GB Notification: Performance of Templates: time 0.00483/0.01802, allocations: 2.07 MB / 0.5293 GB, free: 8.684 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=240 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Xor.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.9074497972615063]