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.0007097/0.0007097, allocations: 76.45 kB / 19.9 MB, free: 8 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.0007891/0.0007891, allocations: 169.9 kB / 23.18 MB, free: 1.375 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.8984/0.8984, allocations: 177.2 MB / 203.6 MB, free: 5.766 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.7351/0.7351, allocations: 154.9 MB / 414.9 MB, free: 0.5195 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.0009369/0.0009369, allocations: 71.89 kB / 0.6199 GB, free: 12.76 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.4834/0.4843, allocations: 102 MB / 0.7194 GB, free: 23.47 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Xor): time 0.001515/0.4859, allocations: 0.6375 MB / 0.7201 GB, free: 23.08 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.001244/0.4871, allocations: 1.212 MB / 0.7212 GB, free: 22.21 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.761e-05/0.4872, allocations: 5.094 kB / 0.7213 GB, free: 22.2 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 3.175e-05/0.4872, allocations: 4.5 kB / 0.7213 GB, free: 22.2 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 7.054e-05/0.4873, allocations: 16.27 kB / 0.7213 GB, free: 22.19 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005441/0.4878, allocations: 212.7 kB / 0.7215 GB, free: 22.09 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0002174/0.488, allocations: 178.9 kB / 0.7216 GB, free: 22.01 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001193/0.4881, allocations: 13.23 kB / 0.7217 GB, free: 22 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001488/0.4883, allocations: 98.48 kB / 0.7218 GB, free: 21.96 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001395/0.4884, allocations: 56.89 kB / 0.7218 GB, free: 21.94 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 3.13e-05/0.4885, allocations: 16.25 kB / 0.7218 GB, free: 21.94 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 7.616e-05/0.4885, allocations: 31.98 kB / 0.7219 GB, free: 21.93 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 2.546e-05/0.4886, allocations: 8.844 kB / 0.7219 GB, free: 21.93 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 6.821e-05/0.4886, allocations: 48.38 kB / 0.7219 GB, free: 21.91 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0002125/0.4888, allocations: 159.4 kB / 0.7221 GB, free: 21.85 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.61e-06/0.4888, allocations: 1.156 kB / 0.7221 GB, free: 21.85 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.934e-06/0.4888, allocations: 0 / 0.7221 GB, free: 21.85 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.214e-06/0.4889, allocations: 3.938 kB / 0.7221 GB, free: 21.84 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.000437/0.4893, allocations: 359.3 kB / 0.7224 GB, free: 21.5 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.923e-05/0.4893, allocations: 14.12 kB / 0.7224 GB, free: 21.49 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.325e-05/0.4894, allocations: 13.66 kB / 0.7224 GB, free: 21.49 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.294e-05/0.4895, allocations: 110.5 kB / 0.7225 GB, free: 21.36 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.585e-05/0.4895, allocations: 8.719 kB / 0.7225 GB, free: 21.36 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.614e-05/0.4895, allocations: 11.11 kB / 0.7226 GB, free: 21.36 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.881e-05/0.4896, allocations: 54.62 kB / 0.7226 GB, free: 21.31 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.634e-06/0.4896, allocations: 192 / 0.7226 GB, free: 21.31 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.133e-05/0.4896, allocations: 5 kB / 0.7226 GB, free: 21.31 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.4896, allocations: 1.531 kB / 0.7226 GB, free: 21.31 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.133e-05/0.4897, allocations: 22.05 kB / 0.7226 GB, free: 21.3 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000378/0.49, allocations: 275.2 kB / 0.7229 GB, free: 21.06 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 7.692e-05/0.4901, allocations: 35.42 kB / 0.7229 GB, free: 21.03 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.581e-05/0.4901, allocations: 20.33 kB / 0.723 GB, free: 21.02 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.046e-05/0.4902, allocations: 0 / 0.723 GB, free: 21.02 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001601/0.4903, allocations: 83.28 kB / 0.723 GB, free: 20.96 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 1.313e-06/0.4903, allocations: 0 / 0.723 GB, free: 20.96 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0002323/0.4905, allocations: 105.4 kB / 0.7231 GB, free: 20.9 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.315e-05/0.4906, allocations: 54.73 kB / 0.7232 GB, free: 20.84 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.282e-05/0.4907, allocations: 115.9 kB / 0.7233 GB, free: 20.73 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.02e-05/0.4907, allocations: 38.08 kB / 0.7233 GB, free: 20.7 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.173e-05/0.4907, allocations: 102.1 kB / 0.7234 GB, free: 20.6 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.564e-05/0.4907, allocations: 15.5 kB / 0.7234 GB, free: 20.59 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.343e-05/0.4908, allocations: 49.52 kB / 0.7235 GB, free: 20.56 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.896e-05/0.4908, allocations: 319.4 kB / 0.7238 GB, free: 20.25 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001258/0.491, allocations: 120 kB / 0.7239 GB, free: 20.16 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001368/0.4911, allocations: 152.5 kB / 0.7241 GB, free: 20.04 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001332/0.4912, allocations: 166.5 kB / 0.7242 GB, free: 19.89 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.4912, allocations: 5.062 kB / 0.7242 GB, free: 19.89 MB / 0.6355 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000334/0.4916, allocations: 321.9 kB / 0.7245 GB, free: 19.67 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 4.264e-05/0.4916, allocations: 68.11 kB / 0.7246 GB, free: 19.61 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.4916, allocations: 1.219 kB / 0.7246 GB, free: 19.61 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.621e-05/0.4916, allocations: 1.312 kB / 0.7246 GB, free: 19.61 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.477e-05/0.4917, allocations: 7.391 kB / 0.7246 GB, free: 19.6 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.747e-06/0.4917, allocations: 1.828 kB / 0.7246 GB, free: 19.6 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002411/0.4919, allocations: 60.86 kB / 0.7247 GB, free: 19.59 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.551e-05/0.4919, allocations: 15.8 kB / 0.7247 GB, free: 19.59 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 7.567e-05/0.492, allocations: 127.3 kB / 0.7248 GB, free: 19.46 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.999e-06/0.492, allocations: 6.828 kB / 0.7248 GB, free: 19.46 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.719e-05/0.4921, allocations: 11.48 kB / 0.7248 GB, free: 19.45 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-06/0.4921, allocations: 1.031 kB / 0.7248 GB, free: 19.45 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.4921, allocations: 0 / 0.7248 GB, free: 19.45 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.76e-06/0.4921, allocations: 2.188 kB / 0.7248 GB, free: 19.45 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.042e-05/0.4921, allocations: 123.2 kB / 0.7249 GB, free: 19.32 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.4921, allocations: 6.328 kB / 0.7249 GB, free: 19.31 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.692e-06/0.4922, allocations: 1.094 kB / 0.7249 GB, free: 19.31 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.205e-06/0.4922, allocations: 1.031 kB / 0.7249 GB, free: 19.31 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.023e-05/0.4922, allocations: 6.266 kB / 0.7249 GB, free: 19.31 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.4922, allocations: 0 / 0.7249 GB, free: 19.31 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.4922, allocations: 1.031 kB / 0.7249 GB, free: 19.31 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001137/0.4923, allocations: 114.3 kB / 0.7251 GB, free: 19.22 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 8.405e-06/0.4923, allocations: 8.156 kB / 0.7251 GB, free: 19.22 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.281e-05/0.4923, allocations: 5.969 kB / 0.7251 GB, free: 19.21 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.664e-05/0.4923, allocations: 0.9375 kB / 0.7251 GB, free: 19.21 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.641e-05/0.4924, allocations: 15.86 kB / 0.7251 GB, free: 19.21 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.533e-06/0.4924, allocations: 6 kB / 0.7251 GB, free: 19.2 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.085e-05/0.4924, allocations: 95.52 kB / 0.7252 GB, free: 19.12 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.4924, allocations: 0 / 0.7252 GB, free: 19.12 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001704/0.4926, allocations: 30.56 kB / 0.7252 GB, free: 19.12 MB / 0.6355 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.0001198/0.4927, allocations: 105.2 kB / 0.7253 GB, free: 19.02 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002713/0.493, allocations: 281.5 kB / 0.7256 GB, free: 18.79 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.235e-06/0.493, allocations: 0 / 0.7256 GB, free: 18.79 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.609e-05/0.493, allocations: 25.22 kB / 0.7256 GB, free: 18.79 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001935/0.4932, allocations: 20.59 kB / 0.7256 GB, free: 18.78 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000295/0.4935, allocations: 159.2 kB / 0.7258 GB, free: 18.64 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.985e-05/0.4935, allocations: 70.91 kB / 0.7258 GB, free: 18.57 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 2.991e-05/0.4936, allocations: 9.703 kB / 0.7259 GB, free: 18.56 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.142e-05/0.4936, allocations: 11.81 kB / 0.7259 GB, free: 18.55 MB / 0.6355 GB Notification: Performance of SimCode: time 3.8e-07/0.4936, allocations: 4 kB / 0.7259 GB, free: 18.55 MB / 0.6355 GB Notification: Performance of Templates: time 0.004343/0.4979, allocations: 2.07 MB / 0.7279 GB, free: 18.31 MB / 0.6355 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 -s cvode -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Xor.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.192754757008515] Failed to read output from testmodel.py, exit status != 0: 0.5047596029471606 0.515081459 0.024265678000000002 Calling exit ...