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.001323/0.001323, allocations: 93.06 kB / 19.65 MB, free: 272 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.0009838/0.0009838, allocations: 169 kB / 23.02 MB, free: 1.543 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 0.882/0.882, allocations: 177.1 MB / 203.4 MB, free: 5.645 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.7626/0.7626, allocations: 154.6 MB / 414.5 MB, free: 0.6797 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 1.673e-06/1.673e-06, allocations: 0 / 0.5203 GB, free: 2.238 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.617e-05/1.784e-05, allocations: 2.312 kB / 0.5203 GB, free: 2.234 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Xor): time 0.001565/0.001583, allocations: 0.637 MB / 0.521 GB, free: 1.617 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001556/0.003139, allocations: 1.244 MB / 0.5222 GB, free: 372 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.363e-05/0.003183, allocations: 0 / 0.5222 GB, free: 372 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.355e-05/0.003216, allocations: 3.938 kB / 0.5222 GB, free: 368 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 7.593e-05/0.003292, allocations: 15.86 kB / 0.5222 GB, free: 352 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005967/0.003889, allocations: 213 kB / 0.5224 GB, free: 140 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002437/0.004133, allocations: 177.3 kB / 0.5226 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 8.22e-05/0.004215, allocations: 0 / 0.5226 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001397/0.004355, allocations: 99.86 kB / 0.5227 GB, free: 15.87 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001289/0.004483, allocations: 55.89 kB / 0.5227 GB, free: 15.81 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 3.576e-05/0.004519, allocations: 16.94 kB / 0.5227 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 7.236e-05/0.004592, allocations: 20 kB / 0.5227 GB, free: 15.78 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 2.688e-05/0.004618, allocations: 15.92 kB / 0.5228 GB, free: 15.76 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 7.352e-05/0.004692, allocations: 45.36 kB / 0.5228 GB, free: 15.72 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002043/0.004896, allocations: 151.5 kB / 0.5229 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.294e-06/0.004898, allocations: 0 / 0.5229 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of FrontEnd: time 6.51e-07/0.004899, allocations: 0 / 0.5229 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.677e-06/0.004903, allocations: 1.156 kB / 0.523 GB, free: 15.57 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.0004821/0.005385, allocations: 455.9 kB / 0.5234 GB, free: 15.07 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.431e-05/0.005429, allocations: 16.02 kB / 0.5234 GB, free: 15.06 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.79e-05/0.005497, allocations: 13.58 kB / 0.5234 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.154e-05/0.005589, allocations: 113.9 kB / 0.5235 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.69e-05/0.005606, allocations: 4.375 kB / 0.5235 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.921e-05/0.005635, allocations: 12.38 kB / 0.5235 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.866e-05/0.005733, allocations: 46.17 kB / 0.5236 GB, free: 14.84 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.394e-06/0.005741, allocations: 5.438 kB / 0.5236 GB, free: 14.84 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.049e-05/0.005751, allocations: 4.359 kB / 0.5236 GB, free: 14.84 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.554e-06/0.005759, allocations: 384 / 0.5236 GB, free: 14.84 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.684e-05/0.005796, allocations: 20.58 kB / 0.5236 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004219/0.006218, allocations: 323.7 kB / 0.5239 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 8.333e-05/0.006301, allocations: 40.84 kB / 0.524 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.55e-05/0.006336, allocations: 23.77 kB / 0.524 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 6.432e-06/0.006343, allocations: 0 / 0.524 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001228/0.006466, allocations: 84.95 kB / 0.5241 GB, free: 14.29 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=7): time 1.643e-06/0.006467, allocations: 1.719 kB / 0.5241 GB, free: 14.29 MB / 0.4948 GB Notification: Performance of matching and sorting (n=7): time 0.0002323/0.0067, allocations: 97.56 kB / 0.5242 GB, free: 14.19 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.815e-05/0.006738, allocations: 59.39 kB / 0.5242 GB, free: 14.12 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001107/0.006848, allocations: 185.8 kB / 0.5244 GB, free: 13.92 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.852e-05/0.006877, allocations: 31.05 kB / 0.5244 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 6.59e-05/0.006943, allocations: 138.9 kB / 0.5246 GB, free: 13.74 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.911e-05/0.006962, allocations: 19.89 kB / 0.5246 GB, free: 13.72 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.328e-05/0.007055, allocations: 51.34 kB / 0.5246 GB, free: 13.66 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.00013/0.007185, allocations: 0.4889 MB / 0.5251 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001529/0.007338, allocations: 112.4 kB / 0.5252 GB, free: 13.04 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001602/0.007498, allocations: 160.7 kB / 0.5254 GB, free: 12.86 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001758/0.007674, allocations: 166.9 kB / 0.5255 GB, free: 12.66 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.007677, allocations: 0.5 kB / 0.5255 GB, free: 12.66 MB / 0.4948 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004199/0.008097, allocations: 326.2 kB / 0.5258 GB, free: 12.31 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 4.647e-05/0.008143, allocations: 67.39 kB / 0.5259 GB, free: 12.23 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.658e-06/0.008148, allocations: 0 / 0.5259 GB, free: 12.23 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/0.008162, allocations: 2.438 kB / 0.5259 GB, free: 12.23 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.693e-05/0.008179, allocations: 4 kB / 0.5259 GB, free: 12.23 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.169e-06/0.008184, allocations: 0 / 0.5259 GB, free: 12.23 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002219/0.008406, allocations: 39.91 kB / 0.5259 GB, free: 12.19 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.338e-05/0.008439, allocations: 15.98 kB / 0.526 GB, free: 12.18 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 9.702e-05/0.008536, allocations: 170.7 kB / 0.5261 GB, free: 12 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.949e-05/0.008556, allocations: 15.88 kB / 0.5261 GB, free: 11.98 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.711e-05/0.008583, allocations: 12.44 kB / 0.5261 GB, free: 11.97 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.008585, allocations: 0 / 0.5261 GB, free: 11.97 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.008588, allocations: 0 / 0.5261 GB, free: 11.97 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.008592, allocations: 1.031 kB / 0.5261 GB, free: 11.97 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000106/0.008698, allocations: 124.6 kB / 0.5263 GB, free: 11.82 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.008699, allocations: 0.9375 kB / 0.5263 GB, free: 11.82 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.759e-06/0.008709, allocations: 3.984 kB / 0.5263 GB, free: 11.81 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.008712, allocations: 0 / 0.5263 GB, free: 11.81 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.22e-05/0.008724, allocations: 15.12 kB / 0.5263 GB, free: 11.8 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.482e-06/0.008725, allocations: 0 / 0.5263 GB, free: 11.8 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.008726, allocations: 0 / 0.5263 GB, free: 11.8 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001517/0.008878, allocations: 124.6 kB / 0.5264 GB, free: 11.66 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.033e-05/0.008888, allocations: 7.953 kB / 0.5264 GB, free: 11.65 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.61e-05/0.008904, allocations: 3.938 kB / 0.5264 GB, free: 11.64 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.192e-05/0.008926, allocations: 4.062 kB / 0.5264 GB, free: 11.64 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.038e-05/0.008967, allocations: 15.92 kB / 0.5264 GB, free: 11.62 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.324e-06/0.008974, allocations: 4 kB / 0.5264 GB, free: 11.62 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.941e-05/0.009024, allocations: 134 kB / 0.5266 GB, free: 11.49 MB / 0.4948 GB Notification: Performance of sort global known variables: time 9e-08/0.009024, allocations: 0 / 0.5266 GB, free: 11.49 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002551/0.009279, allocations: 28 kB / 0.5266 GB, free: 11.46 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.0001227/0.009401, allocations: 105.1 kB / 0.5267 GB, free: 11.36 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0003232/0.009725, allocations: 279.3 kB / 0.527 GB, free: 11.04 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.009726, allocations: 0 / 0.527 GB, free: 11.04 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 4.778e-05/0.009774, allocations: 31.61 kB / 0.527 GB, free: 11.01 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002257/0.01, allocations: 19.3 kB / 0.527 GB, free: 10.99 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003121/0.01031, allocations: 163.3 kB / 0.5272 GB, free: 10.8 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.697e-05/0.01035, allocations: 55.36 kB / 0.5272 GB, free: 10.73 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.837e-05/0.01038, allocations: 12.83 kB / 0.5272 GB, free: 10.71 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.351e-05/0.0104, allocations: 8.5 kB / 0.5272 GB, free: 10.71 MB / 0.4948 GB Notification: Performance of SimCode: time 6.11e-07/0.0104, allocations: 1.25 kB / 0.5272 GB, free: 10.71 MB / 0.4948 GB Notification: Performance of Templates: time 0.005007/0.01541, allocations: 2.265 MB / 0.5294 GB, free: 8.586 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.426672170870006]