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.001514/0.001514, allocations: 75.25 kB / 19.16 MB, free: 2.566 MB / 14.72 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.001935/0.001935, allocations: 167.9 kB / 22.44 MB, free: 5.309 MB / 14.72 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.422/1.422, allocations: 177.2 MB / 202.8 MB, free: 9.195 MB / 190.1 MB " [Timeout remaining time 178] 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:190: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:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 1.168/1.168, allocations: 155 MB / 414.2 MB, free: 4.945 MB / 382.1 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 178] 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.002074/0.002074, allocations: 75.05 kB / 0.6191 GB, free: 4.152 MB / 0.5294 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.5204/0.5225, allocations: 102 MB / 0.7187 GB, free: 1.766 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Xor): time 0.001721/0.5242, allocations: 0.6458 MB / 0.7194 GB, free: 1.363 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001264/0.5255, allocations: 1.207 MB / 0.7206 GB, free: 0.4961 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.527e-05/0.5256, allocations: 0 / 0.7206 GB, free: 0.4961 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.707e-05/0.5256, allocations: 4.875 kB / 0.7206 GB, free: 0.4922 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.947e-05/0.5257, allocations: 16.84 kB / 0.7206 GB, free: 492 kB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006113/0.5263, allocations: 214.1 kB / 0.7208 GB, free: 384 kB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002176/0.5265, allocations: 179 kB / 0.721 GB, free: 304 kB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.517e-05/0.5266, allocations: 13.97 kB / 0.721 GB, free: 296 kB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001391/0.5267, allocations: 101.4 kB / 0.7211 GB, free: 248 kB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001243/0.5268, allocations: 53.16 kB / 0.7211 GB, free: 232 kB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.292e-05/0.5269, allocations: 19.19 kB / 0.7211 GB, free: 228 kB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 7.192e-05/0.527, allocations: 28.64 kB / 0.7212 GB, free: 224 kB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.395e-05/0.527, allocations: 9.875 kB / 0.7212 GB, free: 220 kB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 7.4e-05/0.527, allocations: 55.28 kB / 0.7212 GB, free: 192 kB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002487/0.5273, allocations: 188.5 kB / 0.7214 GB, free: 120 kB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.5273, allocations: 0 / 0.7214 GB, free: 120 kB / 0.6075 GB Notification: Performance of FrontEnd: time 1.332e-06/0.5273, allocations: 0 / 0.7214 GB, free: 120 kB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.45e-06/0.5273, allocations: 0 / 0.7214 GB, free: 120 kB / 0.6075 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.0005547/0.5279, allocations: 358.7 kB / 0.7217 GB, free: 15.77 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.143e-05/0.5279, allocations: 10.59 kB / 0.7218 GB, free: 15.77 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.536e-05/0.528, allocations: 12.59 kB / 0.7218 GB, free: 15.77 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001459/0.5281, allocations: 123.6 kB / 0.7219 GB, free: 15.62 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.538e-05/0.5281, allocations: 5.469 kB / 0.7219 GB, free: 15.62 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.904e-05/0.5282, allocations: 10.7 kB / 0.7219 GB, free: 15.62 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001235/0.5283, allocations: 53.7 kB / 0.7219 GB, free: 15.58 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.5283, allocations: 4.125 kB / 0.722 GB, free: 15.58 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.31e-05/0.5283, allocations: 5.359 kB / 0.722 GB, free: 15.57 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.5283, allocations: 1.531 kB / 0.722 GB, free: 15.57 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.941e-05/0.5284, allocations: 14.8 kB / 0.722 GB, free: 15.57 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004797/0.5289, allocations: 272.2 kB / 0.7222 GB, free: 15.34 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 8.444e-05/0.5289, allocations: 39.2 kB / 0.7223 GB, free: 15.3 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.247e-05/0.529, allocations: 23.3 kB / 0.7223 GB, free: 15.29 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 7.173e-06/0.529, allocations: 0.7812 kB / 0.7223 GB, free: 15.29 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001816/0.5292, allocations: 84.19 kB / 0.7224 GB, free: 15.23 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=7): time 1.323e-06/0.5292, allocations: 0 / 0.7224 GB, free: 15.23 MB / 0.6231 GB Notification: Performance of matching and sorting (n=7): time 0.0002762/0.5294, allocations: 104.5 kB / 0.7225 GB, free: 15.17 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.414e-05/0.5295, allocations: 54.56 kB / 0.7225 GB, free: 15.11 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001188/0.5296, allocations: 116.8 kB / 0.7226 GB, free: 15 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 3.818e-05/0.5296, allocations: 34.33 kB / 0.7227 GB, free: 14.97 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 7.494e-05/0.5297, allocations: 94.33 kB / 0.7228 GB, free: 14.88 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 2.034e-05/0.5297, allocations: 15.45 kB / 0.7228 GB, free: 14.87 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001043/0.5298, allocations: 52.52 kB / 0.7228 GB, free: 14.84 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001511/0.53, allocations: 319.1 kB / 0.7231 GB, free: 14.52 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000188/0.5302, allocations: 120.8 kB / 0.7232 GB, free: 14.44 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000204/0.5304, allocations: 160 kB / 0.7234 GB, free: 14.3 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002182/0.5306, allocations: 163.1 kB / 0.7236 GB, free: 14.16 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.5306, allocations: 0 / 0.7236 GB, free: 14.16 MB / 0.6231 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005091/0.5311, allocations: 334.3 kB / 0.7239 GB, free: 13.94 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 6.247e-05/0.5312, allocations: 67.52 kB / 0.7239 GB, free: 13.87 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.5312, allocations: 1.797 kB / 0.7239 GB, free: 13.87 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.544e-05/0.5312, allocations: 2.219 kB / 0.7239 GB, free: 13.87 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.23e-05/0.5312, allocations: 2.984 kB / 0.7239 GB, free: 13.87 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/0.5312, allocations: 1.281 kB / 0.7239 GB, free: 13.87 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003428/0.5316, allocations: 61.06 kB / 0.724 GB, free: 13.86 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.24e-05/0.5316, allocations: 15.19 kB / 0.724 GB, free: 13.86 MB / 0.6231 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 0.0001236/0.5317, allocations: 128.4 kB / 0.7241 GB, free: 13.73 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.005e-05/0.5317, allocations: 7.969 kB / 0.7241 GB, free: 13.73 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.939e-05/0.5318, allocations: 10.33 kB / 0.7242 GB, free: 13.72 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.514e-06/0.5318, allocations: 5.062 kB / 0.7242 GB, free: 13.71 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.5318, allocations: 1.641 kB / 0.7242 GB, free: 13.71 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.5318, allocations: 0.6562 kB / 0.7242 GB, free: 13.71 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001217/0.5319, allocations: 120.8 kB / 0.7243 GB, free: 13.58 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.5319, allocations: 0.6562 kB / 0.7243 GB, free: 13.58 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.768e-06/0.5319, allocations: 5.672 kB / 0.7243 GB, free: 13.58 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.5319, allocations: 1.094 kB / 0.7243 GB, free: 13.58 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.368e-06/0.5319, allocations: 1.641 kB / 0.7243 GB, free: 13.58 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.5319, allocations: 1.812 kB / 0.7243 GB, free: 13.58 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.5319, allocations: 0 / 0.7243 GB, free: 13.58 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001793/0.5321, allocations: 125.5 kB / 0.7244 GB, free: 13.48 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 1.037e-05/0.5321, allocations: 3.953 kB / 0.7244 GB, free: 13.48 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.055e-05/0.5321, allocations: 5.984 kB / 0.7244 GB, free: 13.48 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.161e-05/0.5322, allocations: 0.7031 kB / 0.7244 GB, free: 13.48 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.79e-05/0.5322, allocations: 7.297 kB / 0.7244 GB, free: 13.48 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.064e-05/0.5322, allocations: 7.938 kB / 0.7244 GB, free: 13.47 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 5.974e-05/0.5323, allocations: 97.2 kB / 0.7245 GB, free: 13.39 MB / 0.6231 GB Notification: Performance of sort global known variables: time 8e-08/0.5323, allocations: 1.062 kB / 0.7245 GB, free: 13.39 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0002395/0.5325, allocations: 27.33 kB / 0.7246 GB, free: 13.39 MB / 0.6231 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.0001892/0.5327, allocations: 103.1 kB / 0.7246 GB, free: 13.3 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0004691/0.5332, allocations: 281.6 kB / 0.7249 GB, free: 13.07 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.5332, allocations: 0 / 0.7249 GB, free: 13.07 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 6.872e-05/0.5333, allocations: 24.89 kB / 0.7249 GB, free: 13.06 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002611/0.5335, allocations: 24.34 kB / 0.725 GB, free: 13.05 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004386/0.534, allocations: 158 kB / 0.7251 GB, free: 12.91 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.174e-05/0.534, allocations: 69.27 kB / 0.7252 GB, free: 12.84 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 3.35e-05/0.5341, allocations: 9.953 kB / 0.7252 GB, free: 12.83 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.209e-05/0.5341, allocations: 12.19 kB / 0.7252 GB, free: 12.82 MB / 0.6231 GB Notification: Performance of SimCode: time 2.61e-07/0.5341, allocations: 0 / 0.7252 GB, free: 12.82 MB / 0.6231 GB Notification: Performance of Templates: time 0.006299/0.5404, allocations: 2.093 MB / 0.7272 GB, free: 12.56 MB / 0.6231 GB " [Timeout remaining time 659] 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: 6.063686916604638] Failed to read output from testmodel.py, exit status != 0: 0.5490535274147987 0.564383692 0.034003819000000005 Calling exit ...