Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.0008888/0.0008888, allocations: 76.45 kB / 19.9 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.0009601/0.0009601, allocations: 169.9 kB / 23.18 MB, free: 1.379 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.9017/0.9017, allocations: 177.2 MB / 203.6 MB, free: 5.656 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.7116/0.7116, allocations: 154.9 MB / 414.9 MB, free: 0.4961 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.Switch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_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_dev_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.0008946/0.0008946, allocations: 71.89 kB / 0.6199 GB, free: 12.65 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.4813/0.4822, allocations: 102 MB / 0.7194 GB, free: 23.57 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Switch): time 0.001521/0.4837, allocations: 0.6664 MB / 0.7201 GB, free: 23.16 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.001236/0.4849, allocations: 1.29 MB / 0.7214 GB, free: 22.24 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.059e-05/0.485, allocations: 6.031 kB / 0.7214 GB, free: 22.23 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 3.28e-05/0.485, allocations: 4.641 kB / 0.7214 GB, free: 22.23 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 7.544e-05/0.4851, allocations: 20.41 kB / 0.7214 GB, free: 22.21 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006494/0.4858, allocations: 318.9 kB / 0.7217 GB, free: 22.06 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.000285/0.486, allocations: 264.9 kB / 0.7219 GB, free: 21.94 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001099/0.4862, allocations: 11.58 kB / 0.7219 GB, free: 21.93 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001569/0.4863, allocations: 138.9 kB / 0.7221 GB, free: 21.88 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001437/0.4865, allocations: 82.33 kB / 0.7222 GB, free: 21.85 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 3.685e-05/0.4865, allocations: 22.31 kB / 0.7222 GB, free: 21.85 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 7.29e-05/0.4866, allocations: 31.05 kB / 0.7222 GB, free: 21.85 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 2.691e-05/0.4866, allocations: 15.27 kB / 0.7222 GB, free: 21.84 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 8.107e-05/0.4867, allocations: 77.69 kB / 0.7223 GB, free: 21.8 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0002527/0.4869, allocations: 228.2 kB / 0.7225 GB, free: 21.72 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.4869, allocations: 0 / 0.7225 GB, free: 21.72 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.613e-06/0.4869, allocations: 1.156 kB / 0.7225 GB, free: 21.72 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.133e-06/0.4869, allocations: 4 kB / 0.7225 GB, free: 21.72 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.0004309/0.4874, allocations: 426.1 kB / 0.7229 GB, free: 21.32 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.068e-05/0.4874, allocations: 11.81 kB / 0.7229 GB, free: 21.32 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.929e-05/0.4875, allocations: 16.25 kB / 0.723 GB, free: 21.32 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.577e-05/0.4875, allocations: 119.7 kB / 0.7231 GB, free: 21.18 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.171e-05/0.4876, allocations: 8.219 kB / 0.7231 GB, free: 21.18 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.034e-05/0.4876, allocations: 14.89 kB / 0.7231 GB, free: 21.18 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001054/0.4877, allocations: 55.66 kB / 0.7231 GB, free: 21.14 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.4877, allocations: 9.016 kB / 0.7232 GB, free: 21.14 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.012e-05/0.4877, allocations: 0.7969 kB / 0.7232 GB, free: 21.14 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.4877, allocations: 5.719 kB / 0.7232 GB, free: 21.13 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.737e-05/0.4878, allocations: 25.03 kB / 0.7232 GB, free: 21.12 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004067/0.4882, allocations: 312.7 kB / 0.7235 GB, free: 20.88 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 5.702e-05/0.4882, allocations: 31.81 kB / 0.7235 GB, free: 20.85 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.839e-05/0.4883, allocations: 19.14 kB / 0.7235 GB, free: 20.84 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 9.868e-06/0.4883, allocations: 0 / 0.7235 GB, free: 20.84 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001723/0.4884, allocations: 110.4 kB / 0.7236 GB, free: 20.77 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=10): time 1.333e-06/0.4884, allocations: 0 / 0.7236 GB, free: 20.77 MB / 0.6355 GB Notification: Performance of matching and sorting (n=10): time 0.0002633/0.4887, allocations: 138.7 kB / 0.7238 GB, free: 20.7 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.975e-05/0.4887, allocations: 59.03 kB / 0.7238 GB, free: 20.64 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.993e-05/0.4888, allocations: 140 kB / 0.724 GB, free: 20.52 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.661e-05/0.4888, allocations: 36.22 kB / 0.724 GB, free: 20.48 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.29e-05/0.4889, allocations: 98.09 kB / 0.7241 GB, free: 20.39 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.557e-05/0.4889, allocations: 25.14 kB / 0.7241 GB, free: 20.38 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.522e-05/0.489, allocations: 67.25 kB / 0.7242 GB, free: 20.35 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.642e-05/0.489, allocations: 321.5 kB / 0.7245 GB, free: 20.03 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001673/0.4892, allocations: 179.3 kB / 0.7247 GB, free: 19.9 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001672/0.4894, allocations: 227.1 kB / 0.7249 GB, free: 19.71 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001777/0.4895, allocations: 242.3 kB / 0.7251 GB, free: 19.51 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.4895, allocations: 4.938 kB / 0.7251 GB, free: 19.5 MB / 0.6355 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.000461/0.49, allocations: 474.4 kB / 0.7256 GB, free: 19.19 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 4.746e-05/0.49, allocations: 101.6 kB / 0.7257 GB, free: 19.09 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/0.49, allocations: 2.219 kB / 0.7257 GB, free: 19.09 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.631e-05/0.4901, allocations: 6.594 kB / 0.7257 GB, free: 19.09 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.199e-05/0.4901, allocations: 4.703 kB / 0.7257 GB, free: 19.09 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.873e-06/0.4901, allocations: 2.281 kB / 0.7257 GB, free: 19.09 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003097/0.4904, allocations: 84.58 kB / 0.7257 GB, free: 19.07 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.115e-05/0.4904, allocations: 18.91 kB / 0.7258 GB, free: 19.07 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.812e-05/0.4905, allocations: 142.3 kB / 0.7259 GB, free: 18.94 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.088e-05/0.4905, allocations: 7.234 kB / 0.7259 GB, free: 18.94 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.365e-05/0.4906, allocations: 11.42 kB / 0.7259 GB, free: 18.93 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.4906, allocations: 1.375 kB / 0.7259 GB, free: 18.93 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.4906, allocations: 1.406 kB / 0.7259 GB, free: 18.93 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.4906, allocations: 0.75 kB / 0.7259 GB, free: 18.93 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.012e-05/0.4906, allocations: 130 kB / 0.726 GB, free: 18.79 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.4906, allocations: 1.438 kB / 0.726 GB, free: 18.79 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.476e-06/0.4907, allocations: 2.641 kB / 0.7261 GB, free: 18.79 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.4907, allocations: 0 / 0.7261 GB, free: 18.79 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.947e-06/0.4907, allocations: 11.22 kB / 0.7261 GB, free: 18.79 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.305e-06/0.4907, allocations: 1.844 kB / 0.7261 GB, free: 18.79 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.4907, allocations: 0 / 0.7261 GB, free: 18.79 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001432/0.4908, allocations: 140.8 kB / 0.7262 GB, free: 18.69 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 1.003e-05/0.4908, allocations: 12.02 kB / 0.7262 GB, free: 18.68 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.352e-05/0.4908, allocations: 5.734 kB / 0.7262 GB, free: 18.68 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.75e-05/0.4909, allocations: 1.688 kB / 0.7262 GB, free: 18.68 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.04e-05/0.4909, allocations: 11.33 kB / 0.7262 GB, free: 18.68 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.496e-06/0.4909, allocations: 4.5 kB / 0.7262 GB, free: 18.68 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.318e-05/0.4909, allocations: 95.47 kB / 0.7263 GB, free: 18.6 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6e-08/0.4909, allocations: 0 / 0.7263 GB, free: 18.6 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001869/0.4911, allocations: 56.92 kB / 0.7264 GB, free: 18.58 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.0001212/0.4912, allocations: 104.3 kB / 0.7265 GB, free: 18.49 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0003358/0.4916, allocations: 413.5 kB / 0.7269 GB, free: 18.15 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.4916, allocations: 0 / 0.7269 GB, free: 18.15 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 4.468e-05/0.4916, allocations: 35.97 kB / 0.7269 GB, free: 18.14 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002042/0.4918, allocations: 35.19 kB / 0.7269 GB, free: 18.12 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003135/0.4921, allocations: 188.7 kB / 0.7271 GB, free: 17.97 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.068e-05/0.4922, allocations: 84.94 kB / 0.7272 GB, free: 17.89 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 2.901e-05/0.4922, allocations: 9.531 kB / 0.7272 GB, free: 17.89 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.039e-05/0.4922, allocations: 13.58 kB / 0.7272 GB, free: 17.88 MB / 0.6355 GB Notification: Performance of SimCode: time 8.92e-07/0.4922, allocations: 0 / 0.7272 GB, free: 17.88 MB / 0.6355 GB Notification: Performance of Templates: time 0.005094/0.4973, allocations: 2.944 MB / 0.7301 GB, free: 17.53 MB / 0.6355 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Switch.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Switch.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Switch.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Switch.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Switch.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Switch -abortSlowSimulation -alarm=480 -s gbode -gbnls=internal -gberr=embedded -gbm=radauIIA3 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Switch.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.221686888951808] Failed to read output from testmodel.py, exit status != 0: 0.5034699270036072 0.5132866939999999 0.024059792 Calling exit ...