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.0006649/0.0006649, allocations: 76.45 kB / 19.91 MB, free: 12 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.000697/0.000697, 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.8274/0.8274, 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 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.7116/0.7116, allocations: 154.7 MB / 414.7 MB, free: 0.7305 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.0008487/0.0008487, allocations: 71.84 kB / 0.6196 GB, free: 13.03 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.401/0.4018, allocations: 101.9 MB / 0.7191 GB, free: 23.63 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Switch): time 0.001295/0.4031, allocations: 0.6705 MB / 0.7198 GB, free: 23.22 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0009414/0.404, allocations: 1.29 MB / 0.721 GB, free: 22.29 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.801e-05/0.4041, allocations: 1.438 kB / 0.721 GB, free: 22.29 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 2.686e-05/0.4041, allocations: 4.453 kB / 0.721 GB, free: 22.29 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 6.437e-05/0.4042, allocations: 21.52 kB / 0.7211 GB, free: 22.27 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.000528/0.4047, allocations: 318.3 kB / 0.7214 GB, free: 22.12 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0002267/0.4049, allocations: 260 kB / 0.7216 GB, free: 22 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 9.879e-05/0.405, allocations: 10.92 kB / 0.7216 GB, free: 22 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001466/0.4052, allocations: 140.1 kB / 0.7218 GB, free: 21.94 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001308/0.4053, allocations: 80.89 kB / 0.7218 GB, free: 21.91 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 3.456e-05/0.4054, allocations: 23.44 kB / 0.7219 GB, free: 21.91 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 6.719e-05/0.4054, allocations: 35.03 kB / 0.7219 GB, free: 21.91 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 2.499e-05/0.4054, allocations: 15.22 kB / 0.7219 GB, free: 21.9 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 8.14e-05/0.4055, allocations: 82.52 kB / 0.722 GB, free: 21.86 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0002583/0.4058, allocations: 273.6 kB / 0.7222 GB, free: 21.75 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.4058, allocations: 4 kB / 0.7222 GB, free: 21.75 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.024e-06/0.4058, allocations: 0 / 0.7222 GB, free: 21.75 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.661e-06/0.4058, allocations: 0 / 0.7222 GB, free: 21.75 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.0003565/0.4062, allocations: 426.6 kB / 0.7227 GB, free: 21.36 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.479e-05/0.4062, allocations: 9.219 kB / 0.7227 GB, free: 21.36 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.506e-05/0.4062, allocations: 16.66 kB / 0.7227 GB, free: 21.35 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.17e-05/0.4063, allocations: 114.8 kB / 0.7228 GB, free: 21.22 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.103e-05/0.4063, allocations: 8.969 kB / 0.7228 GB, free: 21.22 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.863e-05/0.4063, allocations: 17.95 kB / 0.7228 GB, free: 21.21 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.264e-05/0.4064, allocations: 64.56 kB / 0.7229 GB, free: 21.17 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.253e-06/0.4064, allocations: 7.922 kB / 0.7229 GB, free: 21.16 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.558e-06/0.4064, allocations: 2.953 kB / 0.7229 GB, free: 21.16 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.088e-06/0.4064, allocations: 1.125 kB / 0.7229 GB, free: 21.16 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.712e-05/0.4065, allocations: 20.34 kB / 0.7229 GB, free: 21.15 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003246/0.4068, allocations: 308.9 kB / 0.7232 GB, free: 20.91 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 4.499e-05/0.4069, allocations: 36.44 kB / 0.7232 GB, free: 20.88 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.389e-05/0.4069, allocations: 17.75 kB / 0.7233 GB, free: 20.87 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 7.324e-06/0.4069, allocations: 4.844 kB / 0.7233 GB, free: 20.86 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001408/0.407, allocations: 98.44 kB / 0.7234 GB, free: 20.8 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=10): time 8.71e-07/0.407, allocations: 4 kB / 0.7234 GB, free: 20.8 MB / 0.6355 GB Notification: Performance of matching and sorting (n=10): time 0.0002407/0.4073, allocations: 143.3 kB / 0.7235 GB, free: 20.73 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.667e-05/0.4073, allocations: 54.11 kB / 0.7235 GB, free: 20.67 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.692e-05/0.4074, allocations: 145.5 kB / 0.7237 GB, free: 20.55 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.437e-05/0.4074, allocations: 31.27 kB / 0.7237 GB, free: 20.52 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.306e-05/0.4074, allocations: 106.9 kB / 0.7238 GB, free: 20.42 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.804e-05/0.4075, allocations: 21.23 kB / 0.7238 GB, free: 20.41 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.242e-05/0.4076, allocations: 66.31 kB / 0.7239 GB, free: 20.38 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 4.513e-05/0.4076, allocations: 320.7 kB / 0.7242 GB, free: 20.06 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001709/0.4078, allocations: 179.8 kB / 0.7244 GB, free: 19.93 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000183/0.408, allocations: 232 kB / 0.7246 GB, free: 19.74 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001682/0.4081, allocations: 236.8 kB / 0.7248 GB, free: 19.54 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.4081, allocations: 1.453 kB / 0.7248 GB, free: 19.54 MB / 0.6355 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003984/0.4085, allocations: 479.6 kB / 0.7253 GB, free: 19.22 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.281e-05/0.4086, allocations: 97.8 kB / 0.7254 GB, free: 19.12 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.439e-06/0.4086, allocations: 5.062 kB / 0.7254 GB, free: 19.12 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.807e-06/0.4086, allocations: 6.719 kB / 0.7254 GB, free: 19.12 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.419e-05/0.4086, allocations: 8.125 kB / 0.7254 GB, free: 19.11 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.987e-06/0.4086, allocations: 2.594 kB / 0.7254 GB, free: 19.11 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000256/0.4088, allocations: 84.11 kB / 0.7255 GB, free: 19.1 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.807e-05/0.4089, allocations: 21.5 kB / 0.7255 GB, free: 19.1 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 6.106e-05/0.4089, allocations: 136.4 kB / 0.7256 GB, free: 18.97 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.827e-06/0.4089, allocations: 7.922 kB / 0.7256 GB, free: 18.97 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.515e-05/0.409, allocations: 10.42 kB / 0.7256 GB, free: 18.96 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.385e-06/0.409, allocations: 3.219 kB / 0.7256 GB, free: 18.96 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.114e-06/0.409, allocations: 0 / 0.7256 GB, free: 18.96 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.409, allocations: 0.7031 kB / 0.7256 GB, free: 18.96 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.79e-05/0.409, allocations: 131.1 kB / 0.7258 GB, free: 18.82 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.71e-07/0.409, allocations: 4 kB / 0.7258 GB, free: 18.82 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.36e-06/0.409, allocations: 3.156 kB / 0.7258 GB, free: 18.82 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.409, allocations: 1.5 kB / 0.7258 GB, free: 18.82 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.444e-06/0.409, allocations: 2.078 kB / 0.7258 GB, free: 18.82 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.409, allocations: 1.594 kB / 0.7258 GB, free: 18.82 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.409, allocations: 0 / 0.7258 GB, free: 18.82 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001143/0.4092, allocations: 144.3 kB / 0.7259 GB, free: 18.72 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.373e-06/0.4092, allocations: 7.844 kB / 0.7259 GB, free: 18.72 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.142e-05/0.4092, allocations: 2.234 kB / 0.7259 GB, free: 18.72 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.369e-05/0.4092, allocations: 1.672 kB / 0.7259 GB, free: 18.72 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.261e-05/0.4092, allocations: 15.16 kB / 0.7259 GB, free: 18.71 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.452e-06/0.4092, allocations: 13.44 kB / 0.726 GB, free: 18.7 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 2.816e-05/0.4093, allocations: 99.19 kB / 0.7261 GB, free: 18.62 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.4093, allocations: 0 / 0.7261 GB, free: 18.62 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001736/0.4094, allocations: 48.34 kB / 0.7261 GB, free: 18.61 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 8.78e-05/0.4095, allocations: 101.6 kB / 0.7262 GB, free: 18.52 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002898/0.4098, allocations: 420.4 kB / 0.7266 GB, free: 18.18 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.363e-06/0.4098, allocations: 384 / 0.7266 GB, free: 18.18 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 4.881e-05/0.4099, allocations: 41.27 kB / 0.7266 GB, free: 18.16 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001769/0.41, allocations: 29.22 kB / 0.7267 GB, free: 18.15 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002573/0.4103, allocations: 215.7 kB / 0.7269 GB, free: 17.97 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.07e-05/0.4103, allocations: 81.69 kB / 0.7269 GB, free: 17.89 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.958e-05/0.4104, allocations: 19.53 kB / 0.727 GB, free: 17.88 MB / 0.6355 GB Notification: Performance of SimCode: time 5.71e-07/0.4104, allocations: 4 kB / 0.727 GB, free: 17.88 MB / 0.6355 GB Notification: Performance of Templates: time 0.002789/0.4131, allocations: 1.918 MB / 0.7288 GB, free: 17.69 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 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Switch.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.389630612917244] Failed to read output from testmodel.py, exit status != 0: 0.4177553839981556 0.42583951699999995 0.018448633000000002 Calling exit ...