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.001439/0.001439, allocations: 81.17 kB / 19.87 MB, free: 4.621 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.00163/0.00163, allocations: 169 kB / 23.27 MB, free: 1.223 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.9732/0.9732, allocations: 177.1 MB / 203.7 MB, free: 5.516 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.7364/0.7364, allocations: 154.6 MB / 414.8 MB, free: 0.5391 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.074e-06/2.074e-06, allocations: 0 / 0.5208 GB, free: 1.914 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.496e-05/1.703e-05, allocations: 8.281 kB / 0.5208 GB, free: 1.906 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Xor): time 0.001097/0.001114, allocations: 0.6326 MB / 0.5214 GB, free: 1.293 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001065/0.00218, allocations: 1.236 MB / 0.5226 GB, free: 48 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.202e-05/0.002222, allocations: 0 / 0.5226 GB, free: 48 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.298e-05/0.002245, allocations: 0 / 0.5226 GB, free: 48 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 6.536e-05/0.00231, allocations: 20.5 kB / 0.5226 GB, free: 28 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004196/0.00273, allocations: 214.7 kB / 0.5228 GB, free: 15.82 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0001571/0.002887, allocations: 171.7 kB / 0.523 GB, free: 15.65 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 7.127e-05/0.002958, allocations: 8 kB / 0.523 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001033/0.003061, allocations: 103.8 kB / 0.5231 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 9.148e-05/0.003153, allocations: 47.86 kB / 0.5231 GB, free: 15.49 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.395e-05/0.003177, allocations: 16.56 kB / 0.5232 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 5.566e-05/0.003232, allocations: 32.47 kB / 0.5232 GB, free: 15.45 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 1.782e-05/0.00325, allocations: 12.62 kB / 0.5232 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 4.379e-05/0.003294, allocations: 47.94 kB / 0.5232 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001357/0.00343, allocations: 140.2 kB / 0.5234 GB, free: 15.25 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.974e-06/0.003432, allocations: 0 / 0.5234 GB, free: 15.25 MB / 0.4948 GB Notification: Performance of FrontEnd: time 4.61e-07/0.003432, allocations: 1.469 kB / 0.5234 GB, free: 15.25 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 2.885e-06/0.003435, allocations: 0 / 0.5234 GB, free: 15.25 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.0003431/0.003778, allocations: 463.9 kB / 0.5238 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.316e-05/0.003821, allocations: 12.03 kB / 0.5238 GB, free: 14.74 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.774e-05/0.003859, allocations: 13.83 kB / 0.5238 GB, free: 14.73 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.293e-05/0.003922, allocations: 116.5 kB / 0.524 GB, free: 14.59 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.145e-05/0.003933, allocations: 4.375 kB / 0.524 GB, free: 14.58 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.884e-05/0.003952, allocations: 21.62 kB / 0.524 GB, free: 14.56 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.978e-05/0.004012, allocations: 38.25 kB / 0.524 GB, free: 14.52 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.212e-06/0.004018, allocations: 192 / 0.524 GB, free: 14.52 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.099e-06/0.004023, allocations: 1.656 kB / 0.524 GB, free: 14.52 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.004029, allocations: 4.375 kB / 0.524 GB, free: 14.52 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.483e-05/0.004043, allocations: 11.92 kB / 0.524 GB, free: 14.5 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003339/0.004377, allocations: 313.1 kB / 0.5243 GB, free: 14.17 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 4.858e-05/0.004426, allocations: 43.05 kB / 0.5244 GB, free: 14.12 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.463e-05/0.00444, allocations: 17.05 kB / 0.5244 GB, free: 14.1 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 5.31e-06/0.004446, allocations: 0 / 0.5244 GB, free: 14.1 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.657e-05/0.004522, allocations: 73.03 kB / 0.5245 GB, free: 14.01 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=7): time 1.052e-06/0.004523, allocations: 1.344 kB / 0.5245 GB, free: 14.01 MB / 0.4948 GB Notification: Performance of matching and sorting (n=7): time 0.0001422/0.004666, allocations: 101.5 kB / 0.5246 GB, free: 13.91 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.663e-05/0.004692, allocations: 55.39 kB / 0.5246 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.037e-05/0.004763, allocations: 174.6 kB / 0.5248 GB, free: 13.65 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.865e-05/0.004781, allocations: 33.7 kB / 0.5248 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.685e-05/0.004828, allocations: 140.7 kB / 0.5249 GB, free: 13.47 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.22e-05/0.00484, allocations: 19.88 kB / 0.525 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.537e-05/0.004896, allocations: 55.33 kB / 0.525 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 9.315e-05/0.004989, allocations: 0.4883 MB / 0.5255 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.945e-05/0.005058, allocations: 103.4 kB / 0.5256 GB, free: 12.78 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.37e-05/0.005142, allocations: 159.8 kB / 0.5257 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001118/0.005254, allocations: 153.7 kB / 0.5259 GB, free: 12.41 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.005256, allocations: 0 / 0.5259 GB, free: 12.41 MB / 0.4948 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002667/0.005523, allocations: 302.1 kB / 0.5262 GB, free: 12.08 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 4.51e-05/0.005568, allocations: 71.33 kB / 0.5262 GB, free: 12 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.65e-06/0.005573, allocations: 0 / 0.5262 GB, free: 12 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.846e-05/0.005592, allocations: 8.484 kB / 0.5263 GB, free: 11.99 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.946e-05/0.005611, allocations: 4.844 kB / 0.5263 GB, free: 11.99 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.005618, allocations: 4.25 kB / 0.5263 GB, free: 11.98 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001568/0.005775, allocations: 37.12 kB / 0.5263 GB, free: 11.95 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.834e-05/0.005793, allocations: 16.48 kB / 0.5263 GB, free: 11.93 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 6.673e-05/0.00586, allocations: 162.1 kB / 0.5265 GB, free: 11.77 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.142e-05/0.005871, allocations: 15.94 kB / 0.5265 GB, free: 11.75 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.194e-05/0.005893, allocations: 12.38 kB / 0.5265 GB, free: 11.74 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.005895, allocations: 0 / 0.5265 GB, free: 11.74 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.803e-06/0.005896, allocations: 2.438 kB / 0.5265 GB, free: 11.74 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.0059, allocations: 4 kB / 0.5265 GB, free: 11.73 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.621e-05/0.005966, allocations: 109.2 kB / 0.5266 GB, free: 11.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.005967, allocations: 0 / 0.5266 GB, free: 11.6 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.626e-06/0.005971, allocations: 0 / 0.5266 GB, free: 11.6 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.22e-07/0.005972, allocations: 0 / 0.5266 GB, free: 11.6 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.42e-06/0.005977, allocations: 6.688 kB / 0.5266 GB, free: 11.6 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.005979, allocations: 3.984 kB / 0.5266 GB, free: 11.59 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.005981, allocations: 3.938 kB / 0.5266 GB, free: 11.59 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.498e-05/0.006066, allocations: 120.3 kB / 0.5267 GB, free: 11.45 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.101e-06/0.006072, allocations: 7.938 kB / 0.5267 GB, free: 11.44 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.636e-06/0.00608, allocations: 4 kB / 0.5267 GB, free: 11.44 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.103e-05/0.006092, allocations: 4 kB / 0.5268 GB, free: 11.43 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.624e-05/0.006118, allocations: 11.92 kB / 0.5268 GB, free: 11.42 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.456e-06/0.006121, allocations: 0.8438 kB / 0.5268 GB, free: 11.42 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.264e-05/0.006154, allocations: 131.6 kB / 0.5269 GB, free: 11.29 MB / 0.4948 GB Notification: Performance of sort global known variables: time 4e-08/0.006154, allocations: 1.125 kB / 0.5269 GB, free: 11.29 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001419/0.006296, allocations: 32 kB / 0.5269 GB, free: 11.26 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 8.57e-05/0.006381, allocations: 100.2 kB / 0.527 GB, free: 11.16 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001801/0.006562, allocations: 273.8 kB / 0.5273 GB, free: 10.85 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.102e-06/0.006563, allocations: 0 / 0.5273 GB, free: 10.85 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 2.374e-05/0.006586, allocations: 27.61 kB / 0.5273 GB, free: 10.82 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001439/0.00673, allocations: 27.14 kB / 0.5273 GB, free: 10.8 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001906/0.006921, allocations: 166.7 kB / 0.5275 GB, free: 10.6 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.455e-05/0.006945, allocations: 59.34 kB / 0.5275 GB, free: 10.52 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.694e-05/0.006962, allocations: 4 kB / 0.5275 GB, free: 10.52 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.294e-05/0.007055, allocations: 102.2 kB / 0.5276 GB, free: 10.42 MB / 0.4948 GB Notification: Performance of SimCode: time 3.61e-07/0.007056, allocations: 0.7812 kB / 0.5276 GB, free: 10.42 MB / 0.4948 GB Notification: Performance of Templates: time 0.003037/0.01009, allocations: 2.247 MB / 0.5298 GB, free: 8.316 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.615921020042151]