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.000913/0.000913, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.0009342/0.0009342, allocations: 173.3 kB / 23.49 MB, free: 1.062 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.033/1.033, allocations: 177.1 MB / 203.8 MB, free: 5.648 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.819/0.819, allocations: 154.6 MB / 414.9 MB, free: 0.6523 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.973e-06/1.973e-06, allocations: 0 / 0.5203 GB, free: 2.523 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.717e-05/2.914e-05, allocations: 2.312 kB / 0.5203 GB, free: 2.52 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Xor): time 0.00142/0.001449, allocations: 0.6324 MB / 0.521 GB, free: 1.906 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.002162/0.003611, allocations: 1.236 MB / 0.5222 GB, free: 0.6602 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.104e-05/0.003662, allocations: 0 / 0.5222 GB, free: 0.6602 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.961e-05/0.003691, allocations: 3.938 kB / 0.5222 GB, free: 0.6562 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 7.887e-05/0.00377, allocations: 23.8 kB / 0.5222 GB, free: 0.6328 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005039/0.004274, allocations: 209.2 kB / 0.5224 GB, free: 440 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002095/0.004484, allocations: 181.3 kB / 0.5226 GB, free: 260 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001034/0.004587, allocations: 4 kB / 0.5226 GB, free: 256 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001211/0.004708, allocations: 99.86 kB / 0.5227 GB, free: 156 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001046/0.004813, allocations: 43.92 kB / 0.5227 GB, free: 112 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.962e-05/0.004843, allocations: 16.75 kB / 0.5227 GB, free: 96 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.518e-05/0.004908, allocations: 31.97 kB / 0.5228 GB, free: 64 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 2.44e-05/0.004932, allocations: 13.36 kB / 0.5228 GB, free: 52 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 6.336e-05/0.004995, allocations: 51.95 kB / 0.5228 GB, free: 0 / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001879/0.005183, allocations: 139.6 kB / 0.523 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.005187, allocations: 0 / 0.523 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.623e-06/0.005188, allocations: 1.344 kB / 0.523 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.53e-06/0.005194, allocations: 0 / 0.523 GB, free: 15.86 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.000454/0.005648, allocations: 455.9 kB / 0.5234 GB, free: 15.37 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.467e-05/0.005682, allocations: 13.09 kB / 0.5234 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.221e-05/0.005745, allocations: 16.88 kB / 0.5234 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.924e-05/0.005834, allocations: 124.5 kB / 0.5235 GB, free: 15.19 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.442e-05/0.005848, allocations: 7.219 kB / 0.5235 GB, free: 15.19 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.048e-05/0.005869, allocations: 8.375 kB / 0.5235 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.006e-05/0.005959, allocations: 50.23 kB / 0.5236 GB, free: 15.12 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.053e-06/0.005966, allocations: 4.125 kB / 0.5236 GB, free: 15.12 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.197e-06/0.005975, allocations: 384 / 0.5236 GB, free: 15.12 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.025e-06/0.005983, allocations: 384 / 0.5236 GB, free: 15.12 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.621e-05/0.006009, allocations: 11.94 kB / 0.5236 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000371/0.00638, allocations: 328.2 kB / 0.5239 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 6.863e-05/0.006449, allocations: 39.62 kB / 0.524 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.336e-05/0.006472, allocations: 19.7 kB / 0.524 GB, free: 14.68 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 6.743e-06/0.006479, allocations: 0.9062 kB / 0.524 GB, free: 14.68 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001083/0.006587, allocations: 84.97 kB / 0.5241 GB, free: 14.58 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=7): time 1.072e-06/0.006588, allocations: 1.562 kB / 0.5241 GB, free: 14.58 MB / 0.4948 GB Notification: Performance of matching and sorting (n=7): time 0.0002007/0.006789, allocations: 101.6 kB / 0.5242 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.718e-05/0.006826, allocations: 59.34 kB / 0.5242 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.093e-05/0.006917, allocations: 181.8 kB / 0.5244 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.382e-05/0.006941, allocations: 34.64 kB / 0.5244 GB, free: 14.17 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.667e-05/0.006998, allocations: 134.9 kB / 0.5246 GB, free: 14.04 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.386e-05/0.007012, allocations: 17.3 kB / 0.5246 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.198e-05/0.007073, allocations: 51.34 kB / 0.5246 GB, free: 13.96 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001084/0.007182, allocations: 0.4922 MB / 0.5251 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001108/0.007293, allocations: 111.4 kB / 0.5252 GB, free: 13.34 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001231/0.007416, allocations: 163 kB / 0.5254 GB, free: 13.14 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001224/0.007538, allocations: 158.4 kB / 0.5255 GB, free: 12.96 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.145e-06/0.007541, allocations: 1.281 kB / 0.5255 GB, free: 12.96 MB / 0.4948 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002978/0.007839, allocations: 327.2 kB / 0.5258 GB, free: 12.61 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.893e-05/0.007878, allocations: 67.39 kB / 0.5259 GB, free: 12.53 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.007883, allocations: 0 / 0.5259 GB, free: 12.53 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.506e-05/0.007898, allocations: 4 kB / 0.5259 GB, free: 12.53 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.928e-05/0.007918, allocations: 3.984 kB / 0.5259 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.007924, allocations: 4 kB / 0.5259 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000167/0.008091, allocations: 42.66 kB / 0.5259 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.941e-05/0.00811, allocations: 11.98 kB / 0.526 GB, free: 12.47 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.931e-05/0.00819, allocations: 166.4 kB / 0.5261 GB, free: 12.3 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.27e-05/0.008202, allocations: 15.83 kB / 0.5261 GB, free: 12.28 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.52e-05/0.008228, allocations: 16.42 kB / 0.5261 GB, free: 12.27 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.00823, allocations: 0 / 0.5261 GB, free: 12.27 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.008233, allocations: 1.312 kB / 0.5261 GB, free: 12.27 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.008236, allocations: 0 / 0.5261 GB, free: 12.27 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.45e-05/0.008321, allocations: 132.6 kB / 0.5263 GB, free: 12.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.008322, allocations: 0 / 0.5263 GB, free: 12.1 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.668e-06/0.008327, allocations: 0.5 kB / 0.5263 GB, free: 12.1 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.302e-06/0.008328, allocations: 1.906 kB / 0.5263 GB, free: 12.1 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.498e-06/0.008337, allocations: 11.92 kB / 0.5263 GB, free: 12.09 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.21e-07/0.008338, allocations: 0 / 0.5263 GB, free: 12.09 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.008339, allocations: 0 / 0.5263 GB, free: 12.09 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001054/0.008445, allocations: 120.7 kB / 0.5264 GB, free: 11.95 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.815e-06/0.008453, allocations: 7.953 kB / 0.5264 GB, free: 11.94 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.157e-05/0.008464, allocations: 6.375 kB / 0.5264 GB, free: 11.94 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.328e-05/0.008477, allocations: 3.938 kB / 0.5264 GB, free: 11.93 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.715e-05/0.008515, allocations: 8.047 kB / 0.5264 GB, free: 11.93 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.534e-06/0.008522, allocations: 12 kB / 0.5264 GB, free: 11.91 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.82e-05/0.00856, allocations: 127.2 kB / 0.5266 GB, free: 11.79 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.00856, allocations: 0 / 0.5266 GB, free: 11.79 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001548/0.008715, allocations: 34.34 kB / 0.5266 GB, free: 11.76 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.000126/0.008841, allocations: 103.2 kB / 0.5267 GB, free: 11.65 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0002528/0.009094, allocations: 281.8 kB / 0.527 GB, free: 11.33 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.009096, allocations: 1.031 kB / 0.527 GB, free: 11.33 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 3.426e-05/0.00913, allocations: 31.67 kB / 0.527 GB, free: 11.3 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001775/0.009307, allocations: 19.88 kB / 0.527 GB, free: 11.28 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002686/0.009576, allocations: 165.5 kB / 0.5272 GB, free: 11.09 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.132e-05/0.009607, allocations: 61.83 kB / 0.5272 GB, free: 11.01 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.137e-05/0.009629, allocations: 7.984 kB / 0.5272 GB, free: 11 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.874e-05/0.009647, allocations: 12.5 kB / 0.5272 GB, free: 10.99 MB / 0.4948 GB Notification: Performance of SimCode: time 8.62e-07/0.009648, allocations: 4 kB / 0.5272 GB, free: 10.99 MB / 0.4948 GB Notification: Performance of Templates: time 0.0034/0.01305, allocations: 2.057 MB / 0.5293 GB, free: 9.059 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.731697048060596]