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.0008328/0.0008328, allocations: 80.44 kB / 19.91 MB, free: 4 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.0008433/0.0008433, allocations: 169.2 kB / 23.19 MB, free: 1.371 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.8755/0.8755, allocations: 177.2 MB / 203.6 MB, free: 5.75 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-531:686: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-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 master/package.mo): time 0.7054/0.7054, allocations: 154.9 MB / 414.9 MB, free: 0.5 MB / 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: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001178/0.001178, allocations: 67.91 kB / 0.6199 GB, free: 12.8 MB / 0.5886 GB [/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. Notification: Performance of FrontEnd - Absyn->SCode: time 0.473/0.4741, allocations: 102 MB / 0.7194 GB, free: 23.46 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Xor): time 0.00134/0.4755, allocations: 0.6361 MB / 0.7201 GB, free: 23.07 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.001024/0.4765, allocations: 1.21 MB / 0.7213 GB, free: 22.21 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.657e-05/0.4765, allocations: 4 kB / 0.7213 GB, free: 22.2 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 3.033e-05/0.4766, allocations: 6.047 kB / 0.7213 GB, free: 22.2 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 6.406e-05/0.4766, allocations: 14.56 kB / 0.7213 GB, free: 22.19 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004782/0.4771, allocations: 212.8 kB / 0.7215 GB, free: 22.09 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0001872/0.4773, allocations: 177.7 kB / 0.7216 GB, free: 22.01 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 9.645e-05/0.4774, allocations: 13.5 kB / 0.7217 GB, free: 22 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001104/0.4775, allocations: 102.5 kB / 0.7218 GB, free: 21.95 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001104/0.4776, allocations: 52.42 kB / 0.7218 GB, free: 21.94 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 2.679e-05/0.4776, allocations: 15.12 kB / 0.7218 GB, free: 21.94 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 6.114e-05/0.4777, allocations: 32.41 kB / 0.7219 GB, free: 21.93 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 2.051e-05/0.4777, allocations: 9.172 kB / 0.7219 GB, free: 21.93 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 6.264e-05/0.4778, allocations: 49.47 kB / 0.7219 GB, free: 21.91 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0002052/0.478, allocations: 198.9 kB / 0.7221 GB, free: 21.82 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.478, allocations: 1.188 kB / 0.7221 GB, free: 21.82 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.743e-06/0.478, allocations: 0 / 0.7221 GB, free: 21.82 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.791e-06/0.478, allocations: 0 / 0.7221 GB, free: 21.82 MB / 0.6355 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.0003857/0.4784, allocations: 362.9 kB / 0.7224 GB, free: 21.47 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.721e-05/0.4784, allocations: 14.16 kB / 0.7225 GB, free: 21.47 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.93e-05/0.4785, allocations: 12.28 kB / 0.7225 GB, free: 21.46 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.349e-05/0.4785, allocations: 111.6 kB / 0.7226 GB, free: 21.34 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.708e-05/0.4786, allocations: 5.672 kB / 0.7226 GB, free: 21.34 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.421e-05/0.4786, allocations: 9.188 kB / 0.7226 GB, free: 21.34 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.527e-05/0.4787, allocations: 54.47 kB / 0.7226 GB, free: 21.29 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.256e-06/0.4787, allocations: 0.9844 kB / 0.7226 GB, free: 21.29 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.003e-05/0.4787, allocations: 5.344 kB / 0.7226 GB, free: 21.29 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.469e-06/0.4787, allocations: 0 / 0.7226 GB, free: 21.29 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.421e-05/0.4787, allocations: 19.33 kB / 0.7227 GB, free: 21.28 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003146/0.479, allocations: 275.1 kB / 0.7229 GB, free: 21.05 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 5.781e-05/0.4791, allocations: 35.08 kB / 0.723 GB, free: 21.02 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.874e-05/0.4791, allocations: 20.12 kB / 0.723 GB, free: 21 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 9.869e-06/0.4791, allocations: 1.125 kB / 0.723 GB, free: 21 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001218/0.4793, allocations: 86.58 kB / 0.7231 GB, free: 20.94 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 1.012e-06/0.4793, allocations: 1.062 kB / 0.7231 GB, free: 20.94 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.000201/0.4795, allocations: 104.1 kB / 0.7232 GB, free: 20.88 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.848e-05/0.4795, allocations: 54.58 kB / 0.7232 GB, free: 20.82 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.834e-05/0.4795, allocations: 124.8 kB / 0.7233 GB, free: 20.71 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.837e-05/0.4796, allocations: 34.17 kB / 0.7234 GB, free: 20.67 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.254e-05/0.4796, allocations: 97.41 kB / 0.7235 GB, free: 20.58 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.137e-05/0.4796, allocations: 12.31 kB / 0.7235 GB, free: 20.57 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.017e-05/0.4797, allocations: 48.52 kB / 0.7235 GB, free: 20.55 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 2.876e-05/0.4797, allocations: 318.8 kB / 0.7238 GB, free: 20.23 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001078/0.4798, allocations: 121.5 kB / 0.7239 GB, free: 20.14 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001095/0.4799, allocations: 155.1 kB / 0.7241 GB, free: 20.02 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001141/0.48, allocations: 160.2 kB / 0.7242 GB, free: 19.88 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.48, allocations: 7.938 kB / 0.7242 GB, free: 19.87 MB / 0.6355 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002952/0.4803, allocations: 325.5 kB / 0.7246 GB, free: 19.65 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.332e-05/0.4804, allocations: 68.34 kB / 0.7246 GB, free: 19.59 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.4804, allocations: 1.344 kB / 0.7246 GB, free: 19.59 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.265e-05/0.4804, allocations: 1.469 kB / 0.7246 GB, free: 19.59 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.822e-05/0.4804, allocations: 7.875 kB / 0.7246 GB, free: 19.58 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.436e-06/0.4804, allocations: 2.688 kB / 0.7246 GB, free: 19.58 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001968/0.4806, allocations: 63.5 kB / 0.7247 GB, free: 19.57 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.296e-05/0.4806, allocations: 10.95 kB / 0.7247 GB, free: 19.57 MB / 0.6355 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 5.393e-05/0.4807, allocations: 127.6 kB / 0.7248 GB, free: 19.45 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.446e-06/0.4807, allocations: 7.938 kB / 0.7248 GB, free: 19.44 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.045e-05/0.4807, allocations: 10.52 kB / 0.7248 GB, free: 19.43 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.4807, allocations: 0.6094 kB / 0.7248 GB, free: 19.43 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.41e-07/0.4807, allocations: 0 / 0.7248 GB, free: 19.43 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.622e-06/0.4807, allocations: 3.594 kB / 0.7249 GB, free: 19.43 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.07e-05/0.4807, allocations: 5.844 kB / 0.7249 GB, free: 19.43 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.227e-05/0.4807, allocations: 10.33 kB / 0.7249 GB, free: 19.42 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.159e-05/0.4808, allocations: 9.812 kB / 0.7249 GB, free: 19.42 MB / 0.6355 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 8.545e-05/0.4809, allocations: 159.2 kB / 0.725 GB, free: 19.29 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 8.968e-05/0.481, allocations: 255.7 kB / 0.7253 GB, free: 19.07 MB / 0.6355 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.089e-05/0.481, allocations: 21.44 kB / 0.7253 GB, free: 19.06 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 2.418e-05/0.481, allocations: 94.5 kB / 0.7254 GB, free: 18.98 MB / 0.6355 GB Notification: Performance of Backend: time 1.3e-07/0.481, allocations: 3.938 kB / 0.7254 GB, free: 18.98 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.000426/0.4814, allocations: 338.5 kB / 0.7257 GB, free: 18.69 MB / 0.6355 GB Notification: Performance of SimCode: time 0.0003378/0.4818, allocations: 0.6137 MB / 0.7263 GB, free: 18.07 MB / 0.6355 GB Notification: Performance of Templates: time 0.003708/0.4855, allocations: 2.153 MB / 0.7284 GB, free: 17.84 MB / 0.6355 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=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Xor.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.068590160226449] Failed to read output from testmodel.py, exit status != 0: 0.491928372066468 0.506141933 0.025354877 Calling exit ...