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.0007768/0.0007768, allocations: 80.44 kB / 19.91 MB, free: 4 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.0008526/0.0008526, allocations: 169.2 kB / 23.19 MB, free: 1.371 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.8822/0.8822, allocations: 177.2 MB / 203.6 MB, free: 5.781 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.7288/0.7288, allocations: 154.9 MB / 414.9 MB, free: 0.5078 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.0009732/0.0009732, allocations: 70.77 kB / 0.6199 GB, free: 12.82 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.4928/0.4938, allocations: 102 MB / 0.7194 GB, free: 23.45 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Switch): time 0.001527/0.4953, allocations: 0.6683 MB / 0.7201 GB, free: 23.04 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.001396/0.4967, allocations: 1.287 MB / 0.7214 GB, free: 22.12 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.826e-05/0.4968, allocations: 1.094 kB / 0.7214 GB, free: 22.12 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 3.465e-05/0.4968, allocations: 8.578 kB / 0.7214 GB, free: 22.11 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 8.328e-05/0.4969, allocations: 26.06 kB / 0.7214 GB, free: 22.09 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006839/0.4976, allocations: 311.6 kB / 0.7217 GB, free: 21.94 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0002906/0.4979, allocations: 261.8 kB / 0.7219 GB, free: 21.82 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001191/0.498, allocations: 11.02 kB / 0.7219 GB, free: 21.82 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001875/0.4982, allocations: 139.2 kB / 0.7221 GB, free: 21.76 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001737/0.4983, allocations: 90.47 kB / 0.7222 GB, free: 21.72 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 4.132e-05/0.4984, allocations: 22.41 kB / 0.7222 GB, free: 21.72 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 8.588e-05/0.4985, allocations: 29.97 kB / 0.7222 GB, free: 21.72 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 3.257e-05/0.4985, allocations: 16.61 kB / 0.7222 GB, free: 21.71 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 9.486e-05/0.4986, allocations: 77.48 kB / 0.7223 GB, free: 21.68 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0003131/0.4989, allocations: 269.9 kB / 0.7226 GB, free: 21.58 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.227e-06/0.4989, allocations: 0 / 0.7226 GB, free: 21.58 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.834e-06/0.4989, allocations: 3.938 kB / 0.7226 GB, free: 21.57 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.603e-06/0.4989, allocations: 0 / 0.7226 GB, free: 21.57 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.0004507/0.4994, allocations: 426.4 kB / 0.723 GB, free: 21.18 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.254e-05/0.4994, allocations: 9.656 kB / 0.723 GB, free: 21.18 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.849e-05/0.4995, allocations: 20.16 kB / 0.723 GB, free: 21.17 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.792e-05/0.4995, allocations: 129.3 kB / 0.7231 GB, free: 21.03 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.655e-05/0.4996, allocations: 11.75 kB / 0.7231 GB, free: 21.03 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.095e-05/0.4996, allocations: 17.16 kB / 0.7232 GB, free: 21.02 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000111/0.4997, allocations: 56.27 kB / 0.7232 GB, free: 20.98 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.809e-06/0.4997, allocations: 5.609 kB / 0.7232 GB, free: 20.98 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.041e-05/0.4997, allocations: 0.6094 kB / 0.7232 GB, free: 20.98 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.4997, allocations: 1.094 kB / 0.7232 GB, free: 20.98 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.198e-05/0.4998, allocations: 17.62 kB / 0.7232 GB, free: 20.98 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004008/0.5002, allocations: 313.6 kB / 0.7235 GB, free: 20.73 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 5.909e-05/0.5002, allocations: 36.3 kB / 0.7236 GB, free: 20.7 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.828e-05/0.5003, allocations: 21.39 kB / 0.7236 GB, free: 20.68 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.038e-05/0.5003, allocations: 1.812 kB / 0.7236 GB, free: 20.68 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001624/0.5004, allocations: 101 kB / 0.7237 GB, free: 20.62 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=10): time 1.282e-06/0.5004, allocations: 0 / 0.7237 GB, free: 20.62 MB / 0.6355 GB Notification: Performance of matching and sorting (n=10): time 0.0002574/0.5007, allocations: 143.4 kB / 0.7238 GB, free: 20.55 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.08e-05/0.5007, allocations: 54.8 kB / 0.7239 GB, free: 20.49 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.369e-05/0.5008, allocations: 136.3 kB / 0.724 GB, free: 20.38 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.546e-05/0.5008, allocations: 33.42 kB / 0.724 GB, free: 20.34 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.441e-05/0.5009, allocations: 109.5 kB / 0.7241 GB, free: 20.24 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.531e-05/0.5009, allocations: 21.78 kB / 0.7242 GB, free: 20.23 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.217e-05/0.5009, allocations: 66.55 kB / 0.7242 GB, free: 20.2 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.716e-05/0.501, allocations: 320.9 kB / 0.7245 GB, free: 19.88 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000162/0.5011, allocations: 175.3 kB / 0.7247 GB, free: 19.76 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001671/0.5013, allocations: 232 kB / 0.7249 GB, free: 19.57 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000173/0.5015, allocations: 238 kB / 0.7251 GB, free: 19.36 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.947e-06/0.5015, allocations: 5.062 kB / 0.7251 GB, free: 19.36 MB / 0.6355 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004144/0.5019, allocations: 475.5 kB / 0.7256 GB, free: 19.04 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 4.271e-05/0.5019, allocations: 102.1 kB / 0.7257 GB, free: 18.94 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.151e-06/0.502, allocations: 2.062 kB / 0.7257 GB, free: 18.94 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.466e-05/0.502, allocations: 2.75 kB / 0.7257 GB, free: 18.94 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.057e-05/0.502, allocations: 11.67 kB / 0.7257 GB, free: 18.93 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.013e-05/0.502, allocations: 3.625 kB / 0.7257 GB, free: 18.93 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002829/0.5023, allocations: 83.22 kB / 0.7258 GB, free: 18.92 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.403e-05/0.5023, allocations: 21.56 kB / 0.7258 GB, free: 18.92 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.733e-05/0.5024, allocations: 134.6 kB / 0.7259 GB, free: 18.79 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.038e-05/0.5024, allocations: 8.391 kB / 0.726 GB, free: 18.79 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.319e-05/0.5024, allocations: 15.56 kB / 0.726 GB, free: 18.78 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.5024, allocations: 0.6562 kB / 0.726 GB, free: 18.78 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.5024, allocations: 2.469 kB / 0.726 GB, free: 18.78 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 9.629e-06/0.5024, allocations: 6.609 kB / 0.726 GB, free: 18.77 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.211e-05/0.5024, allocations: 2.125 kB / 0.726 GB, free: 18.77 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.489e-05/0.5025, allocations: 5.719 kB / 0.726 GB, free: 18.77 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.803e-05/0.5025, allocations: 11.2 kB / 0.726 GB, free: 18.77 MB / 0.6355 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001167/0.5026, allocations: 180.4 kB / 0.7262 GB, free: 18.64 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001245/0.5027, allocations: 284.3 kB / 0.7264 GB, free: 18.4 MB / 0.6355 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.852e-05/0.5028, allocations: 25.83 kB / 0.7265 GB, free: 18.39 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.102e-05/0.5028, allocations: 95.47 kB / 0.7266 GB, free: 18.32 MB / 0.6355 GB Notification: Performance of Backend: time 2.4e-07/0.5028, allocations: 4 kB / 0.7266 GB, free: 18.31 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0004988/0.5033, allocations: 472.6 kB / 0.727 GB, free: 17.91 MB / 0.6355 GB Notification: Performance of SimCode: time 0.0003942/0.5037, allocations: 0.6319 MB / 0.7276 GB, free: 17.29 MB / 0.6355 GB Notification: Performance of Templates: time 0.004923/0.5086, allocations: 3.047 MB / 0.7306 GB, free: 16.93 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 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Switch.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.190582716837525] Failed to read output from testmodel.py, exit status != 0: 0.5148471430875361 0.524006608 0.023240492 Calling exit ...