Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.001365/0.001365, allocations: 92.22 kB / 19.65 MB, free: 276 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.001484/0.001484, allocations: 173 kB / 23.02 MB, free: 1.547 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.051/1.051, allocations: 177.1 MB / 203.4 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:34:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:42:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.8018/0.8018, allocations: 154.9 MB / 414.8 MB, free: 376 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 master/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_dev_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_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Xor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.743e-06/1.743e-06, allocations: 0.6562 kB / 0.5207 GB, free: 1.797 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.527e-05/2.701e-05, allocations: 4.141 kB / 0.5207 GB, free: 1.793 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Xor): time 0.001311/0.001338, allocations: 0.639 MB / 0.5213 GB, free: 1.176 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0012/0.002537, allocations: 1.248 MB / 0.5225 GB, free: 15.92 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.711e-05/0.002575, allocations: 0.9844 kB / 0.5225 GB, free: 15.92 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 2.399e-05/0.002599, allocations: 3.938 kB / 0.5225 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 6.846e-05/0.002667, allocations: 12.84 kB / 0.5226 GB, free: 15.9 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004966/0.003164, allocations: 204.8 kB / 0.5228 GB, free: 15.7 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.000176/0.003339, allocations: 180.1 kB / 0.5229 GB, free: 15.53 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 7.664e-05/0.003416, allocations: 12.89 kB / 0.5229 GB, free: 15.52 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001032/0.003519, allocations: 95.86 kB / 0.523 GB, free: 15.42 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 9.414e-05/0.003613, allocations: 53.06 kB / 0.5231 GB, free: 15.37 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 3.046e-05/0.003644, allocations: 16 kB / 0.5231 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 6.216e-05/0.003706, allocations: 27.98 kB / 0.5231 GB, free: 15.33 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 1.867e-05/0.003725, allocations: 8.484 kB / 0.5231 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 5.822e-05/0.003783, allocations: 55.89 kB / 0.5232 GB, free: 15.27 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001592/0.003942, allocations: 137.4 kB / 0.5233 GB, free: 15.13 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.244e-06/0.003944, allocations: 3.938 kB / 0.5233 GB, free: 15.13 MB / 0.4948 GB Notification: Performance of FrontEnd: time 8.41e-07/0.003945, allocations: 0 / 0.5233 GB, free: 15.13 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.34e-06/0.003951, allocations: 3.984 kB / 0.5233 GB, free: 15.12 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.0003935/0.004344, allocations: 461.6 kB / 0.5238 GB, free: 14.62 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.301e-05/0.004377, allocations: 8.031 kB / 0.5238 GB, free: 14.62 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.457e-05/0.004432, allocations: 16.89 kB / 0.5238 GB, free: 14.6 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.21e-05/0.004504, allocations: 112.6 kB / 0.5239 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.178e-05/0.004516, allocations: 4.375 kB / 0.5239 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.857e-05/0.004534, allocations: 13.94 kB / 0.5239 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.791e-05/0.004612, allocations: 46.23 kB / 0.524 GB, free: 14.4 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.34e-06/0.004617, allocations: 192 / 0.524 GB, free: 14.4 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.875e-06/0.004625, allocations: 384 / 0.524 GB, free: 14.4 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.009e-06/0.00463, allocations: 1.125 kB / 0.524 GB, free: 14.4 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.483e-05/0.004655, allocations: 19.86 kB / 0.524 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003329/0.004988, allocations: 333.1 kB / 0.5243 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 6.754e-05/0.005056, allocations: 39.05 kB / 0.5243 GB, free: 13.97 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.069e-05/0.005076, allocations: 15.77 kB / 0.5243 GB, free: 13.95 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 7.093e-06/0.005083, allocations: 1.344 kB / 0.5243 GB, free: 13.95 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001043/0.005188, allocations: 88.91 kB / 0.5244 GB, free: 13.85 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=7): time 1.032e-06/0.005189, allocations: 0 / 0.5244 GB, free: 13.85 MB / 0.4948 GB Notification: Performance of matching and sorting (n=7): time 0.0001963/0.005385, allocations: 98.66 kB / 0.5245 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.423e-05/0.005419, allocations: 55.41 kB / 0.5246 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.558e-05/0.005505, allocations: 188.9 kB / 0.5248 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.209e-05/0.005527, allocations: 29.7 kB / 0.5248 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 6.345e-05/0.00559, allocations: 134.9 kB / 0.5249 GB, free: 13.31 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.321e-05/0.005603, allocations: 15.91 kB / 0.5249 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.575e-05/0.005669, allocations: 59.33 kB / 0.525 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001125/0.005782, allocations: 492.1 kB / 0.5255 GB, free: 12.73 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001092/0.005891, allocations: 111.4 kB / 0.5256 GB, free: 12.61 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001126/0.006004, allocations: 161.8 kB / 0.5257 GB, free: 12.42 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001321/0.006136, allocations: 159.6 kB / 0.5259 GB, free: 12.23 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.006138, allocations: 0 / 0.5259 GB, free: 12.23 MB / 0.4948 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002935/0.006431, allocations: 330.3 kB / 0.5262 GB, free: 11.88 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 4.279e-05/0.006474, allocations: 71.33 kB / 0.5263 GB, free: 11.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.00648, allocations: 0 / 0.5263 GB, free: 11.8 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.504e-05/0.006495, allocations: 4.062 kB / 0.5263 GB, free: 11.8 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.406e-05/0.006519, allocations: 12.86 kB / 0.5263 GB, free: 11.79 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.574e-06/0.006526, allocations: 8.062 kB / 0.5263 GB, free: 11.78 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000154/0.00668, allocations: 36.81 kB / 0.5263 GB, free: 11.74 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.976e-05/0.0067, allocations: 13.05 kB / 0.5263 GB, free: 11.73 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 7.874e-05/0.006779, allocations: 167.5 kB / 0.5265 GB, free: 11.56 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.545e-05/0.006794, allocations: 19.89 kB / 0.5265 GB, free: 11.54 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.284e-05/0.006817, allocations: 8.422 kB / 0.5265 GB, free: 11.53 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.006819, allocations: 0 / 0.5265 GB, free: 11.53 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.006823, allocations: 0 / 0.5265 GB, free: 11.53 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.006826, allocations: 0 / 0.5265 GB, free: 11.53 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.951e-05/0.006906, allocations: 132.6 kB / 0.5266 GB, free: 11.37 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.006907, allocations: 0 / 0.5266 GB, free: 11.37 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.53e-06/0.006913, allocations: 2.75 kB / 0.5266 GB, free: 11.37 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.006915, allocations: 4 kB / 0.5266 GB, free: 11.36 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.058e-05/0.006926, allocations: 7.922 kB / 0.5267 GB, free: 11.36 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.006927, allocations: 0 / 0.5267 GB, free: 11.36 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.006928, allocations: 0 / 0.5267 GB, free: 11.36 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001062/0.007035, allocations: 116.4 kB / 0.5268 GB, free: 11.22 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.535e-06/0.007042, allocations: 7.953 kB / 0.5268 GB, free: 11.21 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.132e-05/0.007053, allocations: 3.938 kB / 0.5268 GB, free: 11.21 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.262e-05/0.007066, allocations: 4.719 kB / 0.5268 GB, free: 11.2 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.904e-05/0.007105, allocations: 11.97 kB / 0.5268 GB, free: 11.19 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.995e-06/0.007113, allocations: 5.125 kB / 0.5268 GB, free: 11.19 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.016e-05/0.007153, allocations: 135.6 kB / 0.5269 GB, free: 11.05 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.007153, allocations: 0 / 0.5269 GB, free: 11.05 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001572/0.00731, allocations: 32.75 kB / 0.527 GB, free: 11.02 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.0001182/0.007429, allocations: 96.86 kB / 0.527 GB, free: 10.92 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0002495/0.007678, allocations: 281.8 kB / 0.5273 GB, free: 10.61 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.00768, allocations: 2.438 kB / 0.5273 GB, free: 10.61 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 3.13e-05/0.007711, allocations: 23.69 kB / 0.5273 GB, free: 10.58 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001717/0.007883, allocations: 24.14 kB / 0.5274 GB, free: 10.55 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002765/0.00816, allocations: 179.4 kB / 0.5275 GB, free: 10.35 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.121e-05/0.008191, allocations: 59.34 kB / 0.5276 GB, free: 10.27 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.279e-05/0.008214, allocations: 4 kB / 0.5276 GB, free: 10.27 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.076e-05/0.008234, allocations: 16.48 kB / 0.5276 GB, free: 10.25 MB / 0.4948 GB Notification: Performance of SimCode: time 6.31e-07/0.008235, allocations: 0 / 0.5276 GB, free: 10.25 MB / 0.4948 GB Notification: Performance of Templates: time 0.004025/0.01226, allocations: 2.245 MB / 0.5298 GB, free: 8.145 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Xor.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Xor.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Xor.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Xor.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Xor.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Xor -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Xor.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.803906879853457]