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.0009569/0.0009569, allocations: 80.94 kB / 19.94 MB, free: 4.543 MB / 18.57 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.001227/0.001227, allocations: 177 kB / 23.36 MB, free: 1.129 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.9922/0.9922, allocations: 177.1 MB / 203.8 MB, free: 5.496 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.8389/0.8389, allocations: 154.6 MB / 414.8 MB, free: 0.5078 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 2.695e-06/2.695e-06, allocations: 0 / 480.1 MB, free: 6.883 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.314e-05/2.584e-05, allocations: 5.484 kB / 480.1 MB, free: 6.879 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Xor): time 0.001496/0.001522, allocations: 0.6837 MB / 480.7 MB, free: 6.227 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001218/0.00274, allocations: 1.245 MB / 482 MB, free: 4.973 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.985e-05/0.002779, allocations: 0.5312 kB / 482 MB, free: 4.973 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 2.623e-05/0.002806, allocations: 5.141 kB / 482 MB, free: 4.969 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 7.734e-05/0.002883, allocations: 17.44 kB / 482 MB, free: 4.957 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004689/0.003352, allocations: 213.8 kB / 482.2 MB, free: 4.75 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001854/0.003537, allocations: 180 kB / 482.4 MB, free: 4.586 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.104e-05/0.003608, allocations: 6.547 kB / 482.4 MB, free: 4.582 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001223/0.003731, allocations: 95.55 kB / 482.5 MB, free: 4.492 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001106/0.003841, allocations: 57.92 kB / 482.5 MB, free: 4.438 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 2.482e-05/0.003866, allocations: 16 kB / 482.6 MB, free: 4.422 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.752e-05/0.003944, allocations: 27.92 kB / 482.6 MB, free: 4.395 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 2.113e-05/0.003965, allocations: 16.69 kB / 482.6 MB, free: 4.379 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 4.684e-05/0.004012, allocations: 48.83 kB / 482.7 MB, free: 4.332 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000172/0.004184, allocations: 139.6 kB / 482.8 MB, free: 4.195 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.164e-06/0.004186, allocations: 0 / 482.8 MB, free: 4.195 MB / 442.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.004187, allocations: 0.9062 kB / 482.8 MB, free: 4.195 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.697e-06/0.00419, allocations: 0 / 482.8 MB, free: 4.195 MB / 442.7 MB 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.0003204/0.004511, allocations: 328 kB / 483.1 MB, free: 3.84 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.043e-05/0.004541, allocations: 12.02 kB / 483.1 MB, free: 3.828 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.515e-05/0.004576, allocations: 13.55 kB / 483.1 MB, free: 3.816 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.369e-05/0.00465, allocations: 114.4 kB / 483.2 MB, free: 3.68 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.279e-05/0.004663, allocations: 8.375 kB / 483.3 MB, free: 3.672 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.82e-05/0.004681, allocations: 13 kB / 483.3 MB, free: 3.66 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.125e-05/0.004742, allocations: 46.17 kB / 483.3 MB, free: 3.609 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.053e-06/0.004749, allocations: 1.891 kB / 483.3 MB, free: 3.609 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.096e-06/0.004757, allocations: 8.969 kB / 483.3 MB, free: 3.602 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.07e-06/0.004762, allocations: 384 / 483.3 MB, free: 3.602 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.432e-05/0.004777, allocations: 8.75 kB / 483.3 MB, free: 3.594 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002344/0.005011, allocations: 180.2 kB / 483.5 MB, free: 3.402 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.23e-05/0.005063, allocations: 32.28 kB / 483.5 MB, free: 3.363 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.251e-05/0.005076, allocations: 8.859 kB / 483.6 MB, free: 3.352 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.45e-06/0.005081, allocations: 1.5 kB / 483.6 MB, free: 3.352 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.767e-05/0.005169, allocations: 83.45 kB / 483.6 MB, free: 3.258 MB / 442.7 MB Notification: Performance of pre-optimization done (n=7): time 1.382e-06/0.00517, allocations: 0.6562 kB / 483.6 MB, free: 3.258 MB / 442.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001195/0.00529, allocations: 78.53 kB / 483.7 MB, free: 3.176 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.701e-05/0.005317, allocations: 55.41 kB / 483.8 MB, free: 3.109 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.044e-05/0.005377, allocations: 118.7 kB / 483.9 MB, free: 2.98 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.048e-05/0.005398, allocations: 34.36 kB / 483.9 MB, free: 2.941 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.86e-05/0.005436, allocations: 92.08 kB / 484 MB, free: 2.848 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.176e-05/0.005448, allocations: 20.75 kB / 484 MB, free: 2.828 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.53e-05/0.005504, allocations: 41.67 kB / 484.1 MB, free: 2.781 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.421e-05/0.005578, allocations: 320 kB / 484.4 MB, free: 2.461 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.585e-05/0.005654, allocations: 95.38 kB / 484.5 MB, free: 2.355 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.292e-05/0.005737, allocations: 135.7 kB / 484.6 MB, free: 2.195 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.836e-05/0.005835, allocations: 145.1 kB / 484.7 MB, free: 2.027 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.005837, allocations: 1.156 kB / 484.7 MB, free: 2.027 MB / 442.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000197/0.006034, allocations: 257 kB / 485 MB, free: 1.746 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.946e-05/0.006073, allocations: 69.42 kB / 485.1 MB, free: 1.668 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.223e-05/0.006085, allocations: 8.781 kB / 485.1 MB, free: 1.66 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.259e-05/0.006098, allocations: 0 / 485.1 MB, free: 1.66 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.832e-05/0.006116, allocations: 5.156 kB / 485.1 MB, free: 1.656 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.358e-06/0.006121, allocations: 3.984 kB / 485.1 MB, free: 1.652 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001507/0.006271, allocations: 44.77 kB / 485.1 MB, free: 1.609 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.792e-05/0.006289, allocations: 12.86 kB / 485.1 MB, free: 1.598 MB / 442.7 MB 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 6.299e-05/0.006352, allocations: 116 kB / 485.3 MB, free: 1.477 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.238e-05/0.006365, allocations: 17.27 kB / 485.3 MB, free: 1.461 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.028e-05/0.006385, allocations: 12.38 kB / 485.3 MB, free: 1.449 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-06/0.006387, allocations: 0 / 485.3 MB, free: 1.449 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.944e-06/0.006389, allocations: 0.625 kB / 485.3 MB, free: 1.449 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.006392, allocations: 0 / 485.3 MB, free: 1.449 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.828e-05/0.00646, allocations: 82.47 kB / 485.4 MB, free: 1.352 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.006461, allocations: 0 / 485.4 MB, free: 1.352 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.24e-06/0.006466, allocations: 1.438 kB / 485.4 MB, free: 1.352 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.006468, allocations: 3.938 kB / 485.4 MB, free: 1.352 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.348e-06/0.006473, allocations: 64 / 485.4 MB, free: 1.352 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.006475, allocations: 8 kB / 485.4 MB, free: 1.344 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.006477, allocations: 4.625 kB / 485.4 MB, free: 1.34 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.03e-05/0.006547, allocations: 78.48 kB / 485.5 MB, free: 1.246 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.466e-06/0.006556, allocations: 11.92 kB / 485.5 MB, free: 1.234 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.037e-06/0.006565, allocations: 4 kB / 485.5 MB, free: 1.23 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.261e-05/0.006577, allocations: 8.469 kB / 485.5 MB, free: 1.223 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.778e-05/0.006605, allocations: 7.922 kB / 485.5 MB, free: 1.215 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.727e-06/0.006609, allocations: 5.031 kB / 485.5 MB, free: 1.211 MB / 442.7 MB Notification: Performance of sorting global known variables: time 1.622e-05/0.006625, allocations: 17.31 kB / 485.5 MB, free: 1.191 MB / 442.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.006625, allocations: 0.5312 kB / 485.5 MB, free: 1.191 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.000135/0.00676, allocations: 31.94 kB / 485.5 MB, free: 1.16 MB / 442.7 MB 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 9.533e-05/0.006856, allocations: 77.39 kB / 485.6 MB, free: 1.078 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.000196/0.007052, allocations: 268.1 kB / 485.9 MB, free: 0.7773 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.075e-06/0.007055, allocations: 2.156 kB / 485.9 MB, free: 0.7773 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 2.341e-05/0.007078, allocations: 24.84 kB / 485.9 MB, free: 0.75 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001128/0.007191, allocations: 16.27 kB / 485.9 MB, free: 0.7344 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002177/0.007409, allocations: 156.3 kB / 486.1 MB, free: 0.5547 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.781e-05/0.007436, allocations: 55.36 kB / 486.1 MB, free: 492 kB / 442.7 MB Notification: Performance of simCode: alias equations: time 2.034e-05/0.007457, allocations: 7.984 kB / 486.1 MB, free: 484 kB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001003/0.007557, allocations: 75.88 kB / 486.2 MB, free: 408 kB / 442.7 MB Notification: Performance of SimCode: time 1.362e-06/0.007558, allocations: 1.906 kB / 486.2 MB, free: 408 kB / 442.7 MB Notification: Performance of Templates: time 0.003616/0.01117, allocations: 2.224 MB / 488.4 MB, free: 14.33 MB / 458.7 MB " [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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Xor.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.654999732039869]