Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.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.000773/0.000773, allocations: 76.45 kB / 19.9 MB, free: 24 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.0008162/0.0008162, allocations: 173.8 kB / 23.19 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.9072/0.9072, 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.7472/0.7472, allocations: 154.9 MB / 414.9 MB, free: 0.5117 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.Reals.Validation.Switch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Switch") translateModel(IDEAS.Controls.OBC.CDL.Reals.Validation.Switch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.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.001004/0.001004, allocations: 60.19 kB / 0.6199 GB, free: 12.56 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.5037/0.5047, allocations: 102 MB / 0.7195 GB, free: 23.5 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Switch): time 0.001752/0.5065, allocations: 0.7593 MB / 0.7202 GB, free: 23.03 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.001319/0.5078, allocations: 1.176 MB / 0.7214 GB, free: 22.18 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.677e-05/0.5078, allocations: 5.125 kB / 0.7214 GB, free: 22.18 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 3.356e-05/0.5079, allocations: 4.5 kB / 0.7214 GB, free: 22.17 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 7.656e-05/0.5079, allocations: 15.98 kB / 0.7214 GB, free: 22.16 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004756/0.5084, allocations: 138.3 kB / 0.7215 GB, free: 22.09 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0001881/0.5086, allocations: 133.6 kB / 0.7217 GB, free: 22.03 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001102/0.5087, allocations: 11.06 kB / 0.7217 GB, free: 22.03 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001364/0.5088, allocations: 72.61 kB / 0.7218 GB, free: 22 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 9.88e-05/0.5089, allocations: 51.11 kB / 0.7218 GB, free: 21.97 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 2.556e-05/0.509, allocations: 15.22 kB / 0.7218 GB, free: 21.97 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 6.686e-05/0.509, allocations: 20.55 kB / 0.7218 GB, free: 21.97 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 2.609e-05/0.5091, allocations: 13.12 kB / 0.7218 GB, free: 21.96 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 6.135e-05/0.5091, allocations: 38.66 kB / 0.7219 GB, free: 21.94 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0002023/0.5093, allocations: 128.4 kB / 0.722 GB, free: 21.89 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.5093, allocations: 1.078 kB / 0.722 GB, free: 21.89 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.034e-06/0.5093, allocations: 0 / 0.722 GB, free: 21.89 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.003e-06/0.5093, allocations: 1.156 kB / 0.722 GB, free: 21.89 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.0005232/0.5099, allocations: 346.8 kB / 0.7223 GB, free: 21.57 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.295e-05/0.5099, allocations: 14.78 kB / 0.7224 GB, free: 21.57 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.043e-05/0.51, allocations: 14.56 kB / 0.7224 GB, free: 21.56 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.557e-05/0.51, allocations: 120.4 kB / 0.7225 GB, free: 21.42 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.351e-05/0.51, allocations: 3.969 kB / 0.7225 GB, free: 21.42 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.072e-05/0.5101, allocations: 6.516 kB / 0.7225 GB, free: 21.42 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001882/0.5103, allocations: 75.75 kB / 0.7226 GB, free: 21.38 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.246e-06/0.5103, allocations: 192 / 0.7226 GB, free: 21.38 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.328e-05/0.5103, allocations: 14.25 kB / 0.7226 GB, free: 21.37 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.671e-06/0.5103, allocations: 0 / 0.7226 GB, free: 21.37 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001717/0.5105, allocations: 71.17 kB / 0.7226 GB, free: 21.36 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003422/0.5108, allocations: 249.4 kB / 0.7229 GB, free: 21.14 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001249/0.5109, allocations: 58.45 kB / 0.7229 GB, free: 21.1 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.741e-05/0.511, allocations: 47.39 kB / 0.723 GB, free: 21.08 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.205e-05/0.511, allocations: 1.094 kB / 0.723 GB, free: 21.08 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002184/0.5113, allocations: 96.42 kB / 0.7231 GB, free: 21.02 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=6): time 1.522e-06/0.5113, allocations: 0 / 0.7231 GB, free: 21.02 MB / 0.6355 GB Notification: Performance of matching and sorting (n=6): time 0.0004115/0.5117, allocations: 169.6 kB / 0.7232 GB, free: 20.96 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.93e-05/0.5117, allocations: 56.5 kB / 0.7233 GB, free: 20.89 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.238e-05/0.5118, allocations: 119.5 kB / 0.7234 GB, free: 20.79 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.871e-05/0.5118, allocations: 33.47 kB / 0.7234 GB, free: 20.75 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.682e-05/0.5118, allocations: 93.7 kB / 0.7235 GB, free: 20.66 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.755e-05/0.5118, allocations: 19.97 kB / 0.7236 GB, free: 20.64 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.459e-05/0.5119, allocations: 31.25 kB / 0.7236 GB, free: 20.62 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 4.661e-05/0.5119, allocations: 319.5 kB / 0.7239 GB, free: 20.31 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001672/0.5121, allocations: 90.86 kB / 0.724 GB, free: 20.26 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001435/0.5122, allocations: 114.5 kB / 0.7241 GB, free: 20.19 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002148/0.5125, allocations: 138.6 kB / 0.7242 GB, free: 20.11 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.5125, allocations: 8.938 kB / 0.7242 GB, free: 20.1 MB / 0.6355 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000345/0.5128, allocations: 257 kB / 0.7245 GB, free: 19.95 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.328e-05/0.5128, allocations: 38.66 kB / 0.7245 GB, free: 19.92 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.5129, allocations: 1.406 kB / 0.7245 GB, free: 19.92 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.442e-05/0.5129, allocations: 0 / 0.7245 GB, free: 19.92 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.662e-05/0.513, allocations: 18.28 kB / 0.7245 GB, free: 19.92 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.513, allocations: 0 / 0.7245 GB, free: 19.92 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001293/0.5131, allocations: 39.98 kB / 0.7246 GB, free: 19.91 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.007e-05/0.5131, allocations: 6.797 kB / 0.7246 GB, free: 19.91 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,booPul.y,$PRE.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 1 * 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.048e-05/0.5132, allocations: 124.9 kB / 0.7247 GB, free: 19.79 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.237e-05/0.5132, allocations: 7.828 kB / 0.7247 GB, free: 19.79 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.615e-05/0.5132, allocations: 10.77 kB / 0.7247 GB, free: 19.78 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.5132, allocations: 1.094 kB / 0.7247 GB, free: 19.78 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.5132, allocations: 7.875 kB / 0.7247 GB, free: 19.77 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.5132, allocations: 2.125 kB / 0.7247 GB, free: 19.77 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.98e-05/0.5133, allocations: 130.1 kB / 0.7248 GB, free: 19.63 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.5133, allocations: 1.562 kB / 0.7248 GB, free: 19.63 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.933e-05/0.5134, allocations: 14.97 kB / 0.7249 GB, free: 19.63 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.966e-06/0.5134, allocations: 1.578 kB / 0.7249 GB, free: 19.63 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.045e-06/0.5134, allocations: 5.938 kB / 0.7249 GB, free: 19.62 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.5134, allocations: 0.7031 kB / 0.7249 GB, free: 19.62 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.143e-06/0.5134, allocations: 0 / 0.7249 GB, free: 19.62 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002328/0.5136, allocations: 154.2 kB / 0.725 GB, free: 19.54 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 9.858e-06/0.5136, allocations: 11 kB / 0.725 GB, free: 19.53 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.347e-05/0.5136, allocations: 1.75 kB / 0.725 GB, free: 19.53 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.546e-05/0.5137, allocations: 19.39 kB / 0.725 GB, free: 19.52 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.661e-05/0.5137, allocations: 5.969 kB / 0.725 GB, free: 19.52 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.143e-06/0.5137, allocations: 3.453 kB / 0.725 GB, free: 19.52 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.507e-05/0.5138, allocations: 100 kB / 0.7251 GB, free: 19.43 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.5138, allocations: 0 / 0.7251 GB, free: 19.43 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001643/0.5139, allocations: 25.72 kB / 0.7252 GB, free: 19.43 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: 3 ($whenCondition1,$whenCondition2,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001311/0.5141, allocations: 99.23 kB / 0.7253 GB, free: 19.34 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0003374/0.5144, allocations: 206.9 kB / 0.7255 GB, free: 19.21 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.5144, allocations: 0 / 0.7255 GB, free: 19.21 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001051/0.5145, allocations: 48.95 kB / 0.7255 GB, free: 19.2 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001793/0.5147, allocations: 21.09 kB / 0.7255 GB, free: 19.2 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003186/0.515, allocations: 164.6 kB / 0.7257 GB, free: 19.05 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.839e-05/0.5151, allocations: 71.75 kB / 0.7258 GB, free: 18.98 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 2.962e-05/0.5151, allocations: 3.484 kB / 0.7258 GB, free: 18.98 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.43e-05/0.5151, allocations: 18.14 kB / 0.7258 GB, free: 18.97 MB / 0.6355 GB Notification: Performance of SimCode: time 8.01e-07/0.5151, allocations: 0 / 0.7258 GB, free: 18.97 MB / 0.6355 GB Notification: Performance of Templates: time 0.003973/0.5191, allocations: 1.733 MB / 0.7275 GB, free: 18.78 MB / 0.6355 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Switch.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Switch.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Switch.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Switch.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Switch.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Switch -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Switch.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.274799378006719] Failed to read output from testmodel.py, exit status != 0: 0.5253362599760294 0.5352525100000001 0.023870185000000002 Calling exit ...