Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Switch.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.0007767/0.0007767, allocations: 76.45 kB / 19.9 MB, free: 16 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.0008055/0.0008055, allocations: 165.9 kB / 23.18 MB, free: 1.383 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.9085/0.9085, allocations: 177.2 MB / 203.6 MB, free: 5.758 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-531:686: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-531:694: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.7773/0.7773, allocations: 154.7 MB / 414.7 MB, free: 0.7539 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.Switch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Switch") translateModel(IDEAS.Controls.OBC.CDL.Logical.Validation.Switch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Switch") [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.0009562/0.0009562, allocations: 72.45 kB / 0.6196 GB, free: 13.11 MB / 0.5886 GB [/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. Notification: Performance of FrontEnd - Absyn->SCode: time 0.4748/0.4757, allocations: 101.9 MB / 0.7191 GB, free: 23.65 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Switch): time 0.00146/0.4772, allocations: 0.6655 MB / 0.7198 GB, free: 23.24 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.001145/0.4783, allocations: 1.297 MB / 0.721 GB, free: 22.31 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.33e-05/0.4784, allocations: 1.344 kB / 0.721 GB, free: 22.31 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 3.109e-05/0.4784, allocations: 4.688 kB / 0.721 GB, free: 22.3 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 6.945e-05/0.4785, allocations: 21.42 kB / 0.7211 GB, free: 22.29 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006331/0.4791, allocations: 316.9 kB / 0.7214 GB, free: 22.13 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0002581/0.4794, allocations: 260.7 kB / 0.7216 GB, free: 22.02 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001062/0.4795, allocations: 11.28 kB / 0.7216 GB, free: 22.01 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001568/0.4796, allocations: 139.5 kB / 0.7218 GB, free: 21.95 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001424/0.4798, allocations: 82.14 kB / 0.7218 GB, free: 21.93 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 3.657e-05/0.4798, allocations: 22.12 kB / 0.7219 GB, free: 21.93 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 7.66e-05/0.4799, allocations: 39 kB / 0.7219 GB, free: 21.92 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 2.699e-05/0.4799, allocations: 19.36 kB / 0.7219 GB, free: 21.91 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 8.509e-05/0.48, allocations: 86.39 kB / 0.722 GB, free: 21.86 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0002594/0.4803, allocations: 211.4 kB / 0.7222 GB, free: 21.8 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.4803, allocations: 3.938 kB / 0.7222 GB, free: 21.79 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.134e-06/0.4803, allocations: 2.172 kB / 0.7222 GB, free: 21.79 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.523e-06/0.4803, allocations: 0 / 0.7222 GB, free: 21.79 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004276/0.4807, allocations: 424.3 kB / 0.7226 GB, free: 21.4 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.75e-05/0.4807, allocations: 9.25 kB / 0.7226 GB, free: 21.4 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.815e-05/0.4808, allocations: 16.41 kB / 0.7226 GB, free: 21.39 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.356e-05/0.4809, allocations: 116.4 kB / 0.7227 GB, free: 21.26 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.083e-05/0.4809, allocations: 10.91 kB / 0.7228 GB, free: 21.26 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.229e-05/0.4809, allocations: 22.16 kB / 0.7228 GB, free: 21.25 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001072/0.481, allocations: 58.2 kB / 0.7228 GB, free: 21.21 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.854e-06/0.481, allocations: 3.938 kB / 0.7228 GB, free: 21.21 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.498e-06/0.481, allocations: 1.062 kB / 0.7228 GB, free: 21.21 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.481, allocations: 1.5 kB / 0.7228 GB, free: 21.21 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.268e-05/0.4811, allocations: 21.48 kB / 0.7229 GB, free: 21.2 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003846/0.4815, allocations: 308.4 kB / 0.7231 GB, free: 20.96 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 5.478e-05/0.4815, allocations: 40.36 kB / 0.7232 GB, free: 20.92 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.861e-05/0.4816, allocations: 22.48 kB / 0.7232 GB, free: 20.91 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 9.829e-06/0.4816, allocations: 0.6562 kB / 0.7232 GB, free: 20.91 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001451/0.4817, allocations: 101.6 kB / 0.7233 GB, free: 20.84 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=10): time 1.523e-06/0.4817, allocations: 1.688 kB / 0.7233 GB, free: 20.84 MB / 0.6355 GB Notification: Performance of matching and sorting (n=10): time 0.0002773/0.482, allocations: 142.4 kB / 0.7234 GB, free: 20.78 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.936e-05/0.482, allocations: 55.14 kB / 0.7235 GB, free: 20.71 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.543e-05/0.4821, allocations: 140.2 kB / 0.7236 GB, free: 20.59 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.634e-05/0.4821, allocations: 31.86 kB / 0.7237 GB, free: 20.56 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.273e-05/0.4822, allocations: 103 kB / 0.7238 GB, free: 20.47 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.433e-05/0.4822, allocations: 24.59 kB / 0.7238 GB, free: 20.45 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.184e-05/0.4823, allocations: 67.33 kB / 0.7238 GB, free: 20.42 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.773e-05/0.4823, allocations: 324.6 kB / 0.7242 GB, free: 20.1 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001753/0.4825, allocations: 180.5 kB / 0.7243 GB, free: 19.97 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001725/0.4827, allocations: 226 kB / 0.7245 GB, free: 19.79 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001773/0.4828, allocations: 238.4 kB / 0.7248 GB, free: 19.58 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.4828, allocations: 1.188 kB / 0.7248 GB, free: 19.58 MB / 0.6355 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004312/0.4833, allocations: 476.5 kB / 0.7252 GB, free: 19.27 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 4.515e-05/0.4833, allocations: 96.67 kB / 0.7253 GB, free: 19.17 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.4833, allocations: 2 kB / 0.7253 GB, free: 19.17 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.528e-05/0.4833, allocations: 2.438 kB / 0.7253 GB, free: 19.17 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.282e-05/0.4834, allocations: 8.844 kB / 0.7253 GB, free: 19.16 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.053e-06/0.4834, allocations: 6.938 kB / 0.7253 GB, free: 19.16 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003036/0.4837, allocations: 83.23 kB / 0.7254 GB, free: 19.15 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.402e-05/0.4837, allocations: 21.69 kB / 0.7254 GB, free: 19.14 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,logicalSwitch.y,booPul3.y,$PRE.booPul3.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 (13): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 3 * 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.359e-05/0.4838, allocations: 131.4 kB / 0.7256 GB, free: 19.02 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.349e-05/0.4838, allocations: 8.672 kB / 0.7256 GB, free: 19.02 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.752e-05/0.4838, allocations: 14.92 kB / 0.7256 GB, free: 19.01 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.4838, allocations: 1.281 kB / 0.7256 GB, free: 19.01 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.4838, allocations: 1.062 kB / 0.7256 GB, free: 19.01 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.551e-06/0.4838, allocations: 1.312 kB / 0.7256 GB, free: 19.01 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.84e-05/0.4839, allocations: 138.8 kB / 0.7257 GB, free: 18.86 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.4839, allocations: 0 / 0.7257 GB, free: 18.86 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.274e-06/0.4839, allocations: 6.953 kB / 0.7257 GB, free: 18.86 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.4839, allocations: 1.031 kB / 0.7257 GB, free: 18.86 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.145e-05/0.4839, allocations: 2.594 kB / 0.7257 GB, free: 18.86 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.474e-06/0.4839, allocations: 1.531 kB / 0.7257 GB, free: 18.86 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.4839, allocations: 0.5156 kB / 0.7257 GB, free: 18.86 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001425/0.4841, allocations: 144.5 kB / 0.7259 GB, free: 18.76 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 9.177e-06/0.4841, allocations: 7.875 kB / 0.7259 GB, free: 18.76 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.361e-05/0.4841, allocations: 2.156 kB / 0.7259 GB, free: 18.76 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.849e-05/0.4841, allocations: 7.125 kB / 0.7259 GB, free: 18.75 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.196e-05/0.4842, allocations: 10.12 kB / 0.7259 GB, free: 18.75 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.694e-06/0.4842, allocations: 4.859 kB / 0.7259 GB, free: 18.75 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.66e-05/0.4842, allocations: 103.1 kB / 0.726 GB, free: 18.67 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.4842, allocations: 0 / 0.726 GB, free: 18.67 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001882/0.4844, allocations: 47.28 kB / 0.726 GB, free: 18.66 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: 10 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,booPul3.y,logicalSwitch.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0001085/0.4845, allocations: 110.2 kB / 0.7261 GB, free: 18.57 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.00039/0.4849, allocations: 421.7 kB / 0.7266 GB, free: 18.22 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.4849, allocations: 8.062 kB / 0.7266 GB, free: 18.21 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 5.209e-05/0.4849, allocations: 28.16 kB / 0.7266 GB, free: 18.21 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002264/0.4852, allocations: 24.33 kB / 0.7266 GB, free: 18.2 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003576/0.4855, allocations: 188.4 kB / 0.7268 GB, free: 18.05 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.128e-05/0.4856, allocations: 85.48 kB / 0.7269 GB, free: 17.96 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 3.379e-05/0.4856, allocations: 9.078 kB / 0.7269 GB, free: 17.96 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.354e-05/0.4857, allocations: 14.56 kB / 0.7269 GB, free: 17.95 MB / 0.6355 GB Notification: Performance of SimCode: time 6.41e-07/0.4857, allocations: 0 / 0.7269 GB, free: 17.95 MB / 0.6355 GB Notification: Performance of Templates: time 0.006023/0.4917, allocations: 2.937 MB / 0.7298 GB, free: 17.61 MB / 0.6355 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Switch.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Switch.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Switch.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Switch.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Switch.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Switch -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Switch.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.419197152019478] Failed to read output from testmodel.py, exit status != 0: 0.4976801190059632 0.506750546 0.024666783 Calling exit ...